CloneSet2915


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
12250.977statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11274
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/TestSessionLabelProvider.java
21289
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/TestSessionLabelProvider.java
Clone Instance
1
Line Count
12
Source Line
74
Source File
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());


Clone Instance
2
Line Count
12
Source Line
89
Source File
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/TestSessionLabelProvider.java

                        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());


Clone AbstractionParameter Count: 5Parameter Bindings

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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b2113740]]
fSuiteIcon 
12[[#b2113740]]
fTestIcon 
21[[#b21136a0]]
fSuiteRunningIcon 
22[[#b21136a0]]
fTestRunningIcon 
31[[#b2113620]]
fSuiteErrorIcon 
32[[#b2113620]]
fTestErrorIcon 
41[[#b21135c0]]
fSuiteFailIcon 
42[[#b21135c0]]
fTestFailIcon 
51[[#b2113560]]
fSuiteOkIcon 
52[[#b2113560]]
fTestOkIcon