Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 2 | 1 | 0.986 | if_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 101 | libraries/joomla/filesystem/file.php |
2 | 3 | 293 | libraries/joomla/filesystem/file.php |
| ||||
// If the parent folder doesn't exist we must create it if (!file_exists(dirname($dest))) { jimport('joomla.filesystem.folder'); JFolder::create(dirname($dest)); } |
| ||||
// If the destination directory doesn't exist we need to create it if (!file_exists(dirname($file))) { jimport('joomla.filesystem.folder'); JFolder::create(dirname($file)); } |
| |||
// If the parent folder doesn't exist we must create it // If the destination directory doesn't exist we need to create it if (!file_exists(dirname( [[#variable20aa0d20]]))) { jimport('joomla.filesystem.folder'); JFolder::create(dirname( [[#variable20aa0d20]])); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#20aa0d20]] | $dest |
1 | 2 | [[#20aa0d20]] | $file |