Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 3 | 0.972 | if_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 264 | libraries/joomla/application/component/controller.php |
2 | 5 | 159 | libraries/joomla/application/component/view.php |
| ||||
// set the default view search path if (array_key_exists('view_path', $config)) { // user-defined dirs $this->_setPath('view', $config['view_path']); } else { $this->_setPath('view', $this->_basePath . DS . 'views'); } |
| ||||
// set the default helper search path if (array_key_exists('helper_path', $config)) { // user-defined dirs $this->_setPath('helper', $config['helper_path']); } else { $this->_setPath('helper', $this->_basePath . DS . 'helpers'); } |
| |||
// set the default view search path // set the default helper search path if (array_key_exists( [[#variable49086740]],$config)) { // user-defined dirs $this->_setPath( [[#variable490866e0]],$config[ [[#variable49086740]]]); } else { $this->_setPath( [[#variable490866e0]],$this->_basePath . DS . [[#variable49086660]]); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#49086740]] | 'view_path' |
1 | 2 | [[#49086740]] | 'helper_path' |
2 | 1 | [[#490866e0]] | 'view' |
2 | 2 | [[#490866e0]] | 'helper' |
3 | 1 | [[#49086660]] | 'views' |
3 | 2 | [[#49086660]] | 'helpers' |