CloneSet1292


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4320.978if_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1482
administrator/components/com_plugins/controller.php
24172
administrator/components/com_plugins/controller.php
3451
administrator/components/com_plugins/views/plugin/view.html.php
Clone Instance
1
Line Count
4
Source Line
82
Source File
administrator/components/com_plugins/controller.php

                if ($client == 'admin') {
                        $where=  "client_id=1";
                      }
                else   {
                        $where=  "client_id=0";
                      }


Clone Instance
2
Line Count
4
Source Line
172
Source File
administrator/components/com_plugins/controller.php

                // Currently Unsupported
                if ($client == 'admin') {
                        $where=  "client_id = 1";
                      }
                else   {
                        $where=  "client_id = 0";
                      }


Clone Instance
3
Line Count
4
Source Line
51
Source File
administrator/components/com_plugins/views/plugin/view.html.php

                if ($client == 'admin') {
                        $where=  "client_id='1'";
                      }
                else   {
                        $where=  "client_id='0'";
                      }


Clone AbstractionParameter Count: 2Parameter Bindings

// Currently Unsupported
if ($client == 'admin') {
  $where= [[#variable1efea740]];
}
else {
  $where= [[#variable1efea6e0]];
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1efea740]]
"client_id = 1" 
12[[#1efea740]]
"client_id=1" 
13[[#1efea740]]
"client_id='1'" 
21[[#1efea6e0]]
"client_id = 0" 
22[[#1efea6e0]]
"client_id=0" 
23[[#1efea6e0]]
"client_id='0'"