Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 2 | 1 | 0.966 | executable_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 406 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/util/FileUtilsTest.java |
2 | 2 | 408 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/util/FileUtilsTest.java |
| |||||
assertEquals("bar", FILE_UTILS.removeLeadingPath(new File("c:\\foo"), new File("c:\\foo\\bar"))); |
| |||||
assertEquals("bar", FILE_UTILS.removeLeadingPath(new File("c:\\foo\\"), new File("c:\\foo\\bar"))); |
| |||
assertEquals("bar", FILE_UTILS.removeLeadingPath(new File( [[#variable112d6ce0]]), new File("c:\\foo\\bar"))); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#112d6ce0]] | "c:\\foo" |
1 | 2 | [[#112d6ce0]] | "c:\\foo\\" |