CloneSet1291


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
2320.968if_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12129
libraries/joomla/user/authentication.php
22133
libraries/joomla/user/authentication.php
32137
libraries/joomla/user/authentication.php
Clone Instance
1
Line Count
2
Source Line
129
Source File
libraries/joomla/user/authentication.php

                                if (empty($response->username)) {
                                        $response->username = $credentials['username'];
                                      }


Clone Instance
2
Line Count
2
Source Line
133
Source File
libraries/joomla/user/authentication.php

                                if (empty($response->fullname)) {
                                        $response->fullname = $credentials['username'];
                                      }


Clone Instance
3
Line Count
2
Source Line
137
Source File
libraries/joomla/user/authentication.php

                                if (empty($response->password)) {
                                        $response->password = $credentials['password'];
                                      }


Clone AbstractionParameter Count: 2Parameter Bindings

if (empty($response-> [[#variable1efcf4e0]])) {
  $response-> [[#variable1efcf4e0]]=$credentials[ [[#variable1efcf480]]];
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1efcf4e0]]
password 
12[[#1efcf4e0]]
fullname 
13[[#1efcf4e0]]
username 
21[[#1efcf480]]
'password' 
22[[#1efcf480]]
'username' 
23[[#1efcf480]]
'username'