| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 2 | 3 | 2 | 0.968 | if_statement |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 2 | 129 | libraries/joomla/user/authentication.php |
| 2 | 2 | 133 | libraries/joomla/user/authentication.php |
| 3 | 2 | 137 | libraries/joomla/user/authentication.php |
| ||||
if (empty($response->username)) {
$response->username = $credentials['username'];
}
|
| ||||
if (empty($response->fullname)) {
$response->fullname = $credentials['username'];
}
|
| ||||
if (empty($response->password)) {
$response->password = $credentials['password'];
}
|
| |||
if (empty($response-> [[#variable1efcf4e0]])) {
$response-> [[#variable1efcf4e0]]=$credentials[ [[#variable1efcf480]]];
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#1efcf4e0]] | password |
| 1 | 2 | [[#1efcf4e0]] | fullname |
| 1 | 3 | [[#1efcf4e0]] | username |
| 2 | 1 | [[#1efcf480]] | 'password' |
| 2 | 2 | [[#1efcf480]] | 'username' |
| 2 | 3 | [[#1efcf480]] | 'username' |