Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
17 | 2 | 3 | 0.980 | statement_sequence[5] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 17 | 151 | plugins/authentication/openid/Auth/Yadis/ParanoidHTTPFetcher.php |
2 | 17 | 208 | plugins/authentication/openid/Auth/Yadis/ParanoidHTTPFetcher.php |
| ||||
curl_close($c); $new_headers= array(); foreach ($headers as $header) { if (strpos($header, ': ')) { list ($name, $value)= explode(': ', $header, 2); $new_headers[$name]= $value; } } Auth_OpenID::log( "Successfully fetched '%s': GET response code %s", $url, $code); return new Auth_Yadis_HTTPResponse($url, $code, $new_headers, $body); |
| ||||
curl_close($c); $new_headers= $extra_headers; foreach ($this->headers as $header) { if (strpos($header, ': ')) { list ($name, $value)= explode(': ', $header, 2); $new_headers[$name]= $value; } } Auth_OpenID::log("Successfully fetched '%s': POST response code %s", $url, $code); return new Auth_Yadis_HTTPResponse($url, $code, $new_headers, $body); |
| |||
curl_close($c); $new_headers= [[#variable4e4fefa0]]; foreach ( [[#variable4e4fef20]]as $header) { if (strpos($header,': ')) { list ($name,$value)=explode(': ',$header,2); $new_headers[$name]=$value; } } Auth_OpenID::log( [[#variable2550bc20]],$url,$code); return new Auth_Yadis_HTTPResponse($url,$code,$new_headers,$body); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#4e4fefa0]] | array() |
1 | 2 | [[#4e4fefa0]] | $extra_headers |
2 | 1 | [[#4e4fef20]] | $headers |
2 | 2 | [[#4e4fef20]] | $this->headers |
3 | 1 | [[#2550bc20]] | "Successfully fetched '%s': GET response code %s" |
3 | 2 | [[#2550bc20]] | "Successfully fetched '%s': POST response code %s" |