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.967 | if_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 142 | administrator/components/com_messages/admin.messages.php |
2 | 2 | 145 | administrator/components/com_messages/admin.messages.php |
3 | 2 | 148 | administrator/components/com_messages/admin.messages.php |
| ||||
// initialize values if they do not exist if (! isset ($data['lock']->cfg_value)) { $data['lock']->cfg_value = 0; } |
| ||||
if (! isset ($data['mail_on_new']->cfg_value)) { $data['mail_on_new']->cfg_value = 0; } |
| ||||
if (! isset ($data['auto_purge']->cfg_value)) { $data['auto_purge']->cfg_value = 7; } |
| |||
// initialize values if they do not exist if (! isset ($data[ [[#variable540a59e0]]]->cfg_value)) { $data[ [[#variable540a59e0]]]->cfg_value = [[#variable540a59c0]]; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#540a59e0]] | 'auto_purge' |
1 | 2 | [[#540a59e0]] | 'mail_on_new' |
1 | 3 | [[#540a59e0]] | 'lock' |
2 | 1 | [[#540a59c0]] | 7 |
2 | 2 | [[#540a59c0]] | 0 |
2 | 3 | [[#540a59c0]] | 0 |