Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 6 | 2 | 0.967 | if_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 1548 | libraries/phpxmlrpc/xmlrpc.php |
2 | 3 | 1553 | libraries/phpxmlrpc/xmlrpc.php |
3 | 3 | 1560 | libraries/phpxmlrpc/xmlrpc.php |
4 | 3 | 1564 | libraries/phpxmlrpc/xmlrpc.php |
5 | 3 | 1569 | libraries/phpxmlrpc/xmlrpc.php |
6 | 3 | 1574 | libraries/phpxmlrpc/xmlrpc.php |
| ||||
// set cert file if ($cert) { curl_setopt($curl, CURLOPT_SSLCERT, $cert); } |
| ||||
// set cert password if ($certpass) { curl_setopt($curl, CURLOPT_SSLCERTPASSWD, $certpass); } |
| ||||
// set ca certificates file/dir if ($cacert) { curl_setopt($curl, CURLOPT_CAINFO, $cacert); } |
| ||||
if ($cacertdir) { curl_setopt($curl, CURLOPT_CAPATH, $cacertdir); } |
| ||||
// set key file (shall we catch errors in case CURLOPT_SSLKEY undefined ?) if ($key) { curl_setopt($curl, CURLOPT_SSLKEY, $key); } |
| ||||
// set key password (shall we catch errors in case CURLOPT_SSLKEY undefined ?) if ($keypass) { curl_setopt($curl, CURLOPT_SSLKEYPASSWD, $keypass); } |
| |||
// set cert file // set cert password // set ca certificates file/dir // set key file (shall we catch errors in case CURLOPT_SSLKEY undefined ?) // set key password (shall we catch errors in case CURLOPT_SSLKEY undefined ?) if ( [[#variable214d4d20]]) { curl_setopt($curl, [[#variable214d4c60]], [[#variable214d4d20]]); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#214d4d20]] | $cert |
1 | 2 | [[#214d4d20]] | $certpass |
1 | 3 | [[#214d4d20]] | $cacert |
1 | 4 | [[#214d4d20]] | $cacertdir |
1 | 5 | [[#214d4d20]] | $key |
1 | 6 | [[#214d4d20]] | $keypass |
2 | 1 | [[#214d4c60]] | CURLOPT_SSLCERT |
2 | 2 | [[#214d4c60]] | CURLOPT_SSLCERTPASSWD |
2 | 3 | [[#214d4c60]] | CURLOPT_CAINFO |
2 | 4 | [[#214d4c60]] | CURLOPT_CAPATH |
2 | 5 | [[#214d4c60]] | CURLOPT_SSLKEY |
2 | 6 | [[#214d4c60]] | CURLOPT_SSLKEYPASSWD |