Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 3 | 1 | 0.966 | block |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 88 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/ExecutorTest.java |
2 | 9 | 98 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/ExecutorTest.java |
3 | 9 | 118 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/ExecutorTest.java |
| |||||
{ try { getProject(null, true).executeTargets(targetNames); fail("should fail"); } catch (BuildException e) { assertTrue(e.getMessage().equals("failfoo")); assertEquals(targetCount, 1); } } |
| |||||
{ try { getProject(SINGLE_CHECK, true).executeTargets(targetNames); fail("should fail"); } catch (BuildException e) { assertTrue(e.getMessage().equals("failfoo")); assertEquals(targetCount, 1); } } |
| |||||
{ try { getProject(SINGLE_CHECK, true, true).executeTargets(targetNames); fail("should fail"); } catch (BuildException e) { assertTrue(e.getMessage().equals("failfoo")); assertEquals(targetCount, 1); } } |
| |||
{ try { getProject( [[#variable101022e0]], true).executeTargets(targetNames); fail("should fail"); } catch (BuildException e) { assertTrue(e.getMessage().equals("failfoo")); assertEquals(targetCount, 1); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#101022e0]] | null |
1 | 2 | [[#101022e0]] | SINGLE_CHECK |
1 | 3 | [[#101022e0]] | SINGLE_CHECK, true |