CloneSet1311


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
2730.971statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12330
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/model/JUnitModel.java
22337
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/model/JUnitModel.java
32340
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/model/TestRunSession.java
42350
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/model/TestRunSession.java
52372
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/model/TestRunSession.java
62389
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/model/TestRunSession.java
72410
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/model/TestRunSession.java
Clone Instance
1
Line Count
2
Source Line
330
Source File
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/model/JUnitModel.java

                for (int i = 0; i < listeners.length; ++i) {
                        ((ITestRunSessionListener) listeners[i]).sessionRemoved(testRunSession);
                }


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

                for (int i = 0; i < listeners.length; ++i) {
                        ((ITestRunSessionListener) listeners[i]).sessionAdded(testRunSession);
                }


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

                        for (int i = 0; i < listeners.length; ++i) {
                                ((ITestSessionListener) listeners[i]).sessionEnded(elapsedTime);
                        }


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

                        for (int i = 0; i < listeners.length; ++i) {
                                ((ITestSessionListener) listeners[i]).sessionStopped(elapsedTime);
                        }


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

                        for (int i = 0; i < listeners.length; ++i) {
                                ((ITestSessionListener) listeners[i]).testAdded(testElement);
                        }


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

                        for (int i = 0; i < listeners.length; ++i) {
                                ((ITestSessionListener) listeners[i]).testStarted(testCaseElement);
                        }


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

                        for (int i = 0; i < listeners.length; ++i) {
                                ((ITestSessionListener) listeners[i]).testEnded(testCaseElement);
                        }


Clone AbstractionParameter Count: 3Parameter Bindings

for (int i = 0; i < listeners.length; ++i) {
  (( [[#variableb0ce3180]]) listeners[i]). [[#variableb0ce3120]]( [[#variableb0ce30c0]]);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b0ce3180]]
ITestRunSessionListener 
12[[#b0ce3180]]
ITestRunSessionListener 
13[[#b0ce3180]]
ITestSessionListener 
14[[#b0ce3180]]
ITestSessionListener 
15[[#b0ce3180]]
ITestSessionListener 
16[[#b0ce3180]]
ITestSessionListener 
17[[#b0ce3180]]
ITestSessionListener 
21[[#b0ce3120]]
sessionAdded 
22[[#b0ce3120]]
sessionRemoved 
23[[#b0ce3120]]
testEnded 
24[[#b0ce3120]]
testStarted 
25[[#b0ce3120]]
testAdded 
26[[#b0ce3120]]
sessionStopped 
27[[#b0ce3120]]
sessionEnded 
31[[#b0ce30c0]]
testRunSession 
32[[#b0ce30c0]]
testRunSession 
33[[#b0ce30c0]]
testCaseElement 
34[[#b0ce30c0]]
testCaseElement 
35[[#b0ce30c0]]
testElement 
36[[#b0ce30c0]]
elapsedTime 
37[[#b0ce30c0]]
elapsedTime