Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 3 | 3 | 0.954 | if_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 83 | administrator/components/com_categories/views/categories/view.html.php |
2 | 5 | 60 | administrator/components/com_content/views/articles/view.html.php |
3 | 5 | 78 | administrator/components/com_menus/views/items/view.html.php |
| ||||
if ($state->get('filter.published') == -2) { JToolBarHelper::deleteList('', 'categories.delete'); } else { JToolBarHelper::trash('categories.trash'); } |
| ||||
if ($state->get('filter.published') == -2) { JToolBarHelper::deleteList('', 'articles.delete'); } else { JToolBarHelper::trash('articles.trash'); } |
| ||||
if ($this->state->get('filter.published') == -2) { JToolBarHelper::deleteList('', 'items.delete'); } else { JToolBarHelper::trash('items.trash'); } |
| |||
if ( [[#variable48566540]]->get('filter.published') == -2) { JToolBarHelper::deleteList('', [[#variable485664c0]]); } else { JToolBarHelper::trash( [[#variable48566460]]); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#48566540]] | $this->state |
1 | 2 | [[#48566540]] | $state |
1 | 3 | [[#48566540]] | $state |
2 | 1 | [[#485664c0]] | 'items.delete' |
2 | 2 | [[#485664c0]] | 'articles.delete' |
2 | 3 | [[#485664c0]] | 'categories.delete' |
3 | 1 | [[#48566460]] | 'items.trash' |
3 | 2 | [[#48566460]] | 'articles.trash' |
3 | 3 | [[#48566460]] | 'categories.trash' |