Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 2 | 2 | 0.957 | block |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 47 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/taskdefs/CVSPassTest.java |
2 | 8 | 56 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/taskdefs/CVSPassTest.java |
| |||||
{ try { executeTarget("test1"); fail("BuildException not thrown"); } catch (BuildException e) { assertEquals("cvsroot is required", e.getMessage()); } } |
| |||||
{ try { executeTarget("test2"); fail("BuildException not thrown"); } catch (BuildException e) { assertEquals("password is required", e.getMessage()); } } |
| |||
{ try { executeTarget( [[#variable130e9bc0]]); fail("BuildException not thrown"); } catch (BuildException e) { assertEquals( [[#variable130e9b60]], e.getMessage()); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#130e9bc0]] | "test1" |
1 | 2 | [[#130e9bc0]] | "test2" |
2 | 1 | [[#130e9b60]] | "cvsroot is required" |
2 | 2 | [[#130e9b60]] | "password is required" |