Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
10 | 2 | 2 | 0.969 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 10 | 49 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/taskdefs/PropertyTest.java |
2 | 10 | 95 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/taskdefs/PropertyTest.java |
| |||||
public void test3() { try { executeTarget("test3"); } catch (BuildException e) { assertTrue("Circular definition not detected - ", e.getMessage().indexOf("was circularly defined") != -1); return; } fail("Did not throw exception on circular exception"); } |
| |||||
public void testCircularReference() { try { executeTarget("testCircularReference"); } catch (BuildException e) { assertTrue("Circular definition not detected - ", e.getMessage().indexOf("was circularly defined") != -1); return; } fail("Did not throw exception on circular exception"); } |
| |||
public void [[#variable13164d40]]() { try { executeTarget( [[#variable13164cc0]]); } catch (BuildException e) { assertTrue("Circular definition not detected - ", e.getMessage().indexOf("was circularly defined") != -1); return; } fail("Did not throw exception on circular exception"); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#13164d40]] | test3 |
1 | 2 | [[#13164d40]] | testCircularReference |
2 | 1 | [[#13164cc0]] | "test3" |
2 | 2 | [[#13164cc0]] | "testCircularReference" |