Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 3 | 0.976 | statement_sequence[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 48 | administrator/components/com_installer/views/manage/view.php |
2 | 4 | 58 | administrator/components/com_installer/views/manage/view.php |
| ||||
$dbo->setQuery('SELECT DISTINCT type FROM #__extensions'); $type_list= $dbo->loadObjectList(); $item->type = 'All'; // will get translated below array_unshift($type_list, $item); |
| ||||
$dbo->setQuery('SELECT DISTINCT CASE `folder` WHEN "" THEN "N/A" ELSE `folder` END AS folder from #__extensions'); $folder_list= $dbo->loadObjectList(); $item->folder = 'All'; // will get translated below array_unshift($folder_list, $item); |
| |||
$dbo->setQuery( [[#variable452ab480]]); [[#variable452aa720]]=$dbo->loadObjectList(); $item-> [[#variable452ab5e0]]='All'; // will get translated below array_unshift( [[#variable452aa720]],$item); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#452ab480]] | 'SELECT DISTINCT type FROM #__extensions' |
1 | 2 | [[#452ab480]] | 'SELECT DISTINCT CASE `folder` WHEN "" THEN "N/A" ELSE `folder` END AS folder from #__extensions' |
2 | 1 | [[#452aa720]] | $type_list |
2 | 2 | [[#452aa720]] | $folder_list |
3 | 1 | [[#452ab5e0]] | type |
3 | 2 | [[#452ab5e0]] | folder |