Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 3 | 2 | 0.988 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 654 | libraries/joomla/application/component/controller.php |
2 | 2 | 682 | libraries/joomla/application/component/controller.php |
3 | 2 | 327 | libraries/joomla/application/component/model.php |
| ||||
// Clean the model name $modelName= preg_replace('/[^A-Z0-9_]/i', '', $name); $classPrefix= preg_replace('/[^A-Z0-9_]/i', '', $prefix); |
| ||||
// Clean the view name $viewName= preg_replace('/[^A-Z0-9_]/i', '', $name); $classPrefix= preg_replace('/[^A-Z0-9_]/i', '', $prefix); |
| ||||
// Clean the model name $name= preg_replace('/[^A-Z0-9_]/i', '', $name); $prefix= preg_replace('/[^A-Z0-9_]/i', '', $prefix); |
| |||
[[#variable22f0d140]]=preg_replace('/[^A-Z0-9_]/i','',$name); [[#variable22f0d1e0]]=preg_replace('/[^A-Z0-9_]/i','',$prefix); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#22f0d140]] | // Clean the model name $name |
1 | 2 | [[#22f0d140]] | // Clean the model name $modelName |
1 | 3 | [[#22f0d140]] | // Clean the view name $viewName |
2 | 1 | [[#22f0d1e0]] | $prefix |
2 | 2 | [[#22f0d1e0]] | $classPrefix |
2 | 3 | [[#22f0d1e0]] | $classPrefix |