| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 5 | 3 | 0 | 1.000 | if_statement |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 5 | 105 | components/com_content/models/category.php |
| 2 | 5 | 145 | components/com_content/models/category.php |
| 3 | 5 | 167 | components/com_content/models/category.php |
| ||||
if (empty($this->_category))
{
jimport('joomla.application.categorytree');
$categoryTree= JCategories::getInstance('com_content');
$this->_category = &$categoryTree->get($this->_id);
}
|
| ||||
if (empty($this->_category))
{
jimport('joomla.application.categorytree');
$categoryTree= JCategories::getInstance('com_content');
$this->_category = &$categoryTree->get($this->_id);
}
|
| ||||
// Load the Category data
if (empty($this->_category))
{
jimport('joomla.application.categorytree');
$categoryTree= JCategories::getInstance('com_content');
$this->_category = &$categoryTree->get($this->_id);
}
|
| |||
// Load the Category data
if (empty($this->_category)) {
jimport('joomla.application.categorytree');
$categoryTree=JCategories::getInstance('com_content');
$this->_category = &$categoryTree->get($this->_id);
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| None | |||