CloneSet2061


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


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

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


Clone AbstractionParameter Count: 2Parameter Bindings

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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#50e0f740]]
notifyTestEnded 
12[[#50e0f740]]
notifyTestStarted 
21[[#50e0f6e0]]
testEnded 
22[[#50e0f6e0]]
testStarted