CloneSet850


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8240.961class_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
18767
plugins/authentication/openid/Auth/OpenID/Message.php
28877
plugins/authentication/openid/Auth/OpenID/Message.php
Clone Instance
1
Line Count
8
Source Line
767
Source File
plugins/authentication/openid/Auth/OpenID/Message.php

    function hasKey($namespace, $ns_key) {

        $namespace=  $this->_fixNS($namespace);
        if (Auth_OpenID::isFailure($namespace)) {
            // XXX log me
            return FALSE;
          }
        else   {
            return $this->args->contains(array( $namespace, $ns_key
                                              ));
          }
      }


Clone Instance
2
Line Count
8
Source Line
877
Source File
plugins/authentication/openid/Auth/OpenID/Message.php

    function delArg($namespace, $key) {

        $namespace=  $this->_fixNS($namespace);

        if (Auth_OpenID::isFailure($namespace)) {
            return $namespace;
          }
        else   {
            return $this->args->del(array( $namespace, $key
                                         ));
          }
      }


Clone AbstractionParameter Count: 4Parameter Bindings

function [[#variable48567ec0]]($namespace, [[#variable48567e00]]) {
  $namespace=$this->_fixNS($namespace);
  if (Auth_OpenID::isFailure($namespace)) {
    // XXX log me
    return [[#variable48567d60]];
  }
  else {
    return $this->args-> [[#variable48567ca0]](array( $namespace,
                                                       [[#variable48567e00]]
                                                    ));
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#48567ec0]]
delArg 
12[[#48567ec0]]
hasKey 
21[[#48567e00]]
$key 
22[[#48567e00]]
$ns_key 
31[[#48567d60]]
$namespace 
32[[#48567d60]]
FALSE 
41[[#48567ca0]]
del 
42[[#48567ca0]]
contains