Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 3 | 0.963 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 108 | plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/model/TestElement.java |
2 | 6 | 121 | plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/model/TestElement.java |
| ||||
if (error.isError()) return ERROR; if (error.isFailure()) return FAILURE; return OK; |
| ||||
// Assert.isTrue(progress.isRunning()); if (error.isError()) return RUNNING_ERROR; if (error.isFailure()) return RUNNING_FAILURE; // Assert.isTrue(error.isOK()); return RUNNING; |
| |||
// Assert.isTrue(progress.isRunning()); if (error.isError()) return [[#variablebaea5200]]; if (error.isFailure()) return [[#variableb5208fa0]]; // Assert.isTrue(error.isOK()); return [[#variableb520a560]]; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#baea5200]] | ERROR |
1 | 2 | [[#baea5200]] | RUNNING_ERROR |
2 | 1 | [[#b5208fa0]] | FAILURE |
2 | 2 | [[#b5208fa0]] | RUNNING_FAILURE |
3 | 1 | [[#b520a560]] | OK |
3 | 2 | [[#b520a560]] | RUNNING |