CloneSet2804


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
14220.973statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
114164
plugins/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/breakpoints/JavaStratumLineBreakpoint.java
215182
plugins/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/breakpoints/JavaStratumLineBreakpoint.java
Clone Instance
1
Line Count
14
Source Line
164
Source File
plugins/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/breakpoints/JavaStratumLineBreakpoint.java

                if (bpSourceName != null) {
                        List sourceNames;
                        try {
                                sourceNames = type.sourceNames(stratum);
                        } catch (AbsentInformationException e1) {
                                return false;
                          }
                          catch (VMDisconnectedException e) {
                                if ( !target.isAvailable()) {
                                        return false;
                                }
                                throw e;
                          }
                        if ( !containsMatch(sourceNames, bpSourceName)) {
                                return false;
                        }
                }


Clone Instance
2
Line Count
15
Source Line
182
Source File
plugins/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/breakpoints/JavaStratumLineBreakpoint.java

                if (bpSourcePath != null) {
                        // check that source paths match
                        List sourcePaths;
                        try {
                                sourcePaths = type.sourcePaths(stratum);
                        } catch (AbsentInformationException e1) {
                                return false;
                          }
                          catch (VMDisconnectedException e) {
                                if ( !target.isAvailable()) {
                                        return false;
                                }
                                throw e;
                          }
                        if ( !containsMatch(sourcePaths, bpSourcePath)) {
                                return false;
                        }
                }


Clone AbstractionParameter Count: 2Parameter Bindings

if ( [[#variable9d43e560]]!= null) {
  // check that source paths match
  List  [[#variableb67127c0]];
  try {
     [[#variableb67127c0]]= type. [[#variableb67127c0]](stratum);
  }
  catch (AbsentInformationException e1) {
    return false;
  }
  catch (VMDisconnectedException e) {
    if ( !target.isAvailable()) {
      return false;
    }
    throw e;
  }
  if ( !containsMatch( [[#variableb67127c0]],  [[#variable9d43e560]])) {
    return false;
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#9d43e560]]
bpSourceName 
12[[#9d43e560]]
bpSourcePath 
21[[#b67127c0]]
sourceNames 
22[[#b67127c0]]
sourcePaths