Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
13 | 2 | 4 | 0.981 | statement_sequence[6] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 13 | 103 | administrator/components/com_installer/models/components.php |
2 | 13 | 42 | administrator/components/com_installer/models/discover.php |
| ||||
global $mainframe, $option; jimport('joomla.filesystem.folder'); /* Get a database connector */ $db= &JFactory::getDbo(); $query= 'SELECT *' . ' FROM #__components' . ' WHERE parent = 0' . ' ORDER BY iscore, name'; $db->setQuery($query); $rows= $db->loadObjectList(); |
| ||||
global $mainframe, $option; jimport('joomla.filesystem.folder'); /* Get a database connector */ $db= & JFactory::getDBO(); $query= 'SELECT *' . ' FROM #__extensions' . ' WHERE state = -1' . ' ORDER BY type, client_id, folder, name'; $db->setQuery($query); $rows= $db->loadObjectList(); |
| |||
global $mainframe,$option; jimport('joomla.filesystem.folder'); /* Get a database connector */ $db= &JFactory:: [[#variable2521d7a0]](); $query='SELECT *' . [[#variable2521d740]] . [[#variable2521d640]] . [[#variable2521d680]]; $db->setQuery($query); $rows=$db->loadObjectList(); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#2521d7a0]] | getDbo |
1 | 2 | [[#2521d7a0]] | getDBO |
2 | 1 | [[#2521d740]] | ' FROM #__components' |
2 | 2 | [[#2521d740]] | ' FROM #__extensions' |
3 | 1 | [[#2521d640]] | ' WHERE parent = 0' |
3 | 2 | [[#2521d640]] | ' WHERE state = -1' |
4 | 1 | [[#2521d680]] | ' ORDER BY iscore, name' |
4 | 2 | [[#2521d680]] | ' ORDER BY type, client_id, folder, name' |