Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
11 | 2 | 0 | 1.000 | switch_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 11 | 65 | plugins/search/categories.php |
2 | 11 | 64 | plugins/search/sections.php |
| ||||
switch ($ordering) { case 'alpha': $order= 'a.name ASC'; break; case 'category': case 'popular': case 'newest': case 'oldest': default : $order= 'a.name DESC'; } |
| ||||
switch ($ordering) { case 'alpha': $order= 'a.name ASC'; break; case 'category': case 'popular': case 'newest': case 'oldest': default : $order= 'a.name DESC'; } |
| |||
switch ($ordering) { case 'alpha': $order='a.name ASC'; break; case 'category': case 'popular': case 'newest': case 'oldest': default : $order='a.name DESC'; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |