Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 2 | 0.973 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 89 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/taskdefs/optional/ReplaceRegExpTest.java |
2 | 6 | 97 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/taskdefs/optional/ReplaceRegExpTest.java |
| |||||
public void testDontAddNewline1() throws IOException { executeTarget("testDontAddNewline1"); assertTrue("Files match", FILE_UTILS.contentEquals(new File(System.getProperty("root"), PROJECT_PATH + "/test.properties"), new File(System.getProperty("root"), PROJECT_PATH + "/replaceregexp2.result.properties"))); } |
| |||||
public void testDontAddNewline2() throws IOException { executeTarget("testDontAddNewline2"); assertTrue("Files match", FILE_UTILS.contentEquals(new File(System.getProperty("root"), PROJECT_PATH + "/test.properties"), new File(System.getProperty("root"), PROJECT_PATH + "/replaceregexp2.result.properties"))); } |
| |||
public void [[#variable13126940]]() throws IOException { executeTarget( [[#variable131266e0]]); assertTrue("Files match", FILE_UTILS.contentEquals(new File(System.getProperty("root"), PROJECT_PATH + "/test.properties"), new File(System.getProperty("root"), PROJECT_PATH + "/replaceregexp2.result.properties"))); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#13126940]] | testDontAddNewline1 |
1 | 2 | [[#13126940]] | testDontAddNewline2 |
2 | 1 | [[#131266e0]] | "testDontAddNewline1" |
2 | 2 | [[#131266e0]] | "testDontAddNewline2" |