CloneSet1652


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4250.953case
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14242
libraries/joomla/installer/adapters/package.php
24250
libraries/joomla/installer/adapters/package.php
Clone Instance
1
Line Count
4
Source Line
242
Source File
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;


Clone Instance
2
Line Count
4
Source Line
250
Source File
libraries/joomla/installer/adapters/package.php

                        case 'module':
                                $db->setQuery( "SELECT id FROM #__modules WHERE module = '$id' and client_id = '$client'");
                                $result=  $db->loadResult();
                                break;


Clone AbstractionParameter Count: 5Parameter Bindings

case [[#variable523b72e0]]:
  $db->setQuery( [[#variable523b7260]] [[#variable523b71c0]] [[#variable523b7140]] [[#variable523b7080]]'");
  $result=$db->loadResult();
  break;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#523b72e0]]
'module' 
12[[#523b72e0]]
'plugin' 
21[[#523b7260]]
"SELECT id FROM #__modules WHERE module = ' 
22[[#523b7260]]
"SELECT id FROM #__extensions WHERE type = 'plugin' AND folder = ' 
31[[#523b71c0]]
$id 
32[[#523b71c0]]
$group 
41[[#523b7140]]
' and client_id = ' 
42[[#523b7140]]
' AND element = ' 
51[[#523b7080]]
$client 
52[[#523b7080]]
$id