Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 2 | 2 | 0.970 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 10 | 410 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/types/PathTest.java |
2 | 9 | 70 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/types/PatternSetTest.java |
| |||||
p.setRefid(new Reference("dummyref")); try { p.setLocation(new File("/a")); fail("Can set location in Path that is a reference."); } catch (BuildException be) { assertEquals("You must not specify more than one attribute when using refid", be.getMessage()); } |
| |||||
p.setRefid(new Reference("dummyref")); try { p.setIncludesfile(new File("/a")); fail("Can set includesfile in PatternSet that is a reference."); } catch (BuildException be) { assertEquals("You must not specify more than one attribute when using refid", be.getMessage()); } |
| |||
p.setRefid(new Reference("dummyref")); try { p. [[#variable130086c0]](new File("/a")); fail( [[#variable130086e0]]); } catch (BuildException be) { assertEquals("You must not specify more than one attribute when using refid", be.getMessage()); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#130086c0]] | setLocation |
1 | 2 | [[#130086c0]] | setIncludesfile |
2 | 1 | [[#130086e0]] | "Can set location in Path that is a reference." |
2 | 2 | [[#130086e0]] | "Can set includesfile in PatternSet that is a reference." |