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.966 | if_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 1535 | libraries/phpxmlrpc/xmlrpc.php |
2 | 7 | 1594 | 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'); } |
| ||||
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'); } |
| |||
if (defined( [[#variable2270d740]])) { curl_setopt($curl, [[#variable2270d700]], [[#variable2270d5e0]]); } else if ( [[#variable2270d5e0]]!= 1) { error_log( [[#variable2270d620]]); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#2270d740]] | "CURLOPT_HTTPAUTH" |
1 | 2 | [[#2270d740]] | "CURLOPT_PROXYAUTH" |
2 | 1 | [[#2270d700]] | CURLOPT_HTTPAUTH |
2 | 2 | [[#2270d700]] | CURLOPT_PROXYAUTH |
3 | 1 | [[#2270d5e0]] | $authtype |
3 | 2 | [[#2270d5e0]] | $proxyauthtype |
4 | 1 | [[#2270d620]] | 'XML-RPC: xmlrpc_client::send: warning. Only Basic auth is supported by the current PHP/curl install' |
4 | 2 | [[#2270d620]] | 'XML-RPC: xmlrpc_client::send: warning. Only Basic auth to proxy is supported by the current PHP/curl install' |