Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 3 | 0.956 | statement_sequence |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 247 | plugins/authentication/openid/Auth/OpenID.php |
2 | 4 | 40 | plugins/authentication/openid/Auth/Yadis/Manager.php |
| ||||
if (array_key_exists($key, $arr)) { return $arr[$key]; } else { return $fallback; } |
| ||||
if (array_key_exists($name, $_SESSION)) { return $_SESSION[$name]; } else { return $default; } |
| |||
if (array_key_exists( [[#variable46d031a0]], [[#variable46d03120]])) { return [[#variable46d03120]][ [[#variable46d031a0]]]; } else { return [[#variable46d030a0]]; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#46d031a0]] | $name |
1 | 2 | [[#46d031a0]] | $key |
2 | 1 | [[#46d03120]] | $_SESSION |
2 | 2 | [[#46d03120]] | $arr |
3 | 1 | [[#46d030a0]] | $default |
3 | 2 | [[#46d030a0]] | $fallback |