Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 3 | 0.988 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 87 | administrator/components/com_installer/models/modules.php |
2 | 7 | 102 | administrator/components/com_installer/models/plugins.php |
| ||||
// xml file for module $xmlfile= $moduleBaseDir . DS . $row->module . DS . $row->module . ".xml"; if (file_exists($xmlfile)) { if ($data= JApplicationHelper::parseXMLInstallFile($xmlfile)) { foreach ($data as $key => $value) { $row->$key= $value; } } } |
| ||||
// Get the plugin xml file $xmlfile= $baseDir . DS . $row->folder . DS . $row->element . ".xml"; if (file_exists($xmlfile)) { if ($data= JApplicationHelper::parseXMLInstallFile($xmlfile)) { foreach ($data as $key => $value) { $row->$key= $value; } } } |
| |||
// xml file for module // Get the plugin xml file $xmlfile= [[#variable489c3f80]] . DS . $row-> [[#variable489c3f00]] . DS . $row-> [[#variable489c3ee0]] . ".xml"; if (file_exists($xmlfile)) { if ($data=JApplicationHelper::parseXMLInstallFile($xmlfile)) { foreach ($data as $key => $value) { $row->$key=$value; } } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#489c3f80]] | $moduleBaseDir |
1 | 2 | [[#489c3f80]] | $baseDir |
2 | 1 | [[#489c3f00]] | module |
2 | 2 | [[#489c3f00]] | folder |
3 | 1 | [[#489c3ee0]] | module |
3 | 2 | [[#489c3ee0]] | element |