CloneSet443


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
11220.992statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
111428
libraries/joomla/filesystem/folder.php
211496
libraries/joomla/filesystem/folder.php
Clone Instance
1
Line Count
11
Source Line
428
Source File
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=  '';
                      }


Clone Instance
2
Line Count
11
Source Line
496
Source File
libraries/joomla/filesystem/folder.php

                // 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=  '';
                      }


Clone AbstractionParameter Count: 2Parameter Bindings

// 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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#53e0b900]]
'JFolder::folder: ' 
12[[#53e0b900]]
'JFolder::files: ' 
21[[#53e0b8c0]]
$excludefilter_string 
22[[#53e0b8c0]]
$excludefilter