Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 2 | 0.993 | statement_sequence[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 120 | plugins/authentication/openid/Auth/Yadis/PlainHTTPFetcher.php |
2 | 9 | 226 | plugins/authentication/openid/Auth/Yadis/PlainHTTPFetcher.php |
| ||||
// Split response into header and body sections list ($headers, $body)= explode("\r\n\r\n", $data, 2); $headers= explode("\r\n", $headers); $http_code= explode(" ", $headers[0]); $code= $http_code[1]; |
| ||||
// Split the request into headers and body. list ($headers, $response_body)= explode("\r\n\r\n", $response, 2); $headers= explode("\r\n", $headers); // Expect the first line of the headers data to be something // like HTTP/1.1 200 OK. Split the line on spaces and take // the second token, which should be the return code. $http_code= explode(" ", $headers[0]); $code= $http_code[1]; |
| |||
// Split response into header and body sections // Split the request into headers and body. list ($headers, [[#variable227d7aa0]])=explode("\r\n\r\n", [[#variable227d7a20]],2); $headers=explode("\r\n",$headers); // Expect the first line of the headers data to be something // like HTTP/1.1 200 OK. Split the line on spaces and take // the second token, which should be the return code. $http_code=explode(" ",$headers[0]); $code=$http_code[1]; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#227d7aa0]] | $body |
1 | 2 | [[#227d7aa0]] | $response_body |
2 | 1 | [[#227d7a20]] | $data |
2 | 2 | [[#227d7a20]] | $response |