CloneSet924


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
2250.974class_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1249
plugins/installer/example/example.php
2257
plugins/installer/example/example.php
Clone Instance
1
Line Count
2
Source Line
49
Source File
plugins/installer/example/example.php

        function onAfterExtensionInstall($installer, $eid) {
                JError::raiseWarning(-1, 'plgInstallerExample::onAfterExtensionInstall: '
                                         .                                                 ($eid === FALSE
                                                                                            ?                'Failed extension install: '
                                                                                                             .                             $installer->getError()
                                                                                            :                                                                       'Extension install successful')
                                         .                                                                                                                                                            ($eid
                                                                                                                                                                                                       ?      ' with new extension ID '
                                                                                                                                                                                                              .                          $eid
                                                                                                                                                                                                       :                                        ' with no extension ID detected or multiple extension IDs assigned'));
              }


Clone Instance
2
Line Count
2
Source Line
57
Source File
plugins/installer/example/example.php

        function onAfterExtensionUpdate($installer, $eid) {
                JError::raiseWarning(-1, 'plgInstallerExample::onAfterExtensionUpdate: '
                                         .                                                ($eid === FALSE
                                                                                           ?                'Failed extension update: '
                                                                                                            .                            $installer->getError()
                                                                                           :                                                                      'Extension update successful')
                                         .                                                                                                                                                         ($eid
                                                                                                                                                                                                    ?      ' with updated extension ID '
                                                                                                                                                                                                           .                              $eid
                                                                                                                                                                                                    :                                            ' with no extension ID detected or multiple extension IDs assigned'));
              }


Clone AbstractionParameter Count: 5Parameter Bindings

function [[#variable22df4920]]($installer,$eid) {
  JError::raiseWarning(-1, [[#variable22df4860]]
                          . ($eid === FALSE
                             ? [[#variable22df47e0]]
                              . $installer->getError()
                             : [[#variable22df4740]])
                          . ($eid
                             ? [[#variable22df46c0]]
                              . $eid
                             : ' with no extension ID detected or multiple extension IDs assigned'));
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#22df4920]]
onAfterExtensionUpdate 
12[[#22df4920]]
onAfterExtensionInstall 
21[[#22df4860]]
'plgInstallerExample::onAfterExtensionUpdate: ' 
22[[#22df4860]]
'plgInstallerExample::onAfterExtensionInstall: ' 
31[[#22df47e0]]
'Failed extension update: ' 
32[[#22df47e0]]
'Failed extension install: ' 
41[[#22df4740]]
'Extension update successful' 
42[[#22df4740]]
'Extension install successful' 
51[[#22df46c0]]
' with updated extension ID ' 
52[[#22df46c0]]
' with new extension ID '