Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 2 | 0.993 | statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 57 | libraries/phpxmlrpc/compat/version_compare.php |
2 | 5 | 63 | libraries/phpxmlrpc/compat/version_compare.php |
| ||||
// Standardise versions $v1= explode('.', str_replace('..', '.', preg_replace('/([^0-9\\.]+)/','.$1.', str_replace(array( '-', '_', '+' ), '.',trim($version1))))); |
| ||||
$v2= explode('.', str_replace('..', '.', preg_replace('/([^0-9\\.]+)/','.$1.', str_replace(array( '-', '_', '+' ), '.',trim($version2))))); |
| |||
[[#variable3cfb8ae0]]=explode('.',str_replace('..','.',preg_replace('/([^0-9\\.]+)/','.$1.',str_replace(array( '-', '_', '+' ),'.',trim( [[#variable3cfb8ba0]]))))); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#3cfb8ae0]] | $v2 |
1 | 2 | [[#3cfb8ae0]] | // Standardise versions $v1 |
2 | 1 | [[#3cfb8ba0]] | $version2 |
2 | 2 | [[#3cfb8ba0]] | $version1 |