CloneSet711


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10210.996class_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
110526
plugins/authentication/openid/Auth/OpenID/Server.php
210563
plugins/authentication/openid/Auth/OpenID/Server.php
Clone Instance
1
Line Count
10
Source Line
526
Source File
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);
          }
      }


Clone Instance
2
Line Count
10
Source Line
563
Source File
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_DiffieHellmanSHA256ServerSession($dh,
                                                      $consumer_pubkey);
          }
      }


Clone AbstractionParameter Count: 1Parameter Bindings

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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#229b40c0]]
Auth_OpenID_DiffieHellmanSHA256ServerSession 
12[[#229b40c0]]
Auth_OpenID_DiffieHellmanSHA1ServerSession