CloneSet2596


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4320.968statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14190
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/model/JUnitModel.java
24205
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/model/JUnitModel.java
34213
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/model/JUnitModel.java
Clone Instance
1
Line Count
4
Source Line
190
Source File
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/model/JUnitModel.java

                                        ITestRunListener[] testRunListeners = JUnitPlugin.getDefault().getTestRunListeners();
                                        for (int i = 0; i < testRunListeners.length; i++) {
                                                ITestRunListener testRunListener = testRunListeners[i];
                                                testRunListener.testRunStarted(fActiveTestRunSession.getTotalCount());
                                        }


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

                                        ITestRunListener[] testRunListeners = JUnitPlugin.getDefault().getTestRunListeners();
                                        for (int i = 0; i < testRunListeners.length; i++) {
                                                ITestRunListener testRunListener = testRunListeners[i];
                                                testRunListener.testRunStopped(elapsedTime);
                                        }


Clone Instance
3
Line Count
4
Source Line
213
Source File
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/model/JUnitModel.java

                                        ITestRunListener[] testRunListeners = JUnitPlugin.getDefault().getTestRunListeners();
                                        for (int i = 0; i < testRunListeners.length; i++) {
                                                ITestRunListener testRunListener = testRunListeners[i];
                                                testRunListener.testRunEnded(elapsedTime);
                                        }


Clone AbstractionParameter Count: 2Parameter Bindings

ITestRunListener[] testRunListeners = JUnitPlugin.getDefault().getTestRunListeners();
for (int i = 0; i < testRunListeners.length; i++) {
  ITestRunListener testRunListener = testRunListeners[i];
  testRunListener. [[#variable63e47d40]]( [[#variable63e47da0]]);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#63e47d40]]
testRunStarted 
12[[#63e47d40]]
testRunStopped 
13[[#63e47d40]]
testRunEnded 
21[[#63e47da0]]
fActiveTestRunSession.getTotalCount() 
22[[#63e47da0]]
elapsedTime 
23[[#63e47da0]]
elapsedTime