CloneSet8936


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5230.963statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15108
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/model/TestElement.java
26121
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/model/TestElement.java
Clone Instance
1
Line Count
5
Source Line
108
Source File
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;


Clone Instance
2
Line Count
6
Source Line
121
Source File
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/model/TestElement.java

//                      Assert.isTrue(progress.isRunning());
                        if (error.isError())
                                return RUNNING_ERROR;
                        if (error.isFailure())
                                return RUNNING_FAILURE;
//                      Assert.isTrue(error.isOK());
                        return RUNNING;


Clone AbstractionParameter Count: 3Parameter Bindings

//                      Assert.isTrue(progress.isRunning());
if (error.isError())
  return [[#variablebaea5200]];
if (error.isFailure())
  return [[#variableb5208fa0]];
//                      Assert.isTrue(error.isOK());
return [[#variableb520a560]];
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#baea5200]]
ERROR 
12[[#baea5200]]
RUNNING_ERROR 
21[[#b5208fa0]]
FAILURE 
22[[#b5208fa0]]
RUNNING_FAILURE 
31[[#b520a560]]
OK 
32[[#b520a560]]
RUNNING