CloneSet6241


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8210.991statement_sequence[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
18302
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/ConstantPool.java
28689
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/ConstantPool.java
Clone Instance
1
Line Count
8
Source Line
302
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/ConstantPool.java

                // Then the size of the stringName array
                int savedCurrentOffset = currentOffset;
                if (currentOffset + 2 >= poolContent.length) {
                        // we need to resize the poolContent array because we won't have
                        // enough space to write the length
                        resizePoolContents(2);
                }
                currentOffset += 2;
                int length = 0;


Clone Instance
2
Line Count
8
Source Line
689
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/ConstantPool.java

                        // Then the size of the stringName array
                        int lengthOffset = currentOffset;
                        if (currentOffset + 2 >= poolContent.length) {
                                // we need to resize the poolContent array because we won't have
                                // enough space to write the length
                                resizePoolContents(2);
                        }
                        currentOffset += 2;
                        int length = 0;


Clone AbstractionParameter Count: 1Parameter Bindings

// Then the size of the stringName array
int  [[#variable64ce0fe0]]= currentOffset;
if (currentOffset + 2 >= poolContent.length) {
  // we need to resize the poolContent array because we won't have
  // enough space to write the length
  resizePoolContents(2);
}
currentOffset += 2;
int length = 0;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#64ce0fe0]]
lengthOffset 
12[[#64ce0fe0]]
savedCurrentOffset