Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
1 | 4 | 3 | 0.964 | statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 1 | 438 | libraries/joomla/filter/filterinput.php |
2 | 1 | 440 | libraries/joomla/filter/filterinput.php |
3 | 1 | 442 | libraries/joomla/filter/filterinput.php |
4 | 1 | 1446 | libraries/joomla/installer/installer.php |
| ||||
// strips unicode, hex, etc $attrSubSet[1]= str_replace('&#', '', $attrSubSet[1]); |
| ||||
// strip normal newline within attr value $attrSubSet[1]= preg_replace('/[\\n\\r]/','',$attrSubSet[1]); |
| ||||
// strip double quotes $attrSubSet[1]= str_replace('"', '', $attrSubSet[1]); |
| ||||
$results[1]= str_replace('./','', $results[1]); // cull any potential prefix |
| |||
[[#variable24f533a0]][1]= [[#variable24f53380]]( [[#variable24f53400]],'', [[#variable24f533a0]][1]); // cull any potential prefix |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#24f533a0]] | // strip double quotes $attrSubSet |
1 | 2 | [[#24f533a0]] | // strip normal newline within attr value $attrSubSet |
1 | 3 | [[#24f533a0]] | // strips unicode, hex, etc $attrSubSet |
1 | 4 | [[#24f533a0]] | $results |
2 | 1 | [[#24f53380]] | str_replace |
2 | 2 | [[#24f53380]] | preg_replace |
2 | 3 | [[#24f53380]] | str_replace |
2 | 4 | [[#24f53380]] | str_replace |
3 | 1 | [[#24f53400]] | '"' |
3 | 2 | [[#24f53400]] | '/[\\n\\r]/' |
3 | 3 | [[#24f53400]] | '&#' |
3 | 4 | [[#24f53400]] | './' |