CloneSet849


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5330.954if_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1583
administrator/components/com_categories/views/categories/view.html.php
2560
administrator/components/com_content/views/articles/view.html.php
3578
administrator/components/com_menus/views/items/view.html.php
Clone Instance
1
Line Count
5
Source Line
83
Source File
administrator/components/com_categories/views/categories/view.html.php

                if ($state->get('filter.published') == -2) {
                        JToolBarHelper::deleteList('', 'categories.delete');
                      }
                else {
                        JToolBarHelper::trash('categories.trash');
                      }


Clone Instance
2
Line Count
5
Source Line
60
Source File
administrator/components/com_content/views/articles/view.html.php

                if ($state->get('filter.published') == -2) {
                        JToolBarHelper::deleteList('', 'articles.delete');
                      }
                else {
                        JToolBarHelper::trash('articles.trash');
                      }


Clone Instance
3
Line Count
5
Source Line
78
Source File
administrator/components/com_menus/views/items/view.html.php

                if ($this->state->get('filter.published') == -2) {
                        JToolBarHelper::deleteList('', 'items.delete');
                      }
                else {
                        JToolBarHelper::trash('items.trash');
                      }


Clone AbstractionParameter Count: 3Parameter Bindings

if ( [[#variable48566540]]->get('filter.published') == -2) {
  JToolBarHelper::deleteList('', [[#variable485664c0]]);
}
else {
  JToolBarHelper::trash( [[#variable48566460]]);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#48566540]]
$this->state 
12[[#48566540]]
$state 
13[[#48566540]]
$state 
21[[#485664c0]]
'items.delete' 
22[[#485664c0]]
'articles.delete' 
23[[#485664c0]]
'categories.delete' 
31[[#48566460]]
'items.trash' 
32[[#48566460]]
'articles.trash' 
33[[#48566460]]
'categories.trash'