Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
11 | 2 | 3 | 0.960 | block |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 10 | 60 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/IncludeTest.java |
2 | 11 | 86 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/IncludeTest.java |
| |||||
{ try { configureProject("src/etc/testcases/core/include/including_file_parse_error/build.xml"); fail("should have caused a parser exception"); } catch (BuildException e) { assertTrue(e.getLocation().toString() + " should refer to build.xml", e.getLocation().toString().indexOf("build.xml:") > -1); } } |
| |||||
{ try { configureProject("src/etc/testcases/core/include/included_file_parse_error/build.xml"); fail("should have caused a parser exception"); } catch (BuildException e) { assertTrue(e.getLocation().toString() + " should refer to included_file.xml", e.getLocation().toString().indexOf("included_file.xml:") > -1); } } |
| |||
{ try { configureProject( [[#variable13129b40]]); fail("should have caused a parser exception"); } catch (BuildException e) { assertTrue(e.getLocation().toString() + [[#variable13129aa0]], e.getLocation().toString().indexOf( [[#variable13129a00]]) > -1); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#13129b40]] | "src/etc/testcases/core/include/including_file_parse_error/build.xml" |
1 | 2 | [[#13129b40]] | "src/etc/testcases/core/include/included_file_parse_error/build.xml" |
2 | 1 | [[#13129aa0]] | " should refer to build.xml" |
2 | 2 | [[#13129aa0]] | " should refer to included_file.xml" |
3 | 1 | [[#13129a00]] | "build.xml:" |
3 | 2 | [[#13129a00]] | "included_file.xml:" |