CloneSet1897


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8340.974class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
18450
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/model/RemoteTestRunnerClient.java
28463
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/model/RemoteTestRunnerClient.java
38504
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/model/RemoteTestRunnerClient.java
Clone Instance
1
Line Count
8
Source Line
450
Source File
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);
                                }
                                       } );
                }
        }


Clone Instance
2
Line Count
8
Source Line
463
Source File
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/model/RemoteTestRunnerClient.java

        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);
                                }
                                       } );
                }
        }


Clone Instance
3
Line Count
8
Source Line
504
Source File
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/model/RemoteTestRunnerClient.java

        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);
                                }
                                       } );
                }
        }


Clone AbstractionParameter Count: 4Parameter Bindings

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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b626f100]]
notifyTestRunStopped 
12[[#b626f100]]
testRunEnded 
13[[#b626f100]]
notifyTestRunStarted 
21[[#b626f0a0]]
long 
22[[#b626f0a0]]
long 
23[[#b626f0a0]]
int 
31[[#b626f040]]
elapsedTime 
32[[#b626f040]]
elapsedTime 
33[[#b626f040]]
count 
41[[#b626efc0]]
testRunStopped 
42[[#b626efc0]]
testRunEnded 
43[[#b626efc0]]
testRunStarted