Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
10 | 5 | 2 | 0.966 | executable_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 10 | 138 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/types/AbstractFileSetTest.java |
2 | 10 | 147 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/types/AbstractFileSetTest.java |
3 | 10 | 156 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/types/AbstractFileSetTest.java |
4 | 10 | 165 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/types/AbstractFileSetTest.java |
5 | 10 | 174 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/types/AbstractFileSetTest.java |
| |||||
try { f.createInclude(); fail("Can add nested include in " + f.getDataTypeName() + " that is a reference."); } catch (BuildException be) { assertEquals("You must not specify nested elements when using " + "refid", be.getMessage()); } |
| |||||
try { f.createExclude(); fail("Can add nested exclude in " + f.getDataTypeName() + " that is a reference."); } catch (BuildException be) { assertEquals("You must not specify nested elements when using " + "refid", be.getMessage()); } |
| |||||
try { f.createIncludesFile(); fail("Can add nested includesfile in " + f.getDataTypeName() + " that is a reference."); } catch (BuildException be) { assertEquals("You must not specify nested elements when using " + "refid", be.getMessage()); } |
| |||||
try { f.createExcludesFile(); fail("Can add nested excludesfile in " + f.getDataTypeName() + " that is a reference."); } catch (BuildException be) { assertEquals("You must not specify nested elements when using " + "refid", be.getMessage()); } |
| |||||
try { f.createPatternSet(); fail("Can add nested patternset in " + f.getDataTypeName() + " that is a reference."); } catch (BuildException be) { assertEquals("You must not specify nested elements when using " + "refid", be.getMessage()); } |
| |||
try { f. [[#variablefe45220]](); fail( [[#variablefe45120]] + f.getDataTypeName() + " that is a reference."); } 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 | [[#fe45220]] | createInclude |
1 | 2 | [[#fe45220]] | createExclude |
1 | 3 | [[#fe45220]] | createIncludesFile |
1 | 4 | [[#fe45220]] | createExcludesFile |
1 | 5 | [[#fe45220]] | createPatternSet |
2 | 1 | [[#fe45120]] | "Can add nested include in " |
2 | 2 | [[#fe45120]] | "Can add nested exclude in " |
2 | 3 | [[#fe45120]] | "Can add nested includesfile in " |
2 | 4 | [[#fe45120]] | "Can add nested excludesfile in " |
2 | 5 | [[#fe45120]] | "Can add nested patternset in " |