Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 2 | 2 | 0.981 | if_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 120 | plugins/authentication/ldap.php |
2 | 2 | 124 | plugins/authentication/ldap.php |
| ||||
// Grab some details from LDAP and return them if ( isset ($userdetails[0][$ldap_uid][0])) { $response->username = $userdetails[0][$ldap_uid][0]; } |
| ||||
if ( isset ($userdetails[0][$ldap_email][0])) { $response->email = $userdetails[0][$ldap_email][0]; } |
| |||
// Grab some details from LDAP and return them if ( isset ($userdetails[0][ [[#variable232dc640]]][0])) { $response-> [[#variable232dc620]]=$userdetails[0][ [[#variable232dc640]]][0]; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#232dc640]] | $ldap_uid |
1 | 2 | [[#232dc640]] | $ldap_email |
2 | 1 | [[#232dc620]] | username |
2 | 2 | [[#232dc620]] |