CloneSet2042


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10210.993statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1101181
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/AbstractCommentParser.java
2109360
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java
Clone Instance
1
Line Count
10
Source Line
1181
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/AbstractCommentParser.java

                int stackLength = this.identifierStack.length;
                if ( ++this.identifierPtr >= stackLength) {
                        System.arraycopy(
                                this.identifierStack, 0, 
                                this.identifierStack = new char[stackLength + 10][], 0, 
                                stackLength);
                        System.arraycopy(
                                this.identifierPositionStack, 0, 
                                this.identifierPositionStack = new long[stackLength + 10], 0, 
                                stackLength);
                }


Clone Instance
2
Line Count
10
Source Line
9360
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java

        /*push the consumeToken on the identifier stack.
        Increase the total number of identifier in the stack.
        identifierPtr points on the next top */
        int stackLength = this.identifierStack.length;
        if ( ++this.identifierPtr >= stackLength) {
                System.arraycopy(
                        this.identifierStack, 0, 
                        this.identifierStack = new char[stackLength + 20][], 0, 
                        stackLength);
                System.arraycopy(
                        this.identifierPositionStack, 0, 
                        this.identifierPositionStack = new long[stackLength + 20], 0, 
                        stackLength);
        }


Clone AbstractionParameter Count: 1Parameter Bindings

/*push the consumeToken on the identifier stack.
        Increase the total number of identifier in the stack.
        identifierPtr points on the next top */
int stackLength = this.identifierStack.length;
if ( ++this.identifierPtr >= stackLength) {
  System.arraycopy(this.identifierStack, 0, this.identifierStack = new char[stackLength +  [[#variablebb5f54e0]]][], 0, stackLength);
  System.arraycopy(this.identifierPositionStack, 0, this.identifierPositionStack = new long[stackLength +  [[#variablebb5f54e0]]], 0, stackLength);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#bb5f54e0]]
10 
12[[#bb5f54e0]]
20