Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
10 | 2 | 2 | 0.991 | statement_sequence[6] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 10 | 37 | libraries/joomla/form/fields/componentlayouts.php |
2 | 10 | 34 | libraries/joomla/html/parameter/element/componentlayouts.php |
| ||||
$path1= NULL; $path2= NULL; // Load template entries for each menuid $db= & JFactory::getDBO(); $query= 'SELECT template' . ' FROM #__menu_template' . ' WHERE client_id = 0 AND home = 1'; $db->setQuery($query); $template= $db->loadResult(); |
| ||||
$path1= NULL; $path2= NULL; // Load template entries for each menuid $db= & JFactory::getDBO(); $query= 'SELECT template' . ' FROM #__templates_menu' . ' WHERE client_id = 0 AND menuid = 0'; $db->setQuery($query); $template= $db->loadResult(); |
| |||
$path1=NULL; $path2=NULL; // Load template entries for each menuid $db= &JFactory::getDBO(); $query='SELECT template' . [[#variable51fa33e0]] . [[#variable51fa3560]]; $db->setQuery($query); $template=$db->loadResult(); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#51fa33e0]] | ' FROM #__menu_template' |
1 | 2 | [[#51fa33e0]] | ' FROM #__templates_menu' |
2 | 1 | [[#51fa3560]] | ' WHERE client_id = 0 AND home = 1' |
2 | 2 | [[#51fa3560]] | ' WHERE client_id = 0 AND menuid = 0' |