CloneSet1241


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
16260.966executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
116741
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/classfmt/ClassFileReader.java
216771
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/classfmt/ClassFileReader.java
Clone Instance
1
Line Count
16
Source Line
741
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/classfmt/ClassFileReader.java

                                   {
                        if (this.fieldsCount != otherFieldInfosLength && !excludesSynthetic)
                                return true;
                        if (orderRequired) {
                                if (this.fieldsCount != 0)
                                        Arrays.sort(this.fields);
                                if (otherFieldInfosLength != 0)
                                        Arrays.sort(otherFieldInfos);
                        }
                        if (excludesSynthetic) {
                                if (hasNonSyntheticFieldChanges(this.fields, otherFieldInfos))
                                        return true;
                        }
                        else   {
                                for (int i = 0; i < this.fieldsCount; i++)
                                        if (hasStructuralFieldChanges(this.fields[i], otherFieldInfos[i]))
                                                return true;
                        }
                                   }


Clone Instance
2
Line Count
16
Source Line
771
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/classfmt/ClassFileReader.java

                                    {
                        if (this.methodsCount != otherMethodInfosLength && !excludesSynthetic)
                                return true;
                        if (orderRequired) {
                                if (this.methodsCount != 0)
                                        Arrays.sort(this.methods);
                                if (otherMethodInfosLength != 0)
                                        Arrays.sort(otherMethodInfos);
                        }
                        if (excludesSynthetic) {
                                if (hasNonSyntheticMethodChanges(this.methods, otherMethodInfos))
                                        return true;
                        }
                        else   {
                                for (int i = 0; i < this.methodsCount; i++)
                                        if (hasStructuralMethodChanges(this.methods[i], otherMethodInfos[i]))
                                                return true;
                        }
                                    }


Clone AbstractionParameter Count: 6Parameter Bindings

{
  if (this. [[#variable527f2da0]]!= [[#variable527f2d40]]&& !excludesSynthetic)
    return true;
  if (orderRequired) {
    if (this. [[#variable527f2da0]]!= 0)
      Arrays.sort(this. [[#variable527f2c80]]);
    if ( [[#variable527f2d40]]!= 0)
      Arrays.sort( [[#variable527f2c20]]);
  }
  if (excludesSynthetic) {
    if ( [[#variable527f2bc0]](this. [[#variable527f2c80]],  [[#variable527f2c20]]))
      return true;
  }
  else {
    for (int i = 0; i < this. [[#variable527f2da0]]; i++)
      if ( [[#variable527f2ae0]](this. [[#variable527f2c80]][i],  [[#variable527f2c20]][i]))
        return true;
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#527f2da0]]
methodsCount 
12[[#527f2da0]]
fieldsCount 
21[[#527f2d40]]
otherMethodInfosLength 
22[[#527f2d40]]
otherFieldInfosLength 
31[[#527f2c80]]
methods 
32[[#527f2c80]]
fields 
41[[#527f2c20]]
otherMethodInfos 
42[[#527f2c20]]
otherFieldInfos 
51[[#527f2bc0]]
hasNonSyntheticMethodChanges 
52[[#527f2bc0]]
hasNonSyntheticFieldChanges 
61[[#527f2ae0]]
hasStructuralMethodChanges 
62[[#527f2ae0]]
hasStructuralFieldChanges