CloneSet1156


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
2220.981if_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12120
plugins/authentication/ldap.php
22124
plugins/authentication/ldap.php
Clone Instance
1
Line Count
2
Source Line
120
Source File
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];
                              }


Clone Instance
2
Line Count
2
Source Line
124
Source File
plugins/authentication/ldap.php

                        if ( isset ($userdetails[0][$ldap_email][0])) {
                                $response->email = $userdetails[0][$ldap_email][0];
                              }


Clone AbstractionParameter Count: 2Parameter Bindings

// Grab some details from LDAP and return them
if ( isset ($userdetails[0][ [[#variable232dc640]]][0])) {
  $response-> [[#variable232dc620]]=$userdetails[0][ [[#variable232dc640]]][0];
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#232dc640]]
$ldap_uid 
12[[#232dc640]]
$ldap_email 
21[[#232dc620]]
username 
22[[#232dc620]]
email