Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
10 | 2 | 1 | 0.996 | class_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 10 | 526 | plugins/authentication/openid/Auth/OpenID/Server.php |
2 | 10 | 563 | plugins/authentication/openid/Auth/OpenID/Server.php |
| ||||
function fromMessage($message) { $result= Auth_OpenID_DiffieHellmanSHA1ServerSession::getDH($message); if (is_a($result, 'Auth_OpenID_ServerError')) { return $result; } else { list ($dh, $consumer_pubkey)= $result; return new Auth_OpenID_DiffieHellmanSHA1ServerSession($dh, $consumer_pubkey); } } |
| ||||
function fromMessage($message) { $result= Auth_OpenID_DiffieHellmanSHA1ServerSession::getDH($message); if (is_a($result, 'Auth_OpenID_ServerError')) { return $result; } else { list ($dh, $consumer_pubkey)= $result; return new Auth_OpenID_DiffieHellmanSHA256ServerSession($dh, $consumer_pubkey); } } |
| |||
function fromMessage($message) { $result=Auth_OpenID_DiffieHellmanSHA1ServerSession::getDH($message); if (is_a($result,'Auth_OpenID_ServerError')) { return $result; } else { list ($dh,$consumer_pubkey)=$result; return new [[#variable229b40c0]]($dh,$consumer_pubkey); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#229b40c0]] | Auth_OpenID_DiffieHellmanSHA256ServerSession |
1 | 2 | [[#229b40c0]] | Auth_OpenID_DiffieHellmanSHA1ServerSession |