CloneSet38


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7940.952statement_sequence[7]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
171247
libraries/joomla/installer/adapters/component.php
271258
libraries/joomla/installer/adapters/component.php
37428
libraries/joomla/installer/adapters/language.php
47439
libraries/joomla/installer/adapters/language.php
57290
libraries/joomla/installer/adapters/library.php
67367
libraries/joomla/installer/adapters/module.php
77376
libraries/joomla/installer/adapters/module.php
87295
libraries/joomla/installer/adapters/template.php
97305
libraries/joomla/installer/adapters/template.php
Clone Instance
1
Line Count
7
Source Line
1247
Source File
libraries/joomla/installer/adapters/component.php

                                $extension=  &JTable::getInstance('extension');
                                $extension->set('type', 'component');
                                $extension->set('client_id', 0);
                                $extension->set('element', $component);
                                $extension->set('name', $component);
                                $extension->set('state', -1);
                                $results[]=  $extension;


Clone Instance
2
Line Count
7
Source Line
1258
Source File
libraries/joomla/installer/adapters/component.php

                                $extension=  &JTable::getInstance('extension');
                                $extension->set('type', 'component');
                                $extension->set('client_id', 1);
                                $extension->set('element', $component);
                                $extension->set('name', $component);
                                $extension->set('state', -1);
                                $results[]=  $extension;


Clone Instance
3
Line Count
7
Source Line
428
Source File
libraries/joomla/installer/adapters/language.php

                                $extension=  &JTable::getInstance('extension');
                                $extension->set('type', 'language');
                                $extension->set('client_id', 0);
                                $extension->set('element', $language);
                                $extension->set('name', $language);
                                $extension->set('state', -1);
                                $results[]=  $extension;


Clone Instance
4
Line Count
7
Source Line
439
Source File
libraries/joomla/installer/adapters/language.php

                                $extension=  &JTable::getInstance('extension');
                                $extension->set('type', 'language');
                                $extension->set('client_id', 1);
                                $extension->set('element', $language);
                                $extension->set('name', $language);
                                $extension->set('state', -1);
                                $results[]=  $extension;


Clone Instance
5
Line Count
7
Source Line
290
Source File
libraries/joomla/installer/adapters/library.php

                        $extension=  &JTable::getInstance('extension');
                        $extension->set('type', 'library');
                        $extension->set('client_id', 0);
                        $extension->set('element', $file);
                        $extension->set('name', $file);
                        $extension->set('state', -1);
                        $results[]=  $extension;


Clone Instance
6
Line Count
7
Source Line
367
Source File
libraries/joomla/installer/adapters/module.php

                        $extension=  &JTable::getInstance('extension');
                        $extension->set('type',  'module');
                        $extension->set('client_id', $site_info->id);
                        $extension->set('element', $module);
                        $extension->set('name', $module);
                        $extension->set('state', -1);
                        $results[]=  clone($extension);


Clone Instance
7
Line Count
7
Source Line
376
Source File
libraries/joomla/installer/adapters/module.php

                        $extension=  &JTable::getInstance('extension');
                        $extension->set('type', 'module');
                        $extension->set('client_id', $admin_info->id);
                        $extension->set('element', $module);
                        $extension->set('name', $module);
                        $extension->set('state', -1);
                        $results[]=  clone($extension);


Clone Instance
8
Line Count
7
Source Line
295
Source File
libraries/joomla/installer/adapters/template.php

                        $extension=  &JTable::getInstance('extension');
                        $extension->set('type', 'template');
                        $extension->set('client_id', $site_info->id);
                        $extension->set('element', $template);
                        $extension->set('name', $template);
                        $extension->set('state', -1);
                        $results[]=  $extension;


Clone Instance
9
Line Count
7
Source Line
305
Source File
libraries/joomla/installer/adapters/template.php

                        $extension=  &JTable::getInstance('extension');
                        $extension->set('type', 'template');
                        $extension->set('client_id', $admin_info->id);
                        $extension->set('element', $template);
                        $extension->set('name', $template);
                        $extension->set('state', -1);
                        $results[]=  $extension;


Clone AbstractionParameter Count: 4Parameter Bindings

$extension= &JTable::getInstance('extension');
$extension->set('type', [[#variable4f8ef540]]);
$extension->set('client_id', [[#variable4f8ef420]]);
$extension->set('element', [[#variable4f8ef480]]);
$extension->set('name', [[#variable4f8ef480]]);
$extension->set('state',-1);
$results[]= [[#variable4f8ef460]];
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#4f8ef540]]
'component' 
12[[#4f8ef540]]
'component' 
13[[#4f8ef540]]
'language' 
14[[#4f8ef540]]
'language' 
15[[#4f8ef540]]
'library' 
16[[#4f8ef540]]
'module' 
17[[#4f8ef540]]
'module' 
18[[#4f8ef540]]
'template' 
19[[#4f8ef540]]
'template' 
21[[#4f8ef420]]
1 
22[[#4f8ef420]]
0 
23[[#4f8ef420]]
1 
24[[#4f8ef420]]
0 
25[[#4f8ef420]]
0 
26[[#4f8ef420]]
$admin_info->id 
27[[#4f8ef420]]
$site_info->id 
28[[#4f8ef420]]
$admin_info->id 
29[[#4f8ef420]]
$site_info->id 
31[[#4f8ef480]]
$component 
32[[#4f8ef480]]
$component 
33[[#4f8ef480]]
$language 
34[[#4f8ef480]]
$language 
35[[#4f8ef480]]
$file 
36[[#4f8ef480]]
$module 
37[[#4f8ef480]]
$module 
38[[#4f8ef480]]
$template 
39[[#4f8ef480]]
$template 
41[[#4f8ef460]]
$extension 
42[[#4f8ef460]]
$extension 
43[[#4f8ef460]]
$extension 
44[[#4f8ef460]]
$extension 
45[[#4f8ef460]]
$extension 
46[[#4f8ef460]]
clone($extension) 
47[[#4f8ef460]]
clone($extension) 
48[[#4f8ef460]]
$extension 
49[[#4f8ef460]]
$extension