Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
31 | 2 | 2 | 0.996 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 31 | 1206 | libraries/phpxmlrpc/xmlrpc.php |
2 | 31 | 1428 | libraries/phpxmlrpc/xmlrpc.php |
| ||||
// Only create the payload if it was not created previously if (empty($msg->payload)) { $msg->createPayload($this->request_charset_encoding); } $payload= $msg->payload; // Deflate request body and set appropriate request headers if (function_exists('gzdeflate') && ($this->request_compression == 'gzip' || $this->request_compression == 'deflate')) { if ($this->request_compression == 'gzip') { $a= @gzencode($payload); if ($a) { $payload= $a; $encoding_hdr= "Content-Encoding: gzip\r\n"; } } else { $a= @gzcompress($payload); if ($a) { $payload= $a; $encoding_hdr= "Content-Encoding: deflate\r\n"; } } } else { $encoding_hdr= ''; } |
| ||||
// Only create the payload if it was not created previously if (empty($msg->payload)) { $msg->createPayload($this->request_charset_encoding); } // Deflate request body and set appropriate request headers $payload= $msg->payload; if (function_exists('gzdeflate') && ($this->request_compression == 'gzip' || $this->request_compression == 'deflate')) { if ($this->request_compression == 'gzip') { $a= @gzencode($payload); if ($a) { $payload= $a; $encoding_hdr= 'Content-Encoding: gzip'; } } else { $a= @gzcompress($payload); if ($a) { $payload= $a; $encoding_hdr= 'Content-Encoding: deflate'; } } } else { $encoding_hdr= ''; } |
| |||
// Only create the payload if it was not created previously if (empty($msg->payload)) { $msg->createPayload($this->request_charset_encoding); } // Deflate request body and set appropriate request headers $payload=$msg->payload; // Deflate request body and set appropriate request headers if (function_exists('gzdeflate') && ($this->request_compression == 'gzip' || $this->request_compression == 'deflate')) { if ($this->request_compression == 'gzip') { $a=@gzencode($payload); if ($a) { $payload=$a; $encoding_hdr= [[#variable5226ec40]]; } } else { $a=@gzcompress($payload); if ($a) { $payload=$a; $encoding_hdr= [[#variable5226ec60]]; } } } else { $encoding_hdr=''; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5226ec40]] | "Content-Encoding: gzip\r\n" |
1 | 2 | [[#5226ec40]] | 'Content-Encoding: gzip' |
2 | 1 | [[#5226ec60]] | "Content-Encoding: deflate\r\n" |
2 | 2 | [[#5226ec60]] | 'Content-Encoding: deflate' |