Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
13 | 2 | 1 | 0.994 | switch_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 13 | 262 | administrator/components/com_modules/controller.php |
2 | 13 | 196 | administrator/components/com_plugins/controller.php |
| ||||
switch ($task) { case 'accesspublic': $access= 0; break; case 'accessregistered': $access= 1; break; case 'accessspecial': $access= 2; break; } |
| ||||
switch ( $access) { case 'accesspublic': $access= 0; break; case 'accessregistered': $access= 1; break; case 'accessspecial': $access= 2; break; } |
| |||
switch ( [[#variable22ac54c0]]) { case 'accesspublic': $access=0; break; case 'accessregistered': $access=1; break; case 'accessspecial': $access=2; break; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#22ac54c0]] | $task |
1 | 2 | [[#22ac54c0]] | $access |