Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 6 | 2 | 0.956 | executable_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 427 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/types/PathTest.java |
2 | 9 | 435 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/types/PathTest.java |
3 | 8 | 92 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/types/PatternSetTest.java |
4 | 8 | 99 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/types/PatternSetTest.java |
5 | 8 | 106 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/types/PatternSetTest.java |
6 | 8 | 113 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/types/PatternSetTest.java |
| |||||
try { p.createPath(); fail("Can create nested Path in Path that is a reference."); } catch (BuildException be) { assertEquals("You must not specify nested elements when using refid", be.getMessage()); } |
| |||||
try { p.createPathElement(); fail("Can create nested PathElement in Path that is a reference."); } catch (BuildException be) { assertEquals("You must not specify nested elements when using refid", be.getMessage()); } |
| |||||
try { p.createInclude(); fail("Can add nested include in PatternSet that is a reference."); } catch (BuildException be) { assertEquals("You must not specify nested elements when using refid", be.getMessage()); } |
| |||||
try { p.createExclude(); fail("Can add nested exclude in PatternSet that is a reference."); } catch (BuildException be) { assertEquals("You must not specify nested elements when using refid", be.getMessage()); } |
| |||||
try { p.createIncludesFile(); fail("Can add nested includesfile in PatternSet that is a reference."); } catch (BuildException be) { assertEquals("You must not specify nested elements when using refid", be.getMessage()); } |
| |||||
try { p.createExcludesFile(); fail("Can add nested excludesfile in PatternSet that is a reference."); } catch (BuildException be) { assertEquals("You must not specify nested elements when using refid", be.getMessage()); } |
| |||
try { p. [[#variable111dc720]](); fail( [[#variable111dc620]]); } catch (BuildException be) { assertEquals("You must not specify nested elements when using refid", be.getMessage()); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#111dc720]] | createPath |
1 | 2 | [[#111dc720]] | createPathElement |
1 | 3 | [[#111dc720]] | createInclude |
1 | 4 | [[#111dc720]] | createExclude |
1 | 5 | [[#111dc720]] | createIncludesFile |
1 | 6 | [[#111dc720]] | createExcludesFile |
2 | 1 | [[#111dc620]] | "Can create nested Path in Path that is a reference." |
2 | 2 | [[#111dc620]] | "Can create nested PathElement in Path that is a reference." |
2 | 3 | [[#111dc620]] | "Can add nested include in PatternSet that is a reference." |
2 | 4 | [[#111dc620]] | "Can add nested exclude in PatternSet that is a reference." |
2 | 5 | [[#111dc620]] | "Can add nested includesfile in PatternSet that is a reference." |
2 | 6 | [[#111dc620]] | "Can add nested excludesfile in PatternSet that is a reference." |