CloneSet1568


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4230.956statement_sequence
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14247
plugins/authentication/openid/Auth/OpenID.php
2440
plugins/authentication/openid/Auth/Yadis/Manager.php
Clone Instance
1
Line Count
4
Source Line
247
Source File
plugins/authentication/openid/Auth/OpenID.php

            if (array_key_exists($key, $arr)) {
                return $arr[$key];
              }
            else   {
                return $fallback;
              }


Clone Instance
2
Line Count
4
Source Line
40
Source File
plugins/authentication/openid/Auth/Yadis/Manager.php

        if (array_key_exists($name, $_SESSION)) {
            return $_SESSION[$name];
          }
        else   {
            return $default;
          }


Clone AbstractionParameter Count: 3Parameter Bindings

if (array_key_exists( [[#variable46d031a0]], [[#variable46d03120]])) {
  return [[#variable46d03120]][ [[#variable46d031a0]]];
}
else {
  return [[#variable46d030a0]];
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#46d031a0]]
$name 
12[[#46d031a0]]
$key 
21[[#46d03120]]
$_SESSION 
22[[#46d03120]]
$arr 
31[[#46d030a0]]
$default 
32[[#46d030a0]]
$fallback