Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 2 | 3 | 0.975 | if_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 50 | libraries/joomla/filesystem/folder.php |
2 | 2 | 58 | libraries/joomla/filesystem/folder.php |
| ||||
if (!JFolder::exists($src)) { return JError::raiseError(-1, JText::_('Cannot find source folder')); } |
| ||||
// Make sure the destination exists if (! JFolder::create($dest)) { return JError::raiseError(-1, JText::_('Unable to create target folder')); } |
| |||
// Make sure the destination exists if (!JFolder:: [[#variable51f0cf80]]( [[#variable51f0cee0]])) { return JError::raiseError(-1,JText::_( [[#variable51f0ce60]])); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#51f0cf80]] | create |
1 | 2 | [[#51f0cf80]] | exists |
2 | 1 | [[#51f0cee0]] | $dest |
2 | 2 | [[#51f0cee0]] | $src |
3 | 1 | [[#51f0ce60]] | 'Unable to create target folder' |
3 | 2 | [[#51f0ce60]] | 'Cannot find source folder' |