CloneSet4603


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
11240.954statement_sequence[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
111235
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/StackMapFrame.java
211253
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/StackMapFrame.java
Clone Instance
1
Line Count
11
Source Line
235
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/StackMapFrame.java

                                if (currentLocal == null) {
                                        result = Integer.MAX_VALUE;
                                        this.numberOfDifferentLocals = result;
                                        return result;
                                }
                                result++;
                                currentLocalsCounter++;
                                switch (currentLocal.id()) {
                                        case TypeIds.T_double:
                                        case TypeIds.T_long:
                                                indexInCurrentLocals++; // next entry  is null
                                      }


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

                                if (prevLocal == null) {
                                        result = Integer.MAX_VALUE;
                                        this.numberOfDifferentLocals = result;
                                        return result;
                                }
                                result--;
                                prevLocalsCounter++;
                                switch (prevLocal.id()) {
                                        case TypeIds.T_double:
                                        case TypeIds.T_long:
                                                indexInPrevLocals++; // next entry  is null
                                      }


Clone AbstractionParameter Count: 4Parameter Bindings

if ( [[#variable92adfca0]]== null) {
  result = Integer.MAX_VALUE;
  this.numberOfDifferentLocals = result;
  return result;
}
 [[#variable92adfc20]];
 [[#variable7c398fa0]]++;
switch ( [[#variable92adfca0]].id()) {
  case TypeIds.T_double:
  case TypeIds.T_long:
     [[#variable92adfb40]]++; // next entry  is null
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#92adfca0]]
prevLocal 
12[[#92adfca0]]
currentLocal 
21[[#92adfc20]]
result-- 
22[[#92adfc20]]
result++ 
31[[#7c398fa0]]
prevLocalsCounter 
32[[#7c398fa0]]
currentLocalsCounter 
41[[#92adfb40]]
indexInPrevLocals 
42[[#92adfb40]]
indexInCurrentLocals