Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 5 | 0.953 | case |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 242 | libraries/joomla/installer/adapters/package.php |
2 | 4 | 250 | libraries/joomla/installer/adapters/package.php |
| ||||
case 'plugin': $db->setQuery( "SELECT id FROM #__extensions WHERE type = 'plugin' AND folder = '$group' AND element = '$id'"); $result= $db->loadResult(); break; |
| ||||
case 'module': $db->setQuery( "SELECT id FROM #__modules WHERE module = '$id' and client_id = '$client'"); $result= $db->loadResult(); break; |
| |||
case [[#variable523b72e0]]: $db->setQuery( [[#variable523b7260]] [[#variable523b71c0]] [[#variable523b7140]] [[#variable523b7080]]'"); $result=$db->loadResult(); break; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#523b72e0]] | 'module' |
1 | 2 | [[#523b72e0]] | 'plugin' |
2 | 1 | [[#523b7260]] | "SELECT id FROM #__modules WHERE module = ' |
2 | 2 | [[#523b7260]] | "SELECT id FROM #__extensions WHERE type = 'plugin' AND folder = ' |
3 | 1 | [[#523b71c0]] | $id |
3 | 2 | [[#523b71c0]] | $group |
4 | 1 | [[#523b7140]] | ' and client_id = ' |
4 | 2 | [[#523b7140]] | ' AND element = ' |
5 | 1 | [[#523b7080]] | $client |
5 | 2 | [[#523b7080]] | $id |