CloneSet1490


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10240.967toplevel_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
110294
plugins/authentication/openid/Auth/OpenID/Server.php
210325
plugins/authentication/openid/Auth/OpenID/Server.php
Clone Instance
1
Line Count
10
Source Line
294
Source File
plugins/authentication/openid/Auth/OpenID/Server.php

/**
 * Error returned by the server code when a return_to is absent from a
 * request.
 *
 * @package OpenID
 */
class Auth_OpenID_NoReturnToError extends Auth_OpenID_ServerError {

    function Auth_OpenID_NoReturnToError($message=  NULL,
                                         $text=  "No return_to URL available") {

        parent::Auth_OpenID_ServerError($message, $text);
      }

    function toString() {

        return "No return_to available";
      }
  }


Clone Instance
2
Line Count
10
Source Line
325
Source File
plugins/authentication/openid/Auth/OpenID/Server.php

/**
 * This error is returned when the trust_root value is malformed.
 *
 * @package OpenID
 */
class Auth_OpenID_MalformedTrustRoot extends Auth_OpenID_ServerError {

    function Auth_OpenID_MalformedTrustRoot($message=  NULL,
                                            $text=  "Malformed trust root") {

        parent::Auth_OpenID_ServerError($message, $text);
      }

    function toString() {

        return "Malformed trust root";
      }
  }


Clone AbstractionParameter Count: 4Parameter Bindings

/**
 * Error returned by the server code when a return_to is absent from a
 * request.
 *
 * @package OpenID
 */
/**
 * This error is returned when the trust_root value is malformed.
 *
 * @package OpenID
 */
class [[#variable586c7000]]extends Auth_OpenID_ServerError {

  function [[#variable586c6fa0]]($message=NULL,$text= [[#variable586c6f20]]) {
    parent::Auth_OpenID_ServerError($message,$text);
  }

  function toString() {
    return [[#variable586c6e80]];
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#586c7000]]
Auth_OpenID_NoReturnToError 
12[[#586c7000]]
Auth_OpenID_MalformedTrustRoot 
21[[#586c6fa0]]
Auth_OpenID_NoReturnToError 
22[[#586c6fa0]]
Auth_OpenID_MalformedTrustRoot 
31[[#586c6f20]]
"No return_to URL available" 
32[[#586c6f20]]
"Malformed trust root" 
41[[#586c6e80]]
"No return_to available" 
42[[#586c6e80]]
"Malformed trust root"