Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 3 | 1 | 0.992 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 97 | administrator/components/com_categories/controllers/categories.php |
2 | 3 | 339 | administrator/components/com_content/controllers/article.php |
3 | 3 | 97 | 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'); |
| ||||
$data= array( 'publish' => 1, 'unpublish' => 0, 'trash' => -2 ); $task= $this->getTask(); $value= JArrayHelper::getValue($data, $task, 0, 'int'); |
| ||||
$values= array( 'publish' => 1, 'unpublish' => 0, 'trash' => -2 ); $task= $this->getTask(); $value= JArrayHelper::getValue($values, $task, 0, 'int'); |
| |||
[[#variable5160fb40]]=array( 'publish' => 1, 'unpublish' => 0, 'trash' => -2 ); $task=$this->getTask(); $value=JArrayHelper::getValue( [[#variable5160fb40]],$task,0,'int'); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5160fb40]] | $values |
1 | 2 | [[#5160fb40]] | $data |
1 | 3 | [[#5160fb40]] | $values |