Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 1 | 0.978 | if_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 1865 | plugins/authentication/openid/Auth/OpenID/Consumer.php |
2 | 4 | 869 | plugins/authentication/openid/Auth/OpenID/Server.php |
| ||||
if ($message->isOpenID1()) { $realm_key= 'trust_root'; } else { $realm_key= 'realm'; } |
| ||||
// There's a case for making self.trust_root be a TrustRoot // here. But if TrustRoot isn't currently part of the // "public" API, I'm not sure it's worth doing. if ($message->isOpenID1()) { $trust_root_param= 'trust_root'; } else { $trust_root_param= 'realm'; } |
| |||
// There's a case for making self.trust_root be a TrustRoot // here. But if TrustRoot isn't currently part of the // "public" API, I'm not sure it's worth doing. if ($message->isOpenID1()) { [[#variable3eaf8ea0]]='trust_root'; } else { [[#variable3eaf8ea0]]='realm'; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#3eaf8ea0]] | $realm_key |
1 | 2 | [[#3eaf8ea0]] | $trust_root_param |