Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 5 | 3 | 0.967 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 796 | plugins/authentication/openid/Auth/OpenID/Consumer.php |
2 | 5 | 1310 | plugins/authentication/openid/Auth/OpenID/Consumer.php |
3 | 6 | 1572 | plugins/authentication/openid/Auth/OpenID/Consumer.php |
4 | 6 | 1580 | plugins/authentication/openid/Auth/OpenID/Consumer.php |
5 | 6 | 1592 | 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; } |
| ||||
$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; } |
| ||||
// 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; } |
| ||||
$assoc_handle= $assoc_response->getArg( Auth_OpenID_OPENID_NS, 'assoc_handle', Auth_OpenID_NO_DEFAULT); if (Auth_OpenID::isFailure($assoc_handle)) { return $assoc_handle; } |
| ||||
// 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; } |
| |||
[[#variable23204680]]= [[#variable232045c0]]->getArg(Auth_OpenID_OPENID_NS, [[#variable232044e0]],Auth_OpenID_NO_DEFAULT); if (Auth_OpenID::isFailure( [[#variable23204680]])) { return [[#variable23204680]]; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#23204680]] | $signed_list_str |
1 | 2 | [[#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 |
1 | 3 | [[#23204680]] | $assoc_handle |
1 | 4 | [[#23204680]] | // Extract the common fields from the response, raising an // exception if they are not found $assoc_type |
1 | 5 | [[#23204680]] | $signed_list_str |
2 | 1 | [[#232045c0]] | $message |
2 | 2 | [[#232045c0]] | $assoc_response |
2 | 3 | [[#232045c0]] | $assoc_response |
2 | 4 | [[#232045c0]] | $assoc_response |
2 | 5 | [[#232045c0]] | $message |
3 | 1 | [[#232044e0]] | 'signed' |
3 | 2 | [[#232044e0]] | 'expires_in' |
3 | 3 | [[#232044e0]] | 'assoc_handle' |
3 | 4 | [[#232044e0]] | 'assoc_type' |
3 | 5 | [[#232044e0]] | 'signed' |