Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 2 | 2 | 0.959 | block |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 32 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/taskdefs/AntLikeTasksAtTopLevelTest.java |
2 | 9 | 42 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/taskdefs/AntLikeTasksAtTopLevelTest.java |
| |||||
{ try { configureProject("src/etc/testcases/taskdefs/toplevelant.xml"); fail("no exception thrown"); } catch (BuildException e) { assertEquals("ant task at the top level must not invoke its own" + " build file.", e.getMessage()); } } |
| |||||
{ try { configureProject("src/etc/testcases/taskdefs/toplevelsubant.xml"); fail("no exception thrown"); } catch (BuildException e) { assertEquals("subant task at the top level must not invoke its own" + " build file.", e.getMessage()); } } |
| |||
{ try { configureProject( [[#variable130a20e0]]); fail("no exception thrown"); } catch (BuildException e) { assertEquals( [[#variable130a2080]] + " build file.", e.getMessage()); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#130a20e0]] | "src/etc/testcases/taskdefs/toplevelant.xml" |
1 | 2 | [[#130a20e0]] | "src/etc/testcases/taskdefs/toplevelsubant.xml" |
2 | 1 | [[#130a2080]] | "ant task at the top level must not invoke its own" |
2 | 2 | [[#130a2080]] | "subant task at the top level must not invoke its own" |