Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 1 | 0.990 | statement_block |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 280 | libraries/joomla/filesystem/folder.php |
2 | 6 | 291 | libraries/joomla/filesystem/folder.php |
| ||||
{ jimport('joomla.filesystem.file'); if (JFile::delete($files) !== TRUE) { // JFile::delete throws an error return FALSE; } } |
| ||||
{ // Don't descend into linked directories, just delete the link. jimport('joomla.filesystem.file'); if (JFile::delete($folder) !== TRUE) { // JFile::delete throws an error return FALSE; } } |
| |||
{ // Don't descend into linked directories, just delete the link. jimport('joomla.filesystem.file'); if (JFile::delete( [[#variable5388a120]]) !== TRUE) { // JFile::delete throws an error return FALSE; } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5388a120]] | $folder |
1 | 2 | [[#5388a120]] | $files |