CloneSet584


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5220.993statement_sequence[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15120
plugins/authentication/openid/Auth/Yadis/PlainHTTPFetcher.php
29226
plugins/authentication/openid/Auth/Yadis/PlainHTTPFetcher.php
Clone Instance
1
Line Count
5
Source Line
120
Source File
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];


Clone Instance
2
Line Count
9
Source Line
226
Source File
plugins/authentication/openid/Auth/Yadis/PlainHTTPFetcher.php

        // 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];


Clone AbstractionParameter Count: 2Parameter Bindings

// 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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#227d7aa0]]
$body 
12[[#227d7aa0]]
$response_body 
21[[#227d7a20]]
$data 
22[[#227d7a20]]
$response