| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 2 | 23 | 3 | 0.968 | toplevel_statement_sequence[2] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 2 | 165 | libraries/phpxmlrpc/xmlrpc.php |
| 2 | 2 | 167 | libraries/phpxmlrpc/xmlrpc.php |
| 3 | 2 | 169 | libraries/phpxmlrpc/xmlrpc.php |
| 4 | 2 | 171 | libraries/phpxmlrpc/xmlrpc.php |
| 5 | 2 | 173 | libraries/phpxmlrpc/xmlrpc.php |
| 6 | 2 | 175 | libraries/phpxmlrpc/xmlrpc.php |
| 7 | 2 | 177 | libraries/phpxmlrpc/xmlrpc.php |
| 8 | 2 | 179 | libraries/phpxmlrpc/xmlrpc.php |
| 9 | 2 | 181 | libraries/phpxmlrpc/xmlrpc.php |
| 10 | 2 | 183 | libraries/phpxmlrpc/xmlrpc.php |
| 11 | 2 | 185 | libraries/phpxmlrpc/xmlrpc.php |
| 12 | 2 | 187 | libraries/phpxmlrpc/xmlrpc.php |
| 13 | 2 | 190 | libraries/phpxmlrpc/xmlrpc.php |
| 14 | 2 | 192 | libraries/phpxmlrpc/xmlrpc.php |
| 15 | 2 | 194 | libraries/phpxmlrpc/xmlrpc.php |
| 16 | 2 | 196 | libraries/phpxmlrpc/xmlrpc.php |
| 17 | 2 | 198 | libraries/phpxmlrpc/xmlrpc.php |
| 18 | 2 | 200 | libraries/phpxmlrpc/xmlrpc.php |
| 19 | 2 | 203 | libraries/phpxmlrpc/xmlrpc.php |
| 20 | 2 | 205 | libraries/phpxmlrpc/xmlrpc.php |
| 21 | 2 | 207 | libraries/phpxmlrpc/xmlrpc.php |
| 22 | 2 | 209 | libraries/phpxmlrpc/xmlrpc.php |
| 23 | 2 | 211 | libraries/phpxmlrpc/xmlrpc.php |
| ||||
/// @todo add to iso table the characters from cp_1252 range, i.e. 128 to 159.
/// These will NOT be present in true ISO-8859-1, but will save the unwary
/// windows user from sending junk.
/*
$cp1252_to_xmlent =
array(
'\x80'=>'€', '\x81'=>'?', '\x82'=>'‚', '\x83'=>'ƒ',
'\x84'=>'„', '\x85'=>'…', '\x86'=>'†', \x87'=>'‡',
'\x88'=>'ˆ', '\x89'=>'‰', '\x8A'=>'Š', '\x8B'=>'‹',
'\x8C'=>'Œ', '\x8D'=>'?', '\x8E'=>'Ž', '\x8F'=>'?',
'\x90'=>'?', '\x91'=>'‘', '\x92'=>'’', '\x93'=>'“',
'\x94'=>'”', '\x95'=>'•', '\x96'=>'–', '\x97'=>'—',
'\x98'=>'˜', '\x99'=>'™', '\x9A'=>'š', '\x9B'=>'›',
'\x9C'=>'œ', '\x9D'=>'?', '\x9E'=>'ž', '\x9F'=>'Ÿ'
);
*/
$GLOBALS['xmlrpcerr']['unknown_method']=1;
$GLOBALS['xmlrpcstr']['unknown_method']='Unknown method';
|
| ||||
$GLOBALS['xmlrpcerr']['invalid_return']=2;
$GLOBALS['xmlrpcstr']['invalid_return']='Invalid return payload: enable debugging to examine incoming payload';
|
| ||||
$GLOBALS['xmlrpcerr']['incorrect_params']=3;
$GLOBALS['xmlrpcstr']['incorrect_params']='Incorrect parameters passed to method';
|
| ||||
$GLOBALS['xmlrpcerr']['introspect_unknown']=4;
$GLOBALS['xmlrpcstr']['introspect_unknown']="Can't introspect: method unknown";
|
| ||||
$GLOBALS['xmlrpcerr']['http_error']=5;
$GLOBALS['xmlrpcstr']['http_error']="Didn't receive 200 OK from remote server.";
|
| ||||
$GLOBALS['xmlrpcerr']['no_data']=6;
$GLOBALS['xmlrpcstr']['no_data']='No data received from server.';
|
| ||||
$GLOBALS['xmlrpcerr']['no_ssl']=7;
$GLOBALS['xmlrpcstr']['no_ssl']='No SSL support compiled in.';
|
| ||||
$GLOBALS['xmlrpcerr']['curl_fail']=8;
$GLOBALS['xmlrpcstr']['curl_fail']='CURL error';
|
| ||||
$GLOBALS['xmlrpcerr']['invalid_request']=15;
$GLOBALS['xmlrpcstr']['invalid_request']='Invalid request payload';
|
| ||||
$GLOBALS['xmlrpcerr']['no_curl']=16;
$GLOBALS['xmlrpcstr']['no_curl']='No CURL support compiled in.';
|
| ||||
$GLOBALS['xmlrpcerr']['server_error']=17;
$GLOBALS['xmlrpcstr']['server_error']='Internal server error';
|
| ||||
$GLOBALS['xmlrpcerr']['multicall_error']=18;
$GLOBALS['xmlrpcstr']['multicall_error']='Received from server invalid multicall response';
|
| ||||
$GLOBALS['xmlrpcerr']['multicall_notstruct']= 9;
$GLOBALS['xmlrpcstr']['multicall_notstruct']= 'system.multicall expected struct';
|
| ||||
$GLOBALS['xmlrpcerr']['multicall_nomethod']= 10;
$GLOBALS['xmlrpcstr']['multicall_nomethod']= 'missing methodName';
|
| ||||
$GLOBALS['xmlrpcerr']['multicall_notstring']= 11;
$GLOBALS['xmlrpcstr']['multicall_notstring']= 'methodName is not a string';
|
| ||||
$GLOBALS['xmlrpcerr']['multicall_recursion']= 12;
$GLOBALS['xmlrpcstr']['multicall_recursion']= 'recursive system.multicall forbidden';
|
| ||||
$GLOBALS['xmlrpcerr']['multicall_noparams']= 13;
$GLOBALS['xmlrpcstr']['multicall_noparams']= 'missing params';
|
| ||||
$GLOBALS['xmlrpcerr']['multicall_notarray']= 14;
$GLOBALS['xmlrpcstr']['multicall_notarray']= 'params is not an array';
|
| ||||
$GLOBALS['xmlrpcerr']['cannot_decompress']=103;
$GLOBALS['xmlrpcstr']['cannot_decompress']='Received from server compressed HTTP and cannot decompress';
|
| ||||
$GLOBALS['xmlrpcerr']['decompress_fail']=104;
$GLOBALS['xmlrpcstr']['decompress_fail']='Received from server invalid compressed HTTP';
|
| ||||
$GLOBALS['xmlrpcerr']['dechunk_fail']=105;
$GLOBALS['xmlrpcstr']['dechunk_fail']='Received from server invalid chunked HTTP';
|
| ||||
$GLOBALS['xmlrpcerr']['server_cannot_decompress']=106;
$GLOBALS['xmlrpcstr']['server_cannot_decompress']='Received from client compressed HTTP request and cannot decompress';
|
| ||||
$GLOBALS['xmlrpcerr']['server_decompress_fail']=107;
$GLOBALS['xmlrpcstr']['server_decompress_fail']='Received from client invalid compressed HTTP request';
|
| |||
/// @todo add to iso table the characters from cp_1252 range, i.e. 128 to 159. /// These will NOT be present in true ISO-8859-1, but will save the unwary /// windows user from sending junk. /* $cp1252_to_xmlent = array( '\x80'=>'€', '\x81'=>'?', '\x82'=>'‚', '\x83'=>'ƒ', '\x84'=>'„', '\x85'=>'…', '\x86'=>'†', \x87'=>'‡', '\x88'=>'ˆ', '\x89'=>'‰', '\x8A'=>'Š', '\x8B'=>'‹', '\x8C'=>'Œ', '\x8D'=>'?', '\x8E'=>'Ž', '\x8F'=>'?', '\x90'=>'?', '\x91'=>'‘', '\x92'=>'’', '\x93'=>'“', '\x94'=>'”', '\x95'=>'•', '\x96'=>'–', '\x97'=>'—', '\x98'=>'˜', '\x99'=>'™', '\x9A'=>'š', '\x9B'=>'›', '\x9C'=>'œ', '\x9D'=>'?', '\x9E'=>'ž', '\x9F'=>'Ÿ' ); */ $GLOBALS['xmlrpcerr'][ [[#variable5257fb00]]]= [[#variable540c8000]]; $GLOBALS['xmlrpcstr'][ [[#variable5257fb00]]]= [[#variable5389c300]]; |
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#5257fb00]] | 'server_decompress_fail' |
| 1 | 2 | [[#5257fb00]] | 'server_cannot_decompress' |
| 1 | 3 | [[#5257fb00]] | 'multicall_notarray' |
| 1 | 4 | [[#5257fb00]] | 'multicall_noparams' |
| 1 | 5 | [[#5257fb00]] | 'multicall_recursion' |
| 1 | 6 | [[#5257fb00]] | 'multicall_notstring' |
| 1 | 7 | [[#5257fb00]] | 'multicall_nomethod' |
| 1 | 8 | [[#5257fb00]] | 'multicall_notstruct' |
| 1 | 9 | [[#5257fb00]] | 'server_error' |
| 1 | 10 | [[#5257fb00]] | 'invalid_request' |
| 1 | 11 | [[#5257fb00]] | 'introspect_unknown' |
| 1 | 12 | [[#5257fb00]] | 'incorrect_params' |
| 1 | 13 | [[#5257fb00]] | 'unknown_method' |
| 1 | 14 | [[#5257fb00]] | 'dechunk_fail' |
| 1 | 15 | [[#5257fb00]] | 'multicall_error' |
| 1 | 16 | [[#5257fb00]] | 'decompress_fail' |
| 1 | 17 | [[#5257fb00]] | 'no_curl' |
| 1 | 18 | [[#5257fb00]] | 'cannot_decompress' |
| 1 | 19 | [[#5257fb00]] | 'curl_fail' |
| 1 | 20 | [[#5257fb00]] | 'no_ssl' |
| 1 | 21 | [[#5257fb00]] | 'no_data' |
| 1 | 22 | [[#5257fb00]] | 'http_error' |
| 1 | 23 | [[#5257fb00]] | 'invalid_return' |
| 2 | 1 | [[#540c8000]] | 107 |
| 2 | 2 | [[#540c8000]] | 106 |
| 2 | 3 | [[#540c8000]] | 14 |
| 2 | 4 | [[#540c8000]] | 13 |
| 2 | 5 | [[#540c8000]] | 12 |
| 2 | 6 | [[#540c8000]] | 11 |
| 2 | 7 | [[#540c8000]] | 10 |
| 2 | 8 | [[#540c8000]] | 9 |
| 2 | 9 | [[#540c8000]] | 17 |
| 2 | 10 | [[#540c8000]] | 15 |
| 2 | 11 | [[#540c8000]] | 4 |
| 2 | 12 | [[#540c8000]] | 3 |
| 2 | 13 | [[#540c8000]] | 1 |
| 2 | 14 | [[#540c8000]] | 105 |
| 2 | 15 | [[#540c8000]] | 18 |
| 2 | 16 | [[#540c8000]] | 104 |
| 2 | 17 | [[#540c8000]] | 16 |
| 2 | 18 | [[#540c8000]] | 103 |
| 2 | 19 | [[#540c8000]] | 8 |
| 2 | 20 | [[#540c8000]] | 7 |
| 2 | 21 | [[#540c8000]] | 6 |
| 2 | 22 | [[#540c8000]] | 5 |
| 2 | 23 | [[#540c8000]] | 2 |
| 3 | 1 | [[#5389c300]] | 'Received from client invalid compressed HTTP request' |
| 3 | 2 | [[#5389c300]] | 'Received from client compressed HTTP request and cannot decompress' |
| 3 | 3 | [[#5389c300]] | 'params is not an array' |
| 3 | 4 | [[#5389c300]] | 'missing params' |
| 3 | 5 | [[#5389c300]] | 'recursive system.multicall forbidden' |
| 3 | 6 | [[#5389c300]] | 'methodName is not a string' |
| 3 | 7 | [[#5389c300]] | 'missing methodName' |
| 3 | 8 | [[#5389c300]] | 'system.multicall expected struct' |
| 3 | 9 | [[#5389c300]] | 'Internal server error' |
| 3 | 10 | [[#5389c300]] | 'Invalid request payload' |
| 3 | 11 | [[#5389c300]] | "Can't introspect: method unknown" |
| 3 | 12 | [[#5389c300]] | 'Incorrect parameters passed to method' |
| 3 | 13 | [[#5389c300]] | 'Unknown method' |
| 3 | 14 | [[#5389c300]] | 'Received from server invalid chunked HTTP' |
| 3 | 15 | [[#5389c300]] | 'Received from server invalid multicall response' |
| 3 | 16 | [[#5389c300]] | 'Received from server invalid compressed HTTP' |
| 3 | 17 | [[#5389c300]] | 'No CURL support compiled in.' |
| 3 | 18 | [[#5389c300]] | 'Received from server compressed HTTP and cannot decompress' |
| 3 | 19 | [[#5389c300]] | 'CURL error' |
| 3 | 20 | [[#5389c300]] | 'No SSL support compiled in.' |
| 3 | 21 | [[#5389c300]] | 'No data received from server.' |
| 3 | 22 | [[#5389c300]] | "Didn't receive 200 OK from remote server." |
| 3 | 23 | [[#5389c300]] | 'Invalid return payload: enable debugging to examine incoming payload' |