CloneSet3238


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5210.990class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15220
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/model/JUnitModel.java
25236
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/model/JUnitModel.java
Clone Instance
1
Line Count
5
Source Line
220
Source File
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/model/JUnitModel.java

                                public void testStarted(TestCaseElement testCaseElement) {
                                        ITestRunListener[] testRunListeners = JUnitPlugin.getDefault().getTestRunListeners();
                                        for (int i = 0; i < testRunListeners.length; i++) {
                                                ITestRunListener testRunListener = testRunListeners[i];
                                                testRunListener.testStarted(testCaseElement.getId(), testCaseElement.getTestName());
                                        }
                                }


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

                                public void testEnded(TestCaseElement testCaseElement) {
                                        ITestRunListener[] testRunListeners = JUnitPlugin.getDefault().getTestRunListeners();
                                        for (int i = 0; i < testRunListeners.length; i++) {
                                                ITestRunListener testRunListener = testRunListeners[i];
                                                testRunListener.testEnded(testCaseElement.getId(), testCaseElement.getTestName());
                                        }
                                }


Clone AbstractionParameter Count: 1Parameter Bindings

public void [[#variablea0be2a60]](TestCaseElement testCaseElement) {
  ITestRunListener[] testRunListeners = JUnitPlugin.getDefault().getTestRunListeners();
  for (int i = 0; i < testRunListeners.length; i++) {
    ITestRunListener testRunListener = testRunListeners[i];
    testRunListener. [[#variablea0be2a60]](testCaseElement.getId(), testCaseElement.getTestName());
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a0be2a60]]
testStarted 
12[[#a0be2a60]]
testEnded