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 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 737 | libraries/joomla/installer/installer.php |
2 | 5 | 843 | libraries/joomla/installer/installer.php |
3 | 5 | 951 | libraries/joomla/installer/installer.php |
| ||||
/* * Here we set the folder we are going to copy the files from. * * Does the element have a folder attribute? * * If so this indicates that the files are in a subdirectory of the source * folder and we should append the folder attribute to the source path when * copying files. */ $folder= $element->attributes('folder'); if ($folder && file_exists($this->getPath('source') . DS . $folder)) { $source= $this->getPath('source') . DS . $folder; } else { $source= $this->getPath('source'); } |
| ||||
/* * Here we set the folder we are going to copy the files from. * * Does the element have a folder attribute? * * If so this indicates that the files are in a subdirectory of the source * folder and we should append the folder attribute to the source path when * copying files. */ $folder= $element->attributes('folder'); if ($folder && file_exists($this->getPath('source') . DS . $folder)) { $source= $this->getPath('source') . DS . $folder; } else { $source= $this->getPath('source'); } |
| ||||
/* * Here we set the folder we are going to copy the files from. * * Does the element have a folder attribute? * * If so this indicates that the files are in a subdirectory of the source * folder and we should append the folder attribute to the source path when * copying files. */ $folder= $element->attributes('folder'); if ($folder && file_exists($this->getPath('source') . DS . $folder)) { $source= $this->getPath('source') . DS . $folder; } else { $source= $this->getPath('source'); } |
| |||
/* * Here we set the folder we are going to copy the files from. * * Does the element have a folder attribute? * * If so this indicates that the files are in a subdirectory of the source * folder and we should append the folder attribute to the source path when * copying files. */ $folder=$element->attributes('folder'); if ($folder && file_exists($this->getPath('source') . DS . $folder)) { $source=$this->getPath('source') . DS . $folder; } else { $source=$this->getPath('source'); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |