Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 2 | 4 | 0.961 | class_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 767 | plugins/authentication/openid/Auth/OpenID/Message.php |
2 | 8 | 877 | 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 )); } } |
| ||||
function delArg($namespace, $key) { $namespace= $this->_fixNS($namespace); if (Auth_OpenID::isFailure($namespace)) { return $namespace; } else { return $this->args->del(array( $namespace, $key )); } } |
| |||
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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#48567ec0]] | delArg |
1 | 2 | [[#48567ec0]] | hasKey |
2 | 1 | [[#48567e00]] | $key |
2 | 2 | [[#48567e00]] | $ns_key |
3 | 1 | [[#48567d60]] | $namespace |
3 | 2 | [[#48567d60]] | FALSE |
4 | 1 | [[#48567ca0]] | del |
4 | 2 | [[#48567ca0]] | contains |