Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 4 | 3 | 0.969 | class_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 35 | libraries/joomla/document/error/error.php |
2 | 9 | 36 | libraries/joomla/document/json/json.php |
3 | 9 | 30 | libraries/joomla/document/raw/raw.php |
4 | 9 | 36 | libraries/joomla/document/xml/xml.php |
| ||||
/** * Class constructor * * @access protected * @param string $type (either html or tex) * @param array $attributes Associative array of attributes */ function __construct($options= array()) { parent:: __construct($options); //set mime type $this->_mime = 'text/html'; //set document type $this->_type = 'error'; } |
| ||||
/** * Class constructor * * @access public * @param array $options Associative array of options */ public function __construct($options= array()) { parent:: __construct($options); //set mime type $this->_mime = 'application/json'; //set document type $this->_type = 'json'; } |
| ||||
/** * Class constructore * * @access protected * @param array $options Associative array of options */ function __construct($options= array()) { parent:: __construct($options); //set mime type $this->_mime = 'text/html'; //set document type $this->_type = 'raw'; } |
| ||||
/** * Class constructor * * @access public * @param array $options Associative array of options */ public function __construct($options= array()) { parent:: __construct($options); //set mime type $this->_mime = 'application/xml'; //set document type $this->_type = 'xml'; } |
| |||
[[#variable4c5ea840]] /** * Class constructore * * @access protected * @param array $options Associative array of options */ /** * Class constructor * * @access protected * @param string $type (either html or tex) * @param array $attributes Associative array of attributes */ function __construct($options=array()) { parent:: __construct($options); //set mime type $this->_mime = [[#variable4c5ea7c0]]; //set document type $this->_type = [[#variable4c5ea760]]; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#4c5ea840]] | /** * Class constructor * * @access public * @param array $options Associative array of options */ public |
1 | 2 | [[#4c5ea840]] | |
1 | 3 | [[#4c5ea840]] | /** * Class constructor * * @access public * @param array $options Associative array of options */ public |
1 | 4 | [[#4c5ea840]] | |
2 | 1 | [[#4c5ea7c0]] | 'application/xml' |
2 | 2 | [[#4c5ea7c0]] | 'text/html' |
2 | 3 | [[#4c5ea7c0]] | 'application/json' |
2 | 4 | [[#4c5ea7c0]] | 'text/html' |
3 | 1 | [[#4c5ea760]] | 'xml' |
3 | 2 | [[#4c5ea760]] | 'raw' |
3 | 3 | [[#4c5ea760]] | 'json' |
3 | 4 | [[#4c5ea760]] | 'error' |