CloneSet3846


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9240.960statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
19194
plugins/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/breakpoints/JavaLineBreakpoint.java
29218
plugins/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/breakpoints/JavaLineBreakpoint.java
Clone Instance
1
Line Count
9
Source Line
194
Source File
plugins/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/breakpoints/JavaLineBreakpoint.java

                while (iter.hasNext()) {
                        thread = (JDIThread) iter.next();
                        if (thread.getDebugTarget() == target) {
                                threadsToRemove.add(thread);
                        }
                }
                iter = threadsToRemove.iterator();
                while (iter.hasNext()) {
                        map.remove(iter.next());
                }


Clone Instance
2
Line Count
9
Source Line
218
Source File
plugins/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/breakpoints/JavaLineBreakpoint.java

                while (iter.hasNext()) {
                        frame = (JDIStackFrame) iter.next();
                        if (frame.getDebugTarget() == target) {
                                framesToRemove.add(frame);
                        }
                }
                iter = framesToRemove.iterator();
                while (iter.hasNext()) {
                        fProjectsByFrame.remove(iter.next());
                }


Clone AbstractionParameter Count: 4Parameter Bindings

while (iter.hasNext()) {
   [[#variable95ef7fe0]]= ( [[#variable95ef7c80]]) iter.next();
  if ( [[#variable95ef7fe0]].getDebugTarget() == target) {
     [[#variable95ef60a0]].add( [[#variable95ef7fe0]]);
  }
}
iter = [[#variable95ef60a0]].iterator();
while (iter.hasNext()) {
   [[#variable95ef6140]].remove(iter.next());
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#95ef7fe0]]
thread 
12[[#95ef7fe0]]
frame 
21[[#95ef7c80]]
JDIThread 
22[[#95ef7c80]]
JDIStackFrame 
31[[#95ef60a0]]
threadsToRemove 
32[[#95ef60a0]]
framesToRemove 
41[[#95ef6140]]
map 
42[[#95ef6140]]
fProjectsByFrame