| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 10 | 2 | 0 | 1.000 | if_statement |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 10 | 115 | libraries/joomla/document/error/error.php |
| 2 | 10 | 312 | libraries/joomla/document/html/html.php |
| ||||
//Check to see if we have a valid template file
if (file_exists($directory
. DS
. $filename)) {
//store the file path
$this->_file = $directory
. DS
. $filename;
//get the file content
ob_start();
require_once $directory
. DS
. $filename;
$contents= ob_get_contents();
ob_end_clean();
}
|
| ||||
//Check to see if we have a valid template file
if (file_exists($directory
. DS
. $filename)) {
//store the file path
$this->_file = $directory
. DS
. $filename;
//get the file content
ob_start();
require_once $directory
. DS
. $filename;
$contents= ob_get_contents();
ob_end_clean();
}
|
| |||
//Check to see if we have a valid template file
if (file_exists($directory
. DS
. $filename)) {
//store the file path
$this->_file =$directory
. DS
. $filename;
//get the file content
ob_start();
require_once $directory
. DS
. $filename;
$contents=ob_get_contents();
ob_end_clean();
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| None | |||