CloneSet1310


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4230.964if_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14249
libraries/joomla/application/component/controller.php
24167
libraries/joomla/application/component/view.php
Clone Instance
1
Line Count
4
Source Line
249
Source File
libraries/joomla/application/component/controller.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');
                      }


Clone Instance
2
Line Count
4
Source Line
167
Source File
libraries/joomla/application/component/view.php

                // set the layout
                if (array_key_exists('layout', $config)) {
                        $this->setLayout($config['layout']);
                      }
                else   {
                        $this->setLayout('default');
                      }


Clone AbstractionParameter Count: 3Parameter Bindings

// 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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#25a267c0]]
'default_task' 
12[[#25a267c0]]
'layout' 
21[[#25a26720]]
registerDefaultTask 
22[[#25a26720]]
setLayout 
31[[#25a26680]]
'display' 
32[[#25a26680]]
'default'