| 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.966 | if_statement |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 2 | 359 | libraries/joomla/database/table/content.php |
| 2 | 2 | 576 | libraries/joomla/user/user.php |
| ||||
if (empty($this->created_by)) {
$this->created_by = $user->get('id');
}
|
| ||||
// Set the id for the JUser object in case we created a new user.
if (empty($this->id)) {
$this->id = $table->get('id');
}
|
| |||
// Set the id for the JUser object in case we created a new user.
if (empty($this-> [[#variable4dad8520]])) {
$this-> [[#variable4dad8520]]= [[#variable4dad84a0]]->get('id');
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#4dad8520]] | id |
| 1 | 2 | [[#4dad8520]] | created_by |
| 2 | 1 | [[#4dad84a0]] | $table |
| 2 | 2 | [[#4dad84a0]] | $user |