CloneSet50


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
22330.968toplevel_statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12165
libraries/phpxmlrpc/xmlrpc.php
22167
libraries/phpxmlrpc/xmlrpc.php
32169
libraries/phpxmlrpc/xmlrpc.php
42171
libraries/phpxmlrpc/xmlrpc.php
52173
libraries/phpxmlrpc/xmlrpc.php
62175
libraries/phpxmlrpc/xmlrpc.php
72177
libraries/phpxmlrpc/xmlrpc.php
82179
libraries/phpxmlrpc/xmlrpc.php
92181
libraries/phpxmlrpc/xmlrpc.php
102183
libraries/phpxmlrpc/xmlrpc.php
112185
libraries/phpxmlrpc/xmlrpc.php
122187
libraries/phpxmlrpc/xmlrpc.php
132190
libraries/phpxmlrpc/xmlrpc.php
142192
libraries/phpxmlrpc/xmlrpc.php
152194
libraries/phpxmlrpc/xmlrpc.php
162196
libraries/phpxmlrpc/xmlrpc.php
172198
libraries/phpxmlrpc/xmlrpc.php
182200
libraries/phpxmlrpc/xmlrpc.php
192203
libraries/phpxmlrpc/xmlrpc.php
202205
libraries/phpxmlrpc/xmlrpc.php
212207
libraries/phpxmlrpc/xmlrpc.php
222209
libraries/phpxmlrpc/xmlrpc.php
232211
libraries/phpxmlrpc/xmlrpc.php
Clone Instance
1
Line Count
2
Source Line
165
Source File
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';


Clone Instance
2
Line Count
2
Source Line
167
Source File
libraries/phpxmlrpc/xmlrpc.php

        $GLOBALS['xmlrpcerr']['invalid_return']=2;
        $GLOBALS['xmlrpcstr']['invalid_return']='Invalid return payload: enable debugging to examine incoming payload';


Clone Instance
3
Line Count
2
Source Line
169
Source File
libraries/phpxmlrpc/xmlrpc.php

        $GLOBALS['xmlrpcerr']['incorrect_params']=3;
        $GLOBALS['xmlrpcstr']['incorrect_params']='Incorrect parameters passed to method';


Clone Instance
4
Line Count
2
Source Line
171
Source File
libraries/phpxmlrpc/xmlrpc.php

        $GLOBALS['xmlrpcerr']['introspect_unknown']=4;
        $GLOBALS['xmlrpcstr']['introspect_unknown']="Can't introspect: method unknown";


Clone Instance
5
Line Count
2
Source Line
173
Source File
libraries/phpxmlrpc/xmlrpc.php

        $GLOBALS['xmlrpcerr']['http_error']=5;
        $GLOBALS['xmlrpcstr']['http_error']="Didn't receive 200 OK from remote server.";


Clone Instance
6
Line Count
2
Source Line
175
Source File
libraries/phpxmlrpc/xmlrpc.php

        $GLOBALS['xmlrpcerr']['no_data']=6;
        $GLOBALS['xmlrpcstr']['no_data']='No data received from server.';


Clone Instance
7
Line Count
2
Source Line
177
Source File
libraries/phpxmlrpc/xmlrpc.php

        $GLOBALS['xmlrpcerr']['no_ssl']=7;
        $GLOBALS['xmlrpcstr']['no_ssl']='No SSL support compiled in.';


Clone Instance
8
Line Count
2
Source Line
179
Source File
libraries/phpxmlrpc/xmlrpc.php

        $GLOBALS['xmlrpcerr']['curl_fail']=8;
        $GLOBALS['xmlrpcstr']['curl_fail']='CURL error';


Clone Instance
9
Line Count
2
Source Line
181
Source File
libraries/phpxmlrpc/xmlrpc.php

        $GLOBALS['xmlrpcerr']['invalid_request']=15;
        $GLOBALS['xmlrpcstr']['invalid_request']='Invalid request payload';


Clone Instance
10
Line Count
2
Source Line
183
Source File
libraries/phpxmlrpc/xmlrpc.php

        $GLOBALS['xmlrpcerr']['no_curl']=16;
        $GLOBALS['xmlrpcstr']['no_curl']='No CURL support compiled in.';


Clone Instance
11
Line Count
2
Source Line
185
Source File
libraries/phpxmlrpc/xmlrpc.php

        $GLOBALS['xmlrpcerr']['server_error']=17;
        $GLOBALS['xmlrpcstr']['server_error']='Internal server error';


Clone Instance
12
Line Count
2
Source Line
187
Source File
libraries/phpxmlrpc/xmlrpc.php

        $GLOBALS['xmlrpcerr']['multicall_error']=18;
        $GLOBALS['xmlrpcstr']['multicall_error']='Received from server invalid multicall response';


Clone Instance
13
Line Count
2
Source Line
190
Source File
libraries/phpxmlrpc/xmlrpc.php

        $GLOBALS['xmlrpcerr']['multicall_notstruct']=  9;
        $GLOBALS['xmlrpcstr']['multicall_notstruct']=  'system.multicall expected struct';


Clone Instance
14
Line Count
2
Source Line
192
Source File
libraries/phpxmlrpc/xmlrpc.php

        $GLOBALS['xmlrpcerr']['multicall_nomethod']=   10;
        $GLOBALS['xmlrpcstr']['multicall_nomethod']=   'missing methodName';


Clone Instance
15
Line Count
2
Source Line
194
Source File
libraries/phpxmlrpc/xmlrpc.php

        $GLOBALS['xmlrpcerr']['multicall_notstring']=  11;
        $GLOBALS['xmlrpcstr']['multicall_notstring']=  'methodName is not a string';


Clone Instance
16
Line Count
2
Source Line
196
Source File
libraries/phpxmlrpc/xmlrpc.php

        $GLOBALS['xmlrpcerr']['multicall_recursion']=  12;
        $GLOBALS['xmlrpcstr']['multicall_recursion']=  'recursive system.multicall forbidden';


Clone Instance
17
Line Count
2
Source Line
198
Source File
libraries/phpxmlrpc/xmlrpc.php

        $GLOBALS['xmlrpcerr']['multicall_noparams']=   13;
        $GLOBALS['xmlrpcstr']['multicall_noparams']=   'missing params';


Clone Instance
18
Line Count
2
Source Line
200
Source File
libraries/phpxmlrpc/xmlrpc.php

        $GLOBALS['xmlrpcerr']['multicall_notarray']=   14;
        $GLOBALS['xmlrpcstr']['multicall_notarray']=   'params is not an array';


Clone Instance
19
Line Count
2
Source Line
203
Source File
libraries/phpxmlrpc/xmlrpc.php

        $GLOBALS['xmlrpcerr']['cannot_decompress']=103;
        $GLOBALS['xmlrpcstr']['cannot_decompress']='Received from server compressed HTTP and cannot decompress';


Clone Instance
20
Line Count
2
Source Line
205
Source File
libraries/phpxmlrpc/xmlrpc.php

        $GLOBALS['xmlrpcerr']['decompress_fail']=104;
        $GLOBALS['xmlrpcstr']['decompress_fail']='Received from server invalid compressed HTTP';


Clone Instance
21
Line Count
2
Source Line
207
Source File
libraries/phpxmlrpc/xmlrpc.php

        $GLOBALS['xmlrpcerr']['dechunk_fail']=105;
        $GLOBALS['xmlrpcstr']['dechunk_fail']='Received from server invalid chunked HTTP';


Clone Instance
22
Line Count
2
Source Line
209
Source File
libraries/phpxmlrpc/xmlrpc.php

        $GLOBALS['xmlrpcerr']['server_cannot_decompress']=106;
        $GLOBALS['xmlrpcstr']['server_cannot_decompress']='Received from client compressed HTTP request and cannot decompress';


Clone Instance
23
Line Count
2
Source Line
211
Source File
libraries/phpxmlrpc/xmlrpc.php

        $GLOBALS['xmlrpcerr']['server_decompress_fail']=107;
        $GLOBALS['xmlrpcstr']['server_decompress_fail']='Received from client invalid compressed HTTP request';


Clone AbstractionParameter Count: 3Parameter Bindings

/// @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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5257fb00]]
'server_decompress_fail' 
12[[#5257fb00]]
'server_cannot_decompress' 
13[[#5257fb00]]
'multicall_notarray' 
14[[#5257fb00]]
'multicall_noparams' 
15[[#5257fb00]]
'multicall_recursion' 
16[[#5257fb00]]
'multicall_notstring' 
17[[#5257fb00]]
'multicall_nomethod' 
18[[#5257fb00]]
'multicall_notstruct' 
19[[#5257fb00]]
'server_error' 
110[[#5257fb00]]
'invalid_request' 
111[[#5257fb00]]
'introspect_unknown' 
112[[#5257fb00]]
'incorrect_params' 
113[[#5257fb00]]
'unknown_method' 
114[[#5257fb00]]
'dechunk_fail' 
115[[#5257fb00]]
'multicall_error' 
116[[#5257fb00]]
'decompress_fail' 
117[[#5257fb00]]
'no_curl' 
118[[#5257fb00]]
'cannot_decompress' 
119[[#5257fb00]]
'curl_fail' 
120[[#5257fb00]]
'no_ssl' 
121[[#5257fb00]]
'no_data' 
122[[#5257fb00]]
'http_error' 
123[[#5257fb00]]
'invalid_return' 
21[[#540c8000]]
107 
22[[#540c8000]]
106 
23[[#540c8000]]
14 
24[[#540c8000]]
13 
25[[#540c8000]]
12 
26[[#540c8000]]
11 
27[[#540c8000]]
10 
28[[#540c8000]]
9 
29[[#540c8000]]
17 
210[[#540c8000]]
15 
211[[#540c8000]]
4 
212[[#540c8000]]
3 
213[[#540c8000]]
1 
214[[#540c8000]]
105 
215[[#540c8000]]
18 
216[[#540c8000]]
104 
217[[#540c8000]]
16 
218[[#540c8000]]
103 
219[[#540c8000]]
8 
220[[#540c8000]]
7 
221[[#540c8000]]
6 
222[[#540c8000]]
5 
223[[#540c8000]]
2 
31[[#5389c300]]
'Received from client invalid compressed HTTP request' 
32[[#5389c300]]
'Received from client compressed HTTP request and cannot decompress' 
33[[#5389c300]]
'params is not an array' 
34[[#5389c300]]
'missing params' 
35[[#5389c300]]
'recursive system.multicall forbidden' 
36[[#5389c300]]
'methodName is not a string' 
37[[#5389c300]]
'missing methodName' 
38[[#5389c300]]
'system.multicall expected struct' 
39[[#5389c300]]
'Internal server error' 
310[[#5389c300]]
'Invalid request payload' 
311[[#5389c300]]
"Can't introspect: method unknown" 
312[[#5389c300]]
'Incorrect parameters passed to method' 
313[[#5389c300]]
'Unknown method' 
314[[#5389c300]]
'Received from server invalid chunked HTTP' 
315[[#5389c300]]
'Received from server invalid multicall response' 
316[[#5389c300]]
'Received from server invalid compressed HTTP' 
317[[#5389c300]]
'No CURL support compiled in.' 
318[[#5389c300]]
'Received from server compressed HTTP and cannot decompress' 
319[[#5389c300]]
'CURL error' 
320[[#5389c300]]
'No SSL support compiled in.' 
321[[#5389c300]]
'No data received from server.' 
322[[#5389c300]]
"Didn't receive 200 OK from remote server." 
323[[#5389c300]]
'Invalid return payload: enable debugging to examine incoming payload'