Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
12 | 2 | 5 | 0.977 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 12 | 74 | plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/TestSessionLabelProvider.java |
2 | 12 | 89 | plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/TestSessionLabelProvider.java |
| ||||
if (status.isNotRun()) return fTestRunnerPart.fTestIcon; else if (status.isRunning()) return fTestRunnerPart.fTestRunningIcon; else if (status.isError()) return fTestRunnerPart.fTestErrorIcon; else if (status.isFailure()) return fTestRunnerPart.fTestFailIcon; else if (status.isOK()) return fTestRunnerPart.fTestOkIcon; else throw new IllegalStateException(element.toString()); |
| ||||
if (status.isNotRun()) return fTestRunnerPart.fSuiteIcon; else if (status.isRunning()) return fTestRunnerPart.fSuiteRunningIcon; else if (status.isError()) return fTestRunnerPart.fSuiteErrorIcon; else if (status.isFailure()) return fTestRunnerPart.fSuiteFailIcon; else if (status.isOK()) return fTestRunnerPart.fSuiteOkIcon; else throw new IllegalStateException(element.toString()); |
| |||
if (status.isNotRun()) return fTestRunnerPart. [[#variableb2113740]]; else if (status.isRunning()) return fTestRunnerPart. [[#variableb21136a0]]; else if (status.isError()) return fTestRunnerPart. [[#variableb2113620]]; else if (status.isFailure()) return fTestRunnerPart. [[#variableb21135c0]]; else if (status.isOK()) return fTestRunnerPart. [[#variableb2113560]]; else throw new IllegalStateException(element.toString()); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b2113740]] | fSuiteIcon |
1 | 2 | [[#b2113740]] | fTestIcon |
2 | 1 | [[#b21136a0]] | fSuiteRunningIcon |
2 | 2 | [[#b21136a0]] | fTestRunningIcon |
3 | 1 | [[#b2113620]] | fSuiteErrorIcon |
3 | 2 | [[#b2113620]] | fTestErrorIcon |
4 | 1 | [[#b21135c0]] | fSuiteFailIcon |
4 | 2 | [[#b21135c0]] | fTestFailIcon |
5 | 1 | [[#b2113560]] | fSuiteOkIcon |
5 | 2 | [[#b2113560]] | fTestOkIcon |