CloneSet2329


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
14201.000statement_sequence[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
114773
plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/MethodImpl.java
2141411
plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/ReferenceTypeImpl.java
Clone Instance
1
Line Count
14
Source Line
773
Source File
plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/MethodImpl.java

                List allLineLocations = null;
                Map sourceNameAllLineLocations = null;
                if (fStratumAllLineLocations == null) { // the stratum map doesn't exist, create it
                        fStratumAllLineLocations = new HashMap();
                }
                else   {
                        // get the source name map
                        sourceNameAllLineLocations = (Map) fStratumAllLineLocations.get(stratum);
                }
                if (sourceNameAllLineLocations == null) { // the source name map doesn't exist, create it
                        sourceNameAllLineLocations = new HashMap();
                        fStratumAllLineLocations.put(stratum, sourceNameAllLineLocations);
                }
                else   {
                        // get the line locations
                        allLineLocations = (List) sourceNameAllLineLocations.get(sourceName);
                }


Clone Instance
2
Line Count
14
Source Line
1411
Source File
plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/ReferenceTypeImpl.java

                List allLineLocations = null;
                Map sourceNameAllLineLocations = null;
                if (fStratumAllLineLocations == null) { // the stratum map doesn't exist, create it
                        fStratumAllLineLocations = new HashMap();
                }
                else   {
                        // get the source name map
                        sourceNameAllLineLocations = (Map) fStratumAllLineLocations.get(stratum);
                }
                if (sourceNameAllLineLocations == null) { // the source name map doesn't exist, create it
                        sourceNameAllLineLocations = new HashMap();
                        fStratumAllLineLocations.put(stratum, sourceNameAllLineLocations);
                }
                else   {
                        // get the line locations
                        allLineLocations = (List) sourceNameAllLineLocations.get(sourceName);
                }


Clone AbstractionParameter Count: 0Parameter Bindings

List allLineLocations = null;
Map sourceNameAllLineLocations = null;
if (fStratumAllLineLocations == null) { // the stratum map doesn't exist, create it
  fStratumAllLineLocations = new HashMap();
}
else {
  // get the source name map
  sourceNameAllLineLocations = (Map) fStratumAllLineLocations.get(stratum);
}
if (sourceNameAllLineLocations == null) { // the source name map doesn't exist, create it
  sourceNameAllLineLocations = new HashMap();
  fStratumAllLineLocations.put(stratum, sourceNameAllLineLocations);
}
else {
  // get the line locations
  allLineLocations = (List) sourceNameAllLineLocations.get(sourceName);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None