Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 12 | 3 | 0.950 | executable_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 321 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/IntrospectionHelperTest.java |
2 | 7 | 328 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/IntrospectionHelperTest.java |
3 | 7 | 335 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/IntrospectionHelperTest.java |
4 | 7 | 349 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/IntrospectionHelperTest.java |
5 | 7 | 356 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/IntrospectionHelperTest.java |
6 | 7 | 363 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/IntrospectionHelperTest.java |
7 | 7 | 376 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/IntrospectionHelperTest.java |
8 | 7 | 383 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/IntrospectionHelperTest.java |
9 | 7 | 390 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/IntrospectionHelperTest.java |
10 | 7 | 397 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/IntrospectionHelperTest.java |
11 | 7 | 404 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/IntrospectionHelperTest.java |
12 | 7 | 411 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/IntrospectionHelperTest.java |
| |||||
try { ih.setAttribute(p, this, "seven", "3"); fail("2 shouldn\'t be equals to three"); } catch (BuildException be) { assertTrue(be.getException() instanceof AssertionFailedError); } |
| |||||
try { ih.setAttribute(p, this, "eight", "3"); fail("2 shouldn\'t be equals to three - as int"); } catch (BuildException be) { assertTrue(be.getException() instanceof AssertionFailedError); } |
| |||||
try { ih.setAttribute(p, this, "nine", "3"); fail("2 shouldn\'t be equals to three - as Integer"); } catch (BuildException be) { assertTrue(be.getException() instanceof AssertionFailedError); } |
| |||||
try { ih.setAttribute(p, this, "eleven", "on"); fail("on shouldn\'t be false"); } catch (BuildException be) { assertTrue(be.getException() instanceof AssertionFailedError); } |
| |||||
try { ih.setAttribute(p, this, "twelve", "on"); fail("on shouldn\'t be false"); } catch (BuildException be) { assertTrue(be.getException() instanceof AssertionFailedError); } |
| |||||
try { ih.setAttribute(p, this, "thirteen", "org.apache.tools.ant.ProjectHelper"); fail("org.apache.tools.ant.Project shouldn\'t be equal to org.apache.tools.ant.ProjectHelper"); } catch (BuildException be) { assertTrue(be.getException() instanceof AssertionFailedError); } |
| |||||
try { ih.setAttribute(p, this, "fourteen", "on"); fail("2 shouldn\'t be equals to three - as StringBuffer"); } catch (BuildException be) { assertTrue(be.getException() instanceof AssertionFailedError); } |
| |||||
try { ih.setAttribute(p, this, "fifteen", "on"); fail("o shouldn\'t be equal to a"); } catch (BuildException be) { assertTrue(be.getException() instanceof AssertionFailedError); } |
| |||||
try { ih.setAttribute(p, this, "sixteen", "on"); fail("o shouldn\'t be equal to a"); } catch (BuildException be) { assertTrue(be.getException() instanceof AssertionFailedError); } |
| |||||
try { ih.setAttribute(p, this, "seventeen", "3"); fail("17 shouldn\'t be equals to three"); } catch (BuildException be) { assertTrue(be.getException() instanceof AssertionFailedError); } |
| |||||
try { ih.setAttribute(p, this, "eightteen", "3"); fail("18 shouldn\'t be equals to three"); } catch (BuildException be) { assertTrue(be.getException() instanceof AssertionFailedError); } |
| |||||
try { ih.setAttribute(p, this, "nineteen", "3"); fail("19 shouldn\'t be equals to three"); } catch (BuildException be) { assertTrue(be.getException() instanceof AssertionFailedError); } |
| |||
try { ih.setAttribute(p, this, [[#variable1118d7a0]], [[#variablefa16320]]); fail( [[#variablefa16300]]); } catch (BuildException be) { assertTrue(be.getException() instanceof AssertionFailedError); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#1118d7a0]] | "seven" |
1 | 2 | [[#1118d7a0]] | "eight" |
1 | 3 | [[#1118d7a0]] | "nine" |
1 | 4 | [[#1118d7a0]] | "eleven" |
1 | 5 | [[#1118d7a0]] | "twelve" |
1 | 6 | [[#1118d7a0]] | "thirteen" |
1 | 7 | [[#1118d7a0]] | "fourteen" |
1 | 8 | [[#1118d7a0]] | "fifteen" |
1 | 9 | [[#1118d7a0]] | "sixteen" |
1 | 10 | [[#1118d7a0]] | "seventeen" |
1 | 11 | [[#1118d7a0]] | "eightteen" |
1 | 12 | [[#1118d7a0]] | "nineteen" |
2 | 1 | [[#fa16320]] | "3" |
2 | 2 | [[#fa16320]] | "3" |
2 | 3 | [[#fa16320]] | "3" |
2 | 4 | [[#fa16320]] | "on" |
2 | 5 | [[#fa16320]] | "on" |
2 | 6 | [[#fa16320]] | "org.apache.tools.ant.ProjectHelper" |
2 | 7 | [[#fa16320]] | "on" |
2 | 8 | [[#fa16320]] | "on" |
2 | 9 | [[#fa16320]] | "on" |
2 | 10 | [[#fa16320]] | "3" |
2 | 11 | [[#fa16320]] | "3" |
2 | 12 | [[#fa16320]] | "3" |
3 | 1 | [[#fa16300]] | "2 shouldn\'t be equals to three" |
3 | 2 | [[#fa16300]] | "2 shouldn\'t be equals to three - as int" |
3 | 3 | [[#fa16300]] | "2 shouldn\'t be equals to three - as Integer" |
3 | 4 | [[#fa16300]] | "on shouldn\'t be false" |
3 | 5 | [[#fa16300]] | "on shouldn\'t be false" |
3 | 6 | [[#fa16300]] | "org.apache.tools.ant.Project shouldn\'t be equal to org.apache.tools.ant.ProjectHelper" |
3 | 7 | [[#fa16300]] | "2 shouldn\'t be equals to three - as StringBuffer" |
3 | 8 | [[#fa16300]] | "o shouldn\'t be equal to a" |
3 | 9 | [[#fa16300]] | "o shouldn\'t be equal to a" |
3 | 10 | [[#fa16300]] | "17 shouldn\'t be equals to three" |
3 | 11 | [[#fa16300]] | "18 shouldn\'t be equals to three" |
3 | 12 | [[#fa16300]] | "19 shouldn\'t be equals to three" |