Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 1 | 0.969 | if_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 100 | libraries/phpxmlrpc/compat/version_compare.php |
2 | 4 | 105 | libraries/phpxmlrpc/compat/version_compare.php |
| ||||
// We use the position of '#' in the versions list // for numbers... (so take care of # in original string) if ($i1 == '#') { $i1= ''; } elseif (is_numeric($i1)) { $i1= '#'; } |
| ||||
if ($i2 == '#') { $i2= ''; } elseif (is_numeric($i2)) { $i2= '#'; } |
| |||
// We use the position of '#' in the versions list // for numbers... (so take care of # in original string) if ( [[#variable5387eb80]]== '#') { [[#variable5387eb80]]=''; } elseif (is_numeric( [[#variable5387eb80]])) { [[#variable5387eb80]]='#'; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5387eb80]] | $i2 |
1 | 2 | [[#5387eb80]] | $i1 |