Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
13 | 2 | 3 | 0.963 | block |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 13 | 346 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/DirectoryScannerTest.java |
2 | 13 | 362 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/DirectoryScannerTest.java |
| |||||
{ DirectoryScanner ds = new DirectoryScanner(); ds.setBasedir(new File(getProject().getBaseDir(), "tmp")); ds.setIncludes(new String[] { "alpha/**", "alpha/beta/gamma/**" } ); ds.setExcludes(new String[] { "alpha/beta/**" } ); ds.scan(); compareFiles(ds, new String[] { }, new String[] { "alpha" } ); } |
| |||||
{ DirectoryScanner ds = new DirectoryScanner(); ds.setBasedir(new File(getProject().getBaseDir(), "tmp")); ds.setExcludes(new String[] { "alpha/**", "alpha/beta/gamma/**" } ); ds.setIncludes(new String[] { "alpha/beta/**" } ); ds.scan(); compareFiles(ds, new String[] { }, new String[] { } ); } |
| |||
{ DirectoryScanner ds = new DirectoryScanner(); ds.setBasedir(new File(getProject().getBaseDir(), "tmp")); ds. [[#variablefe1de40]](new String[] { "alpha/**", "alpha/beta/gamma/**" } ); ds. [[#variable131a9140]](new String[] { "alpha/beta/**" } ); ds.scan(); compareFiles(ds, new String[] { }, new String[] [[#variable131a9940]]); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#fe1de40]] | setIncludes |
1 | 2 | [[#fe1de40]] | setExcludes |
2 | 1 | [[#131a9140]] | setExcludes |
2 | 2 | [[#131a9140]] | setIncludes |
3 | 1 | [[#131a9940]] | { "alpha" } |
3 | 2 | [[#131a9940]] | { } |