Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 1 | 0.990 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 220 | plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/model/JUnitModel.java |
2 | 5 | 236 | 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()); } } |
| ||||
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()); } } |
| |||
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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#a0be2a60]] | testStarted |
1 | 2 | [[#a0be2a60]] | testEnded |