CloneSet2246


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9201.000statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
19191
plugins/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/breakpoints/JavaPatternBreakpoint.java
29104
plugins/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/breakpoints/JavaTargetPatternBreakpoint.java
Clone Instance
1
Line Count
9
Source Line
191
Source File
plugins/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/breakpoints/JavaPatternBreakpoint.java

                if (classes != null) {
                        Iterator iter = classes.iterator();
                        String typeName = null;
                        ReferenceType type = null;
                        while (iter.hasNext()) {
                                type = (ReferenceType) iter.next();
                                typeName = type.name();
                                if (typeName != null && typeName.startsWith(referenceTypeName)) {
                                        createRequest(target, type);
                                }
                        }
                }


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

                if (classes != null) {
                        Iterator iter = classes.iterator();
                        String typeName = null;
                        ReferenceType type = null;
                        while (iter.hasNext()) {
                                type = (ReferenceType) iter.next();
                                typeName = type.name();
                                if (typeName != null && typeName.startsWith(referenceTypeName)) {
                                        createRequest(target, type);
                                }
                        }
                }


Clone AbstractionParameter Count: 0Parameter Bindings

if (classes != null) {
  Iterator iter = classes.iterator();
  String typeName = null;
  ReferenceType type = null;
  while (iter.hasNext()) {
    type = (ReferenceType) iter.next();
    typeName = type.name();
    if (typeName != null && typeName.startsWith(referenceTypeName)) {
      createRequest(target, type);
    }
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None