Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
11 | 2 | 2 | 0.992 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 11 | 428 | libraries/joomla/filesystem/folder.php |
2 | 11 | 496 | libraries/joomla/filesystem/folder.php |
| ||||
// Is the path a folder? if (!is_dir($path)) { JError::raiseWarning(21, 'JFolder::files: ' . JText::_('Path is not a folder'), 'Path: ' . $path); return FALSE; } // read the source directory $handle= opendir($path); if (count($excludefilter)) { $excludefilter= '/(' . implode('|', $excludefilter) . ')/'; } else { $excludefilter= ''; } |
| ||||
// Is the path a folder? if (!is_dir($path)) { JError::raiseWarning(21, 'JFolder::folder: ' . JText::_('Path is not a folder'), 'Path: ' . $path); return FALSE; } // read the source directory $handle= opendir($path); if (count($excludefilter)) { $excludefilter_string= '/(' . implode('|', $excludefilter) . ')/'; } else { $excludefilter_string= ''; } |
| |||
// Is the path a folder? if (!is_dir($path)) { JError::raiseWarning(21, [[#variable53e0b900]] . JText::_('Path is not a folder'),'Path: ' . $path); return FALSE; } // read the source directory $handle=opendir($path); if (count($excludefilter)) { [[#variable53e0b8c0]]='/(' . implode('|',$excludefilter) . ')/'; } else { [[#variable53e0b8c0]]=''; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#53e0b900]] | 'JFolder::folder: ' |
1 | 2 | [[#53e0b900]] | 'JFolder::files: ' |
2 | 1 | [[#53e0b8c0]] | $excludefilter_string |
2 | 2 | [[#53e0b8c0]] | $excludefilter |