CloneSet621


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3620.967if_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
131548
libraries/phpxmlrpc/xmlrpc.php
231553
libraries/phpxmlrpc/xmlrpc.php
331560
libraries/phpxmlrpc/xmlrpc.php
431564
libraries/phpxmlrpc/xmlrpc.php
531569
libraries/phpxmlrpc/xmlrpc.php
631574
libraries/phpxmlrpc/xmlrpc.php
Clone Instance
1
Line Count
3
Source Line
1548
Source File
libraries/phpxmlrpc/xmlrpc.php

                                // set cert file
                                if ($cert)
                                {
                                        curl_setopt($curl, CURLOPT_SSLCERT, $cert);
                                      }


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

                                // set cert password
                                if ($certpass)
                                {
                                        curl_setopt($curl, CURLOPT_SSLCERTPASSWD, $certpass);
                                      }


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

                                // set ca certificates file/dir
                                if ($cacert)
                                {
                                        curl_setopt($curl, CURLOPT_CAINFO, $cacert);
                                      }


Clone Instance
4
Line Count
3
Source Line
1564
Source File
libraries/phpxmlrpc/xmlrpc.php

                                if ($cacertdir)
                                {
                                        curl_setopt($curl, CURLOPT_CAPATH, $cacertdir);
                                      }


Clone Instance
5
Line Count
3
Source Line
1569
Source File
libraries/phpxmlrpc/xmlrpc.php

                                // set key file (shall we catch errors in case CURLOPT_SSLKEY undefined ?)
                                if ($key)
                                {
                                        curl_setopt($curl, CURLOPT_SSLKEY, $key);
                                      }


Clone Instance
6
Line Count
3
Source Line
1574
Source File
libraries/phpxmlrpc/xmlrpc.php

                                // set key password (shall we catch errors in case CURLOPT_SSLKEY undefined ?)
                                if ($keypass)
                                {
                                        curl_setopt($curl, CURLOPT_SSLKEYPASSWD, $keypass);
                                      }


Clone AbstractionParameter Count: 2Parameter Bindings

// 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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#214d4d20]]
$cert 
12[[#214d4d20]]
$certpass 
13[[#214d4d20]]
$cacert 
14[[#214d4d20]]
$cacertdir 
15[[#214d4d20]]
$key 
16[[#214d4d20]]
$keypass 
21[[#214d4c60]]
CURLOPT_SSLCERT 
22[[#214d4c60]]
CURLOPT_SSLCERTPASSWD 
23[[#214d4c60]]
CURLOPT_CAINFO 
24[[#214d4c60]]
CURLOPT_CAPATH 
25[[#214d4c60]]
CURLOPT_SSLKEY 
26[[#214d4c60]]
CURLOPT_SSLKEYPASSWD