CloneSet3503


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4240.979statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
13439
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/model/TestRunSession.java
24477
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/model/TestRunSession.java
Clone Instance
1
Line Count
3
Source Line
439
Source File
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/model/TestRunSession.java

                        Object[] listeners = fSessionListeners.getListeners();
                        for (int i = 0; i < listeners.length; ++i) {
                                ((ITestSessionListener) listeners[i]).testFailed(testElement, status, trace, expected, actual);
                        }


Clone Instance
2
Line Count
4
Source Line
477
Source File
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/model/TestRunSession.java

                        Object[] listeners = fSessionListeners.getListeners();
                        for (int i = 0; i < listeners.length; ++i) {
                                //TODO: post old & new status?
                                ((ITestSessionListener) listeners[i]).testReran(testCaseElement, status, trace, expectedResult, actualResult);
                        }


Clone AbstractionParameter Count: 4Parameter Bindings

Object[] listeners = fSessionListeners.getListeners();
for (int i = 0; i < listeners.length; ++i) {
  //TODO: post old & new status?
  ((ITestSessionListener) listeners[i]). [[#variable9d12c600]]( [[#variable9d12c640]], status, trace,  [[#variable9d12c560]],  [[#variable9d12c4e0]]);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#9d12c600]]
testReran 
12[[#9d12c600]]
testFailed 
21[[#9d12c640]]
testCaseElement 
22[[#9d12c640]]
testElement 
31[[#9d12c560]]
expectedResult 
32[[#9d12c560]]
expected 
41[[#9d12c4e0]]
actualResult 
42[[#9d12c4e0]]
actual