CloneSet3114


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7240.976statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17251
plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/ObjectReferenceImpl.java
27922
plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/ReferenceTypeImpl.java
Clone Instance
1
Line Count
7
Source Line
251
Source File
plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/ObjectReferenceImpl.java

                        if (nrOfElements != nonStaticFieldsSize)
                                throw new InternalError(JDIMessages.ObjectReferenceImpl_Retrieved_a_different_number_of_values_from_the_VM_than_requested_1);

                        for (int i = 0; i < nrOfElements; i++) {
                                resultMap.put(nonStaticFields.get(i), ValueImpl.readWithTag(this, replyData));
                        }
                        return resultMap;


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

                        if (nrOfElements != fieldsSize)
                                throw new InternalError(JDIMessages.ReferenceTypeImpl_Retrieved_a_different_number_of_values_from_the_VM_than_requested_3);

                        for (int i = 0; i < nrOfElements; i++) {
                                map.put(fields.get(i), ValueImpl.readWithTag(this, replyData));
                        }
                        return map;


Clone AbstractionParameter Count: 4Parameter Bindings

if (nrOfElements != [[#variable9b23f220]])
  throw new InternalError(JDIMessages. [[#variablea3be73a0]]);
for (int i = 0; i < nrOfElements; i++) {
   [[#variablea3be7da0]].put( [[#variable9dc80320]].get(i), ValueImpl.readWithTag(this, replyData));
}
return [[#variablea3be7da0]];
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#9b23f220]]
nonStaticFieldsSize 
12[[#9b23f220]]
fieldsSize 
21[[#a3be73a0]]
ObjectReferenceImpl_Retrieved_a_different_number_of_values_from_the_VM_than_requested_1 
22[[#a3be73a0]]
ReferenceTypeImpl_Retrieved_a_different_number_of_values_from_the_VM_than_requested_3 
31[[#a3be7da0]]
resultMap 
32[[#a3be7da0]]
map 
41[[#9dc80320]]
nonStaticFields 
42[[#9dc80320]]
fields