CloneSet1227


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7240.966if_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
171535
libraries/phpxmlrpc/xmlrpc.php
271594
libraries/phpxmlrpc/xmlrpc.php
Clone Instance
1
Line Count
7
Source Line
1535
Source File
libraries/phpxmlrpc/xmlrpc.php

                                if (defined( "CURLOPT_HTTPAUTH"))
                                {
                                        curl_setopt($curl, CURLOPT_HTTPAUTH, $authtype);
                                      }
                                else if ($authtype != 1)
                                {
                                        error_log('XML-RPC: xmlrpc_client::send: warning. Only Basic auth is supported by the current PHP/curl install');
                                      }


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

                                        if (defined( "CURLOPT_PROXYAUTH"))
                                        {
                                                curl_setopt($curl, CURLOPT_PROXYAUTH, $proxyauthtype);
                                              }
                                        else if ($proxyauthtype != 1)
                                        {
                                                error_log('XML-RPC: xmlrpc_client::send: warning. Only Basic auth to proxy is supported by the current PHP/curl install');
                                              }


Clone AbstractionParameter Count: 4Parameter Bindings

if (defined( [[#variable2270d740]])) {
  curl_setopt($curl, [[#variable2270d700]], [[#variable2270d5e0]]);
}
else if ( [[#variable2270d5e0]]!= 1) {
       error_log( [[#variable2270d620]]);
     }
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#2270d740]]
"CURLOPT_HTTPAUTH" 
12[[#2270d740]]
"CURLOPT_PROXYAUTH" 
21[[#2270d700]]
CURLOPT_HTTPAUTH 
22[[#2270d700]]
CURLOPT_PROXYAUTH 
31[[#2270d5e0]]
$authtype 
32[[#2270d5e0]]
$proxyauthtype 
41[[#2270d620]]
'XML-RPC: xmlrpc_client::send: warning. Only Basic auth is supported by the current PHP/curl install' 
42[[#2270d620]]
'XML-RPC: xmlrpc_client::send: warning. Only Basic auth to proxy is supported by the current PHP/curl install'