Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 5 | 3 | 0.971 | case |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 127 | libraries/joomla/filter/filterinput.php |
2 | 3 | 131 | libraries/joomla/filter/filterinput.php |
3 | 3 | 140 | libraries/joomla/filter/filterinput.php |
4 | 3 | 164 | libraries/joomla/filter/filterinput.php |
5 | 3 | 226 | libraries/joomla/utilities/arrayhelper.php |
| ||||
case 'WORD' : $result= (string) preg_replace('/[^A-Z_]/i', '', $source); break; |
| ||||
case 'ALNUM' : $result= (string) preg_replace('/[^A-Z0-9]/i', '', $source); break; |
| ||||
case 'BASE64' : $result= (string) preg_replace('/[^A-Z0-9\\/+=]/i','', $source); break; |
| ||||
case 'USERNAME' : $result= (string) preg_replace('/[\\x00-\\x1F\\x7F<>"\'%&]/','',$source); break; |
| ||||
case 'WORD' : $result= (string) preg_replace('#\\W#','', $result); break; |
| |||
case [[#variable21ed47e0]]: $result= (string) preg_replace( [[#variable21ed4780]],'', [[#variable21ed4720]]); break; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#21ed47e0]] | 'USERNAME' |
1 | 2 | [[#21ed47e0]] | 'BASE64' |
1 | 3 | [[#21ed47e0]] | 'ALNUM' |
1 | 4 | [[#21ed47e0]] | 'WORD' |
1 | 5 | [[#21ed47e0]] | 'WORD' |
2 | 1 | [[#21ed4780]] | '/[\\x00-\\x1F\\x7F<>"\'%&]/' |
2 | 2 | [[#21ed4780]] | '/[^A-Z0-9\\/+=]/i' |
2 | 3 | [[#21ed4780]] | '/[^A-Z0-9]/i' |
2 | 4 | [[#21ed4780]] | '/[^A-Z_]/i' |
2 | 5 | [[#21ed4780]] | '#\\W#' |
3 | 1 | [[#21ed4720]] | $source |
3 | 2 | [[#21ed4720]] | $source |
3 | 3 | [[#21ed4720]] | $source |
3 | 4 | [[#21ed4720]] | $source |
3 | 5 | [[#21ed4720]] | $result |