Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 4 | 0.971 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 274 | libraries/phpxmlrpc/xmlrpcs.php |
2 | 7 | 286 | libraries/phpxmlrpc/xmlrpcs.php |
| ||||
if (!array_key_exists('methodName', $call)) { return _xmlrpcs_multicall_error('nomethod'); } if (!is_string($call['methodName'])) { return _xmlrpcs_multicall_error('notstring'); } |
| ||||
if (!array_key_exists('params', $call)) { return _xmlrpcs_multicall_error('noparams'); } if (!is_array($call['params'])) { return _xmlrpcs_multicall_error('notarray'); } |
| |||
if (!array_key_exists( [[#variable21e7a3c0]],$call)) { return _xmlrpcs_multicall_error( [[#variable233a7440]]); } if (! [[#variable233a6ac0]]($call[ [[#variable21e7a3c0]]])) { return _xmlrpcs_multicall_error( [[#variable233a6d80]]); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#21e7a3c0]] | 'methodName' |
1 | 2 | [[#21e7a3c0]] | 'params' |
2 | 1 | [[#233a7440]] | 'nomethod' |
2 | 2 | [[#233a7440]] | 'noparams' |
3 | 1 | [[#233a6ac0]] | is_string |
3 | 2 | [[#233a6ac0]] | is_array |
4 | 1 | [[#233a6d80]] | 'notstring' |
4 | 2 | [[#233a6d80]] | 'notarray' |