Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 2 | 2 | 0.993 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 476 | plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/model/RemoteTestRunnerClient.java |
2 | 9 | 490 | plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/model/RemoteTestRunnerClient.java |
| ||||
private void notifyTestEnded( final String test) { if (JUnitPlugin.isStopped()) return; for (int i = 0; i < fListeners.length; i++) { final ITestRunListener listener = fListeners[i]; SafeRunner.run(new ListenerSafeRunnable() { public void run() { String s[] = extractTestId(test); listener.testEnded(s[0], s[1]); } } ); } } |
| ||||
private void notifyTestStarted( final String test) { if (JUnitPlugin.isStopped()) return; for (int i = 0; i < fListeners.length; i++) { final ITestRunListener listener = fListeners[i]; SafeRunner.run(new ListenerSafeRunnable() { public void run() { String s[] = extractTestId(test); listener.testStarted(s[0], s[1]); } } ); } } |
| |||
private void [[#variable50e0f740]]( final String test) { if (JUnitPlugin.isStopped()) return; for (int i = 0; i < fListeners.length; i++) { final ITestRunListener listener = fListeners[i]; SafeRunner.run(new ListenerSafeRunnable() { public void run() { String s[] = extractTestId(test); listener. [[#variable50e0f6e0]](s[0], s[1]); } } ); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#50e0f740]] | notifyTestEnded |
1 | 2 | [[#50e0f740]] | notifyTestStarted |
2 | 1 | [[#50e0f6e0]] | testEnded |
2 | 2 | [[#50e0f6e0]] | testStarted |