Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 3 | 2 | 0.978 | if_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 82 | administrator/components/com_plugins/controller.php |
2 | 4 | 172 | administrator/components/com_plugins/controller.php |
3 | 4 | 51 | administrator/components/com_plugins/views/plugin/view.html.php |
| ||||
if ($client == 'admin') { $where= "client_id=1"; } else { $where= "client_id=0"; } |
| ||||
// Currently Unsupported if ($client == 'admin') { $where= "client_id = 1"; } else { $where= "client_id = 0"; } |
| ||||
if ($client == 'admin') { $where= "client_id='1'"; } else { $where= "client_id='0'"; } |
| |||
// Currently Unsupported if ($client == 'admin') { $where= [[#variable1efea740]]; } else { $where= [[#variable1efea6e0]]; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#1efea740]] | "client_id = 1" |
1 | 2 | [[#1efea740]] | "client_id=1" |
1 | 3 | [[#1efea740]] | "client_id='1'" |
2 | 1 | [[#1efea6e0]] | "client_id = 0" |
2 | 2 | [[#1efea6e0]] | "client_id=0" |
2 | 3 | [[#1efea6e0]] | "client_id='0'" |