CloneSet383


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3310.992statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1397
administrator/components/com_categories/controllers/categories.php
23339
administrator/components/com_content/controllers/article.php
3397
administrator/components/com_menus/controllers/items.php
Clone Instance
1
Line Count
3
Source Line
97
Source File
administrator/components/com_categories/controllers/categories.php

                $values=  array( 'publish' => 1, 'unpublish' => 0, 'trash' => -2
                               );
                $task=    $this->getTask();
                $value=   JArrayHelper::getValue($values, $task, 0, 'int');


Clone Instance
2
Line Count
3
Source Line
339
Source File
administrator/components/com_content/controllers/article.php

                $data=    array( 'publish' => 1, 'unpublish' => 0, 'trash' => -2
                               );
                $task=    $this->getTask();
                $value=   JArrayHelper::getValue($data, $task, 0, 'int');


Clone Instance
3
Line Count
3
Source Line
97
Source File
administrator/components/com_menus/controllers/items.php

                $values=  array( 'publish' => 1, 'unpublish' => 0, 'trash' => -2
                               );
                $task=    $this->getTask();
                $value=   JArrayHelper::getValue($values, $task, 0, 'int');


Clone AbstractionParameter Count: 1Parameter Bindings

 [[#variable5160fb40]]=array( 'publish' => 1,
                              'unpublish' => 0,
                              'trash' => -2
                            );
$task=$this->getTask();
$value=JArrayHelper::getValue( [[#variable5160fb40]],$task,0,'int');
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5160fb40]]
$values 
12[[#5160fb40]]
$data 
13[[#5160fb40]]
$values