Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 6 | 2 | 0.952 | executable_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 290 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/IntrospectionHelperTest.java |
2 | 6 | 295 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/IntrospectionHelperTest.java |
3 | 6 | 300 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/IntrospectionHelperTest.java |
4 | 6 | 305 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/IntrospectionHelperTest.java |
5 | 6 | 310 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/IntrospectionHelperTest.java |
6 | 6 | 315 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/IntrospectionHelperTest.java |
| |||||
try { ih.setAttribute(p, this, "one", "test"); fail("setOne doesn\'t exist"); } catch (BuildException be) { } |
| |||||
try { ih.setAttribute(p, this, "two", "test"); fail("setTwo returns non void"); } catch (BuildException be) { } |
| |||||
try { ih.setAttribute(p, this, "three", "test"); fail("setThree takes no args"); } catch (BuildException be) { } |
| |||||
try { ih.setAttribute(p, this, "four", "test"); fail("setFour takes two args"); } catch (BuildException be) { } |
| |||||
try { ih.setAttribute(p, this, "five", "test"); fail("setFive takes array arg"); } catch (BuildException be) { } |
| |||||
try { ih.setAttribute(p, this, "six", "test"); fail("Project doesn\'t have a String constructor"); } catch (BuildException be) { } |
| |||
try { ih.setAttribute(p, this, [[#variablefe8be60]], "test"); fail( [[#variablefe8be00]]); } catch (BuildException be) { } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#fe8be60]] | "one" |
1 | 2 | [[#fe8be60]] | "two" |
1 | 3 | [[#fe8be60]] | "three" |
1 | 4 | [[#fe8be60]] | "four" |
1 | 5 | [[#fe8be60]] | "five" |
1 | 6 | [[#fe8be60]] | "six" |
2 | 1 | [[#fe8be00]] | "setOne doesn\'t exist" |
2 | 2 | [[#fe8be00]] | "setTwo returns non void" |
2 | 3 | [[#fe8be00]] | "setThree takes no args" |
2 | 4 | [[#fe8be00]] | "setFour takes two args" |
2 | 5 | [[#fe8be00]] | "setFive takes array arg" |
2 | 6 | [[#fe8be00]] | "Project doesn\'t have a String constructor" |