CloneSet2407


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
12230.984statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
112145
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/StackMapFrame.java
212164
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/StackMapFrame.java
Clone Instance
1
Line Count
12
Source Line
145
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/StackMapFrame.java

                        for (int i = 0; i < currentLocalsLength && counter < currentNumberOfLocals; i++) {
                                if (currentLocals[i] != null) {
                                        switch (currentLocals[i].id()) {
                                                case TypeIds.T_double:
                                                case TypeIds.T_long:
                                                        i++;
                                              }
                                        counter++;
                                }
                                else   {
                                        result = Integer.MAX_VALUE;
                                        this.numberOfDifferentLocals = result;
                                        return result;
                                }
                        }


Clone Instance
2
Line Count
12
Source Line
164
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/StackMapFrame.java

                for (int i = 0; i < prevLocalsLength && counter < prevNumberOfLocals; i++) {
                        if (prevLocals[i] != null) {
                                switch (prevLocals[i].id()) {
                                        case TypeIds.T_double:
                                        case TypeIds.T_long:
                                                i++;
                                      }
                                counter++;
                        }
                        else   {
                                result = Integer.MAX_VALUE;
                                this.numberOfDifferentLocals = result;
                                return result;
                        }
                }


Clone AbstractionParameter Count: 3Parameter Bindings

for (int i = 0; i <  [[#variable5b66ad00]]&& counter <  [[#variable5b66acc0]]; i++) {
  if ( [[#variable5b66ace0]][i] != null) {
    switch ( [[#variable5b66ace0]][i].id()) {
      case TypeIds.T_double:
      case TypeIds.T_long:
        i++;
    }
    counter++;
  }
  else {
    result = Integer.MAX_VALUE;
    this.numberOfDifferentLocals = result;
    return result;
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5b66ad00]]
prevLocalsLength 
12[[#5b66ad00]]
currentLocalsLength 
21[[#5b66acc0]]
prevNumberOfLocals 
22[[#5b66acc0]]
currentNumberOfLocals 
31[[#5b66ace0]]
prevLocals 
32[[#5b66ace0]]
currentLocals