Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 1 | 0.995 | if_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 17 | components/com_contact/router.php |
2 | 5 | 46 | components/com_weblinks/helpers/route.php |
| ||||
// Get the menu items for this component. if (!$items) { $component= &JComponentHelper::getComponent('com_contact'); $menu= &JSite::getMenu(); $items= $menu->getItems('component_id', $component->id); } |
| ||||
if (!$items) { $component= &JComponentHelper::getComponent('com_weblinks'); $menu= &JSite::getMenu(); $items= $menu->getItems('component_id', $component->id); } |
| |||
// Get the menu items for this component. if (!$items) { $component= &JComponentHelper::getComponent( [[#variable237cee00]]); $menu= &JSite::getMenu(); $items=$menu->getItems('component_id',$component->id); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#237cee00]] | 'com_contact' |
1 | 2 | [[#237cee00]] | 'com_weblinks' |