Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 2 | 2 | 0.977 | class_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 140 | libraries/joomla/environment/response.php |
2 | 2 | 150 | libraries/joomla/environment/response.php |
| ||||
/** * Prepend content to the body content * * @access public * @param string $content */ function prependBody($content) { array_unshift($GLOBALS['_JRESPONSE']->body ,(string) $content); } |
| ||||
/** * Append content to the body content * * @access public * @param string $content */ function appendBody($content) { array_push($GLOBALS['_JRESPONSE']->body ,(string) $content); } |
| |||
/** * Append content to the body content * * @access public * @param string $content */ /** * Prepend content to the body content * * @access public * @param string $content */ function [[#variable523a93a0]]($content) { [[#variable523a9300]]($GLOBALS['_JRESPONSE']->body ,(string) $content); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#523a93a0]] | appendBody |
1 | 2 | [[#523a93a0]] | prependBody |
2 | 1 | [[#523a9300]] | array_push |
2 | 2 | [[#523a9300]] | array_unshift |