CloneSet1087


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4230.976statement_sequence[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1448
administrator/components/com_installer/views/manage/view.php
2458
administrator/components/com_installer/views/manage/view.php
Clone Instance
1
Line Count
4
Source Line
48
Source File
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);


Clone Instance
2
Line Count
4
Source Line
58
Source File
administrator/components/com_installer/views/manage/view.php

                $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);


Clone AbstractionParameter Count: 3Parameter Bindings

$dbo->setQuery( [[#variable452ab480]]);
 [[#variable452aa720]]=$dbo->loadObjectList();
$item-> [[#variable452ab5e0]]='All'; // will get translated below
array_unshift( [[#variable452aa720]],$item);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#452ab480]]
'SELECT DISTINCT type FROM #__extensions' 
12[[#452ab480]]
'SELECT DISTINCT CASE `folder` WHEN "" THEN "N/A" ELSE `folder` END AS folder from #__extensions' 
21[[#452aa720]]
$type_list 
22[[#452aa720]]
$folder_list 
31[[#452ab5e0]]
type 
32[[#452ab5e0]]
folder