Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 2 | 3 | 0.980 | if_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 44 | includes/menu.php |
2 | 3 | 173 | libraries/joomla/application/component/helper.php |
| ||||
if (!($menus= $db->loadObjectList('id'))) { JError::raiseWarning('SOME_ERROR_CODE', "Error loading Menus: " . $db->getErrorMsg()); return FALSE; } |
| ||||
if (!($components= $db->loadObjectList('option'))) { JError::raiseWarning('SOME_ERROR_CODE', "Error loading Components: " . $db->getErrorMsg()); return FALSE; } |
| |||
if (!( [[#variable23aeea20]]=$db->loadObjectList( [[#variable23aee9c0]]))) { JError::raiseWarning('SOME_ERROR_CODE', [[#variable23aee940]] . $db->getErrorMsg()); return FALSE; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#23aeea20]] | $menus |
1 | 2 | [[#23aeea20]] | $components |
2 | 1 | [[#23aee9c0]] | 'id' |
2 | 2 | [[#23aee9c0]] | 'option' |
3 | 1 | [[#23aee940]] | "Error loading Menus: " |
3 | 2 | [[#23aee940]] | "Error loading Components: " |