CloneSet978


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4230.973if_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14112
administrator/components/com_modules/models/module.php
24189
administrator/components/com_modules/views/module/view.html.php
Clone Instance
1
Line Count
4
Source Line
112
Source File
administrator/components/com_modules/models/module.php

                        if ($module->module == 'custom') {
                                $xmlpath=  JApplicationHelper::getPath($path, 'mod_custom');
                              }
                        else   {
                                $xmlpath=  JApplicationHelper::getPath($path, $module->module);
                              }


Clone Instance
2
Line Count
4
Source Line
189
Source File
administrator/components/com_modules/views/module/view.html.php

                // xml file for module
                if ($row->module == 'mod_custom') {
                        $xmlfile=  JApplicationHelper::getPath($path, 'mod_custom');
                      }
                else   {
                        $xmlfile=  JApplicationHelper::getPath($path, $row->module);
                      }


Clone AbstractionParameter Count: 3Parameter Bindings

// xml file for module
if ( [[#variable4c1340a0]]->module == [[#variable4c134000]]) {
   [[#variable4c134040]]=JApplicationHelper::getPath($path,'mod_custom');
}
else {
   [[#variable4c134040]]=JApplicationHelper::getPath($path, [[#variable4c1340a0]]->module);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#4c1340a0]]
$row 
12[[#4c1340a0]]
$module 
21[[#4c134000]]
'mod_custom' 
22[[#4c134000]]
'custom' 
31[[#4c134040]]
$xmlfile 
32[[#4c134040]]
$xmlpath