Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 3 | 2 | 0.970 | if_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 166 | administrator/components/com_users/models/group.php |
2 | 3 | 265 | administrator/components/com_users/models/user.php |
3 | 3 | 218 | administrator/components/com_weblinks/models/weblink.php |
| ||||
// Load the row if saving an existing item. if ($groupId> 0) { $table->load($groupId); $isNew= FALSE; } |
| ||||
// Load the row if saving an existing item. if ($userId> 0) { $user->load($userId); $isNew= FALSE; } |
| ||||
// Load the row if saving an existing item. if ($weblinkId> 0) { $table->load($weblinkId); $isNew= FALSE; } |
| |||
// Load the row if saving an existing item. if ( [[#variable21fa5220]]>0) { [[#variable21fa5260]]->load( [[#variable21fa5220]]); $isNew=FALSE; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#21fa5220]] | $weblinkId |
1 | 2 | [[#21fa5220]] | $userId |
1 | 3 | [[#21fa5220]] | $groupId |
2 | 1 | [[#21fa5260]] | $table |
2 | 2 | [[#21fa5260]] | $user |
2 | 3 | [[#21fa5260]] | $table |