Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 2 | 2 | 0.957 | executable_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 66 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/types/MapperTest.java |
2 | 8 | 76 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/types/MapperTest.java |
| |||||
try { m.setFrom("*.java"); fail("Can set from in Mapper that is a reference."); } catch (BuildException be) { assertEquals("You must not specify more than one attribute when using refid", be.getMessage()); } |
| |||||
try { m.setTo("*.java"); fail("Can set to in Mapper that is a reference."); } catch (BuildException be) { assertEquals("You must not specify more than one attribute when using refid", be.getMessage()); } |
| |||
try { m. [[#variable130b79e0]]("*.java"); fail( [[#variable130b7940]]); } 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 | [[#130b79e0]] | setFrom |
1 | 2 | [[#130b79e0]] | setTo |
2 | 1 | [[#130b7940]] | "Can set from in Mapper that is a reference." |
2 | 2 | [[#130b7940]] | "Can set to in Mapper that is a reference." |