Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 3 | 0.973 | if_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 112 | administrator/components/com_modules/models/module.php |
2 | 4 | 189 | administrator/components/com_modules/views/module/view.html.php |
| ||||
if ($module->module == 'custom') { $xmlpath= JApplicationHelper::getPath($path, 'mod_custom'); } else { $xmlpath= JApplicationHelper::getPath($path, $module->module); } |
| ||||
// xml file for module if ($row->module == 'mod_custom') { $xmlfile= JApplicationHelper::getPath($path, 'mod_custom'); } else { $xmlfile= JApplicationHelper::getPath($path, $row->module); } |
| |||
// xml file for module if ( [[#variable4c1340a0]]->module == [[#variable4c134000]]) { [[#variable4c134040]]=JApplicationHelper::getPath($path,'mod_custom'); } else { [[#variable4c134040]]=JApplicationHelper::getPath($path, [[#variable4c1340a0]]->module); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#4c1340a0]] | $row |
1 | 2 | [[#4c1340a0]] | $module |
2 | 1 | [[#4c134000]] | 'mod_custom' |
2 | 2 | [[#4c134000]] | 'custom' |
3 | 1 | [[#4c134040]] | $xmlfile |
3 | 2 | [[#4c134040]] | $xmlpath |