Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 3 | 4 | 0.974 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 450 | plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/model/RemoteTestRunnerClient.java |
2 | 8 | 463 | plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/model/RemoteTestRunnerClient.java |
3 | 8 | 504 | plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/model/RemoteTestRunnerClient.java |
| ||||
private void notifyTestRunStopped( final long elapsedTime) { if (JUnitPlugin.isStopped()) return; for (int i = 0; i < fListeners.length; i++) { final ITestRunListener listener = fListeners[i]; SafeRunner.run(new ListenerSafeRunnable() { public void run() { listener.testRunStopped(elapsedTime); } } ); } } |
| ||||
private void testRunEnded( final long elapsedTime) { if (JUnitPlugin.isStopped()) return; for (int i = 0; i < fListeners.length; i++) { final ITestRunListener listener = fListeners[i]; SafeRunner.run(new ListenerSafeRunnable() { public void run() { listener.testRunEnded(elapsedTime); } } ); } } |
| ||||
private void notifyTestRunStarted( final int count) { if (JUnitPlugin.isStopped()) return; for (int i = 0; i < fListeners.length; i++) { final ITestRunListener listener = fListeners[i]; SafeRunner.run(new ListenerSafeRunnable() { public void run() { listener.testRunStarted(count); } } ); } } |
| |||
private void [[#variableb626f100]]( final [[#variableb626f0a0]] [[#variableb626f040]]) { if (JUnitPlugin.isStopped()) return; for (int i = 0; i < fListeners.length; i++) { final ITestRunListener listener = fListeners[i]; SafeRunner.run(new ListenerSafeRunnable() { public void run() { listener. [[#variableb626efc0]]( [[#variableb626f040]]); } } ); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b626f100]] | notifyTestRunStopped |
1 | 2 | [[#b626f100]] | testRunEnded |
1 | 3 | [[#b626f100]] | notifyTestRunStarted |
2 | 1 | [[#b626f0a0]] | long |
2 | 2 | [[#b626f0a0]] | long |
2 | 3 | [[#b626f0a0]] | int |
3 | 1 | [[#b626f040]] | elapsedTime |
3 | 2 | [[#b626f040]] | elapsedTime |
3 | 3 | [[#b626f040]] | count |
4 | 1 | [[#b626efc0]] | testRunStopped |
4 | 2 | [[#b626efc0]] | testRunEnded |
4 | 3 | [[#b626efc0]] | testRunStarted |