Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 3 | 0.964 | if_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 249 | libraries/joomla/application/component/controller.php |
2 | 4 | 167 | libraries/joomla/application/component/view.php |
| ||||
// If the default task is set, register it as such if (array_key_exists('default_task', $config)) { $this->registerDefaultTask($config['default_task']); } else { $this->registerDefaultTask('display'); } |
| ||||
// set the layout if (array_key_exists('layout', $config)) { $this->setLayout($config['layout']); } else { $this->setLayout('default'); } |
| |||
// If the default task is set, register it as such // set the layout if (array_key_exists( [[#variable25a267c0]],$config)) { $this-> [[#variable25a26720]]($config[ [[#variable25a267c0]]]); } else { $this-> [[#variable25a26720]]( [[#variable25a26680]]); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#25a267c0]] | 'default_task' |
1 | 2 | [[#25a267c0]] | 'layout' |
2 | 1 | [[#25a26720]] | registerDefaultTask |
2 | 2 | [[#25a26720]] | setLayout |
3 | 1 | [[#25a26680]] | 'display' |
3 | 2 | [[#25a26680]] | 'default' |