Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
1 | 4 | 2 | 0.986 | statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 1 | 159 | administrator/components/com_users/models/group.php |
2 | 1 | 125 | administrator/components/com_users/models/level.php |
3 | 1 | 258 | administrator/components/com_users/models/user.php |
4 | 1 | 231 | components/com_users/models/profile.php |
| ||||
$groupId= (!empty($data['id'])) ? $data['id'] : (int) $this->getState('group.id'); |
| ||||
// Initialize variables. $levelId= (!empty($data['id'])) ? $data['id'] : (int) $this->getState('level.id'); |
| ||||
$userId= (!empty($data['id'])) ? $data['id'] : (int) $this->getState('user.id'); |
| ||||
$memberId= (!empty($data['id'])) ? $data['id'] : (int) $this->getState('member.id'); |
| |||
[[#variable52445740]]=(!empty($data['id'])) ? $data['id'] : (int) $this->getState( [[#variable524457a0]]); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#52445740]] | $memberId |
1 | 2 | [[#52445740]] | $userId |
1 | 3 | [[#52445740]] | // Initialize variables. $levelId |
1 | 4 | [[#52445740]] | $groupId |
2 | 1 | [[#524457a0]] | 'member.id' |
2 | 2 | [[#524457a0]] | 'user.id' |
2 | 3 | [[#524457a0]] | 'level.id' |
2 | 4 | [[#524457a0]] | 'group.id' |