Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 3 | 0.955 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 605 | plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/TestViewer.java |
2 | 7 | 622 | plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/TestViewer.java |
| ||||
for (int i = nextIndex; i < siblings.size(); i++) { TestElement sibling = (TestElement) siblings.get(i); if (sibling.getStatus().isErrorOrFailure()) { if (sibling instanceof TestCaseElement) { return (TestCaseElement) sibling; } else { return getNextChildFailure((TestSuiteElement) sibling, showNext); } } } |
| ||||
for (int i = 0; i < children.size(); i++) { TestElement child = (TestElement) children.get(i); if (child.getStatus().isErrorOrFailure()) { if (child instanceof TestCaseElement) { return (TestCaseElement) child; } else { return getNextChildFailure((TestSuiteElement) child, showNext); } } } |
| |||
for (int i = [[#variable96171b60]]; i < [[#variable96170160]].size(); i++) { TestElement [[#variable96171ac0]]= (TestElement) [[#variable96170160]].get(i); if ( [[#variable96171ac0]].getStatus().isErrorOrFailure()) { if ( [[#variable96171ac0]]instanceof TestCaseElement) { return (TestCaseElement) [[#variable96171ac0]]; } else { return getNextChildFailure((TestSuiteElement) [[#variable96171ac0]], showNext); } } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#96171b60]] | nextIndex |
1 | 2 | [[#96171b60]] | 0 |
2 | 1 | [[#96170160]] | siblings |
2 | 2 | [[#96170160]] | children |
3 | 1 | [[#96171ac0]] | sibling |
3 | 2 | [[#96171ac0]] | child |