Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 2 | 2 | 0.961 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 639 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/ExecuteOn.java |
2 | 2 | 650 | 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); } |
| |||||
/** * 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); } |
| |||
/** * 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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#1307e1a0]] | getFiles |
1 | 2 | [[#1307e1a0]] | getDirs |
2 | 1 | [[#1307e280]] | getIncludedFiles |
2 | 2 | [[#1307e280]] | getIncludedDirectories |