Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 5 | 2 | 0.986 | if_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 55 | administrator/components/com_banners/controllers/banner.php |
2 | 5 | 118 | administrator/components/com_contact/admin.contact.php |
3 | 5 | 81 | administrator/components/com_messages/admin.messages.php |
4 | 5 | 101 | administrator/components/com_newsfeeds/admin.newsfeeds.php |
5 | 5 | 66 | administrator/components/com_plugins/views/plugins/view.html.php |
| ||||
if ($filter_state) { if ($filter_state == 'P') { $where[]= 'b.showBanner = 1'; } else if ($filter_state == 'U') { $where[]= 'b.showBanner = 0'; } } |
| ||||
if ($filter_state) { if ($filter_state == 'P') { $where[]= 'cd.published = 1'; } else if ($filter_state == 'U') { $where[]= 'cd.published = 0'; } } |
| ||||
if ($filter_state) { if ($filter_state == 'P') { $where[]= 'a.state = 1'; } else if ($filter_state == 'U') { $where[]= 'a.state = 0'; } } |
| ||||
if ($filter_state) { if ($filter_state == 'P') { $where[]= 'a.published = 1'; } else if ($filter_state == 'U') { $where[]= 'a.published = 0'; } } |
| ||||
if ( $filter_state) { if ( $filter_state == 'P') { $where[]= 'p.enabled = 1'; } else if ($filter_state == 'U') { $where[]= 'p.enabled = 0'; } } |
| |||
if ($filter_state) { if ($filter_state == 'P') { $where[]= [[#variable4c6db900]]; } else if ($filter_state == 'U') { $where[]= [[#variable4c6db8e0]]; } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#4c6db900]] | 'p.enabled = 1' |
1 | 2 | [[#4c6db900]] | 'a.published = 1' |
1 | 3 | [[#4c6db900]] | 'a.state = 1' |
1 | 4 | [[#4c6db900]] | 'cd.published = 1' |
1 | 5 | [[#4c6db900]] | 'b.showBanner = 1' |
2 | 1 | [[#4c6db8e0]] | 'p.enabled = 0' |
2 | 2 | [[#4c6db8e0]] | 'a.published = 0' |
2 | 3 | [[#4c6db8e0]] | 'a.state = 0' |
2 | 4 | [[#4c6db8e0]] | 'cd.published = 0' |
2 | 5 | [[#4c6db8e0]] | 'b.showBanner = 0' |