Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
11 | 3 | 3 | 0.959 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 11 | 57 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/types/AbstractFileSetTest.java |
2 | 11 | 69 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/types/AbstractFileSetTest.java |
3 | 11 | 81 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/types/AbstractFileSetTest.java |
| |||||
try { f.setRefid(new Reference("dummyref")); fail("Can add reference to " + f.getDataTypeName() + " with elements from setIncludes"); } catch (BuildException be) { assertEquals("You must not specify more than one attribute " + "when using refid", be.getMessage()); } f = getInstance(); |
| |||||
try { f.setRefid(new Reference("dummyref")); fail("Can add reference to " + f.getDataTypeName() + " with nested patternset element."); } catch (BuildException be) { assertEquals("You must not specify nested elements when " + "using refid", be.getMessage()); } f = getInstance(); |
| |||||
try { f.setRefid(new Reference("dummyref")); fail("Can add reference to " + f.getDataTypeName() + " with nested include element."); } catch (BuildException be) { assertEquals("You must not specify more than one attribute " + "when using refid", be.getMessage()); } f = getInstance(); |
| |||
try { f.setRefid(new Reference("dummyref")); fail("Can add reference to " + f.getDataTypeName() + [[#variable101279e0]]); } catch (BuildException be) { assertEquals( [[#variable10129500]] + [[#variable1011cb00]], be.getMessage()); } f = getInstance(); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#101279e0]] | " with elements from setIncludes" |
1 | 2 | [[#101279e0]] | " with nested patternset element." |
1 | 3 | [[#101279e0]] | " with nested include element." |
2 | 1 | [[#10129500]] | "You must not specify more than one attribute " |
2 | 2 | [[#10129500]] | "You must not specify nested elements when " |
2 | 3 | [[#10129500]] | "You must not specify more than one attribute " |
3 | 1 | [[#1011cb00]] | "when using refid" |
3 | 2 | [[#1011cb00]] | "using refid" |
3 | 3 | [[#1011cb00]] | "when using refid" |