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.968 | additive_expression |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 60 | administrator/components/com_templates/helpers/template.php |
2 | 3 | 272 | libraries/joomla/installer/adapters/template.php |
| ||||
// check if template is assigned $query= 'SELECT COUNT(*) FROM #__menu_template' . ' WHERE template = ' . $db->Quote($template) . ' AND client_id = ' . $db->Quote($client_id) |
| ||||
$query= 'DELETE FROM #__menu_template' . ' WHERE template = ' . $db->Quote($name) . ' AND client_id = ' . $db->Quote($clientId) |
| |||
// check if template is assigned $query= [[#variable3c6b4ee0]] . ' WHERE template = ' . $db->Quote( [[#variable3c6b4e80]]) . ' AND client_id = ' . $db->Quote( [[#variable3c6b4e00]]) |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#3c6b4ee0]] | 'SELECT COUNT(*) FROM #__menu_template' |
1 | 2 | [[#3c6b4ee0]] | 'DELETE FROM #__menu_template' |
2 | 1 | [[#3c6b4e80]] | $template |
2 | 2 | [[#3c6b4e80]] | $name |
3 | 1 | [[#3c6b4e00]] | $client_id |
3 | 2 | [[#3c6b4e00]] | $clientId |