Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 2 | 0.974 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 405 | libraries/joomla/html/parameter.php |
2 | 8 | 242 | libraries/joomla/html/toolbar.php |
| ||||
if (!class_exists($elementClass)) { return $false; } $this->_elements[$signature]= new $elementClass($this); return $this->_elements[$signature]; |
| ||||
if (!class_exists($buttonClass)) { //return JError::raiseError('SOME_ERROR_CODE', "Module file $buttonFile does not contain class $buttonClass."); return $false; } $this->_buttons[$signature]= new $buttonClass($this); return $this->_buttons[$signature]; |
| |||
if (!class_exists( [[#variable22f9f380]])) { //return JError::raiseError('SOME_ERROR_CODE', "Module file $buttonFile does not contain class $buttonClass."); return $false; } $this-> [[#variable232c69c0]][$signature]=new [[#variable22f9f380]]($this); return $this-> [[#variable232c69c0]][$signature]; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#22f9f380]] | $elementClass |
1 | 2 | [[#22f9f380]] | $buttonClass |
2 | 1 | [[#232c69c0]] | _elements |
2 | 2 | [[#232c69c0]] | _buttons |