CloneSet1661


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8220.987executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
18195
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/ClassFileReader.java
28221
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/ClassFileReader.java
Clone Instance
1
Line Count
8
Source Line
195
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/ClassFileReader.java

                                       {
                                        for (int i = 0; i < this.fieldsCount; i++) {
                                                int attributeCountForField = u2At(classFileBytes, 6, readOffset);
                                                readOffset += 8;
                                                if (attributeCountForField != 0) {
                                                        for (int j = 0; j < attributeCountForField; j++) {
                                                                int attributeLength = (int) u4At(classFileBytes, 2, readOffset);
                                                                readOffset += (6 + attributeLength);
                                                        }
                                                }
                                        }
                                       }


Clone Instance
2
Line Count
8
Source Line
221
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/ClassFileReader.java

                                       {
                                        for (int i = 0; i < this.methodsCount; i++) {
                                                int attributeCountForMethod = u2At(classFileBytes, 6, readOffset);
                                                readOffset += 8;
                                                if (attributeCountForMethod != 0) {
                                                        for (int j = 0; j < attributeCountForMethod; j++) {
                                                                int attributeLength = (int) u4At(classFileBytes, 2, readOffset);
                                                                readOffset += (6 + attributeLength);
                                                        }
                                                }
                                        }
                                       }


Clone AbstractionParameter Count: 2Parameter Bindings

{
  for (int i = 0; i < this. [[#variable57a23e40]]; i++) {
    int  [[#variable57a23d60]]= u2At(classFileBytes, 6, readOffset);
    readOffset += 8;
    if ( [[#variable57a23d60]]!= 0) {
      for (int j = 0; j <  [[#variable57a23d60]]; j++) {
        int attributeLength = (int) u4At(classFileBytes, 2, readOffset);
        readOffset += (6 + attributeLength);
      }
    }
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#57a23e40]]
fieldsCount 
12[[#57a23e40]]
methodsCount 
21[[#57a23d60]]
attributeCountForField 
22[[#57a23d60]]
attributeCountForMethod