CloneSet5240


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
13220.985executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11385
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/monitors/ThreadMonitorManager.java
213101
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/monitors/ThreadMonitorManager.java
Clone Instance
1
Line Count
13
Source Line
85
Source File
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/monitors/ThreadMonitorManager.java

                                                        {
                                        switch (eventKind) {
                                                case DebugEvent.SUSPEND:
                                                case DebugEvent.RESUME:
                                                        // refresh on suspend/resume
                                                        if (debugEvent.getDetail() != DebugEvent.EVALUATION_IMPLICIT) {
                                                                handleSuspendResume();
                                                        }
                                                        break;
                                                case DebugEvent.TERMINATE:
                                                        // clean the thread map when a thread terminates
                                                        handleThreadTerminate(javaThread);
                                                        break;
                                              }
                                                        }


Clone Instance
2
Line Count
13
Source Line
101
Source File
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/monitors/ThreadMonitorManager.java

                                                            {
                                                switch (eventKind) {
                                                        case DebugEvent.SUSPEND:
                                                        case DebugEvent.RESUME:
                                                                // refresh on suspend/resume
                                                                if (debugEvent.getDetail() != DebugEvent.EVALUATION_IMPLICIT) {
                                                                        handleSuspendResume();
                                                                }
                                                                break;
                                                        case DebugEvent.TERMINATE:
                                                                // clean the maps when a target terminates
                                                                handleDebugTargetTerminate(target);
                                                                break;
                                                      }
                                                            }


Clone AbstractionParameter Count: 2Parameter Bindings

{
  switch (eventKind) {
    case DebugEvent.SUSPEND:
    case DebugEvent.RESUME:
      // refresh on suspend/resume
      if (debugEvent.getDetail() != DebugEvent.EVALUATION_IMPLICIT) {
        handleSuspendResume();
      }
      break;
    case DebugEvent.TERMINATE:
       [[#variableb41d8ca0]]( [[#variableb41d8be0]]);
      break;
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b41d8ca0]]
// clean the thread map when a thread terminates
handleThreadTerminate 
12[[#b41d8ca0]]
// clean the maps when a target terminates
handleDebugTargetTerminate 
21[[#b41d8be0]]
javaThread 
22[[#b41d8be0]]
target