CloneSet404


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5530.967statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14796
plugins/authentication/openid/Auth/OpenID/Consumer.php
251310
plugins/authentication/openid/Auth/OpenID/Consumer.php
361572
plugins/authentication/openid/Auth/OpenID/Consumer.php
461580
plugins/authentication/openid/Auth/OpenID/Consumer.php
561592
plugins/authentication/openid/Auth/OpenID/Consumer.php
Clone Instance
1
Line Count
4
Source Line
796
Source File
plugins/authentication/openid/Auth/OpenID/Consumer.php

        $signed_list_str=  $message->getArg(Auth_OpenID_OPENID_NS, 'signed',
                                            Auth_OpenID_NO_DEFAULT);
        if (Auth_OpenID::isFailure($signed_list_str)) {
            return $signed_list_str;
          }


Clone Instance
2
Line Count
5
Source Line
1310
Source File
plugins/authentication/openid/Auth/OpenID/Consumer.php

        $signed_list_str=  $message->getArg(Auth_OpenID_OPENID_NS,
                                            'signed',
                                            Auth_OpenID_NO_DEFAULT);
        if (Auth_OpenID::isFailure($signed_list_str)) {
            return $signed_list_str;
          }


Clone Instance
3
Line Count
6
Source Line
1572
Source File
plugins/authentication/openid/Auth/OpenID/Consumer.php

        // Extract the common fields from the response, raising an
        // exception if they are not found
        $assoc_type=  $assoc_response->getArg(
                         Auth_OpenID_OPENID_NS, 'assoc_type',
                         Auth_OpenID_NO_DEFAULT);

        if (Auth_OpenID::isFailure($assoc_type)) {
            return $assoc_type;
          }


Clone Instance
4
Line Count
6
Source Line
1580
Source File
plugins/authentication/openid/Auth/OpenID/Consumer.php

        $assoc_handle=  $assoc_response->getArg(
                           Auth_OpenID_OPENID_NS, 'assoc_handle',
                           Auth_OpenID_NO_DEFAULT);

        if (Auth_OpenID::isFailure($assoc_handle)) {
            return $assoc_handle;
          }


Clone Instance
5
Line Count
6
Source Line
1592
Source File
plugins/authentication/openid/Auth/OpenID/Consumer.php

        // expires_in is a base-10 string. The Python parsing will
        // accept literals that have whitespace around them and will
        // accept negative values. Neither of these are really in-spec,
        // but we think it's OK to accept them.
        $expires_in_str=  $assoc_response->getArg(
                             Auth_OpenID_OPENID_NS, 'expires_in',
                             Auth_OpenID_NO_DEFAULT);

        if (Auth_OpenID::isFailure($expires_in_str)) {
            return $expires_in_str;
          }


Clone AbstractionParameter Count: 3Parameter Bindings

 [[#variable23204680]]= [[#variable232045c0]]->getArg(Auth_OpenID_OPENID_NS, [[#variable232044e0]],Auth_OpenID_NO_DEFAULT);
if (Auth_OpenID::isFailure( [[#variable23204680]])) {
  return [[#variable23204680]];
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#23204680]]
$signed_list_str 
12[[#23204680]]
// expires_in is a base-10 string. The Python parsing will
// accept literals that have whitespace around them and will
// accept negative values. Neither of these are really in-spec,
// but we think it's OK to accept them.
$expires_in_str 
13[[#23204680]]
$assoc_handle 
14[[#23204680]]
// Extract the common fields from the response, raising an
// exception if they are not found
$assoc_type 
15[[#23204680]]
$signed_list_str 
21[[#232045c0]]
$message 
22[[#232045c0]]
$assoc_response 
23[[#232045c0]]
$assoc_response 
24[[#232045c0]]
$assoc_response 
25[[#232045c0]]
$message 
31[[#232044e0]]
'signed' 
32[[#232044e0]]
'expires_in' 
33[[#232044e0]]
'assoc_handle' 
34[[#232044e0]]
'assoc_type' 
35[[#232044e0]]
'signed'