Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 1 | 0.982 | if_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 841 | plugins/authentication/openid/Auth/OpenID/Consumer.php |
2 | 4 | 849 | plugins/authentication/openid/Auth/OpenID/Consumer.php |
| ||||
// If port is absent from both, add it so it's equal in the // check below. if ((!array_key_exists('port', $return_to_parts)) && (!array_key_exists('port', $msg_return_to_parts))) { $return_to_parts['port']= NULL; $msg_return_to_parts['port']= NULL; } |
| ||||
// If path is absent from both, add it so it's equal in the // check below. if ((!array_key_exists('path', $return_to_parts)) && (!array_key_exists('path', $msg_return_to_parts))) { $return_to_parts['path']= NULL; $msg_return_to_parts['path']= NULL; } |
| |||
// If port is absent from both, add it so it's equal in the // If path is absent from both, add it so it's equal in the // check below. if ((!array_key_exists( [[#variable21469460]],$return_to_parts)) && (!array_key_exists( [[#variable21469460]],$msg_return_to_parts))) { $return_to_parts[ [[#variable21469460]]]=NULL; $msg_return_to_parts[ [[#variable21469460]]]=NULL; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#21469460]] | 'port' |
1 | 2 | [[#21469460]] | 'path' |