CloneSet754


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
2220.961method_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12639
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/ExecuteOn.java
22650
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/ExecuteOn.java
Next
Last
Clone Instance
1
Line Count
2
Source Line
639
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/ExecuteOn.java

/**
 * Return the list of files from this DirectoryScanner that should
 * be included on the command line.
 * @param baseDir the File base directory.
 * @param ds the DirectoryScanner to use for file scanning.
 * @return a String[] containing the filenames.
 */
protected String[] getFiles(File baseDir, DirectoryScanner ds) {
  return restrict(ds.getIncludedFiles(), baseDir);
}


First
Previous
Clone Instance
2
Line Count
2
Source Line
650
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/ExecuteOn.java

/**
 * Return the list of Directories from this DirectoryScanner that
 * should be included on the command line.
 * @param baseDir the File base directory.
 * @param ds the DirectoryScanner to use for file scanning.
 * @return a String[] containing the directory names.
 */
protected String[] getDirs(File baseDir, DirectoryScanner ds) {
  return restrict(ds.getIncludedDirectories(), baseDir);
}


Clone AbstractionParameter Count: 2Parameter Bindings

/**
     * Return the list of Directories from this DirectoryScanner that
     * should be included on the command line.
     * @param baseDir the File base directory.
     * @param ds the DirectoryScanner to use for file scanning.
     * @return a String[] containing the directory names.
     */
/**
     * Return the list of files from this DirectoryScanner that should
     * be included on the command line.
     * @param baseDir the File base directory.
     * @param ds the DirectoryScanner to use for file scanning.
     * @return a String[] containing the filenames.
     */
protected String[]  [[#variable1307e1a0]](File baseDir, DirectoryScanner ds) {
  return restrict(ds. [[#variable1307e280]](), baseDir);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1307e1a0]]
getFiles 
12[[#1307e1a0]]
getDirs 
21[[#1307e280]]
getIncludedFiles 
22[[#1307e280]]
getIncludedDirectories