CloneSet1540


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
11250.952statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11132
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/RecoveryScannerData.java
21158
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/RecoveryScannerData.java
Clone Instance
1
Line Count
11
Source Line
32
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/RecoveryScannerData.java

                if (this.insertedTokens != null) {
                        int newInsertedTokensPtr = -1;
                        for (int i = 0; i <= this.insertedTokensPtr; i++) {
                                if (this.insertedTokenUsed[i]) {
                                        newInsertedTokensPtr++;
                                        this.insertedTokens[newInsertedTokensPtr] = this.insertedTokens[i];
                                        this.insertedTokensPosition[newInsertedTokensPtr] = this.insertedTokensPosition[i];
                                        this.insertedTokenUsed[newInsertedTokensPtr] = this.insertedTokenUsed[i];
                                }
                        }
                        this.insertedTokensPtr = newInsertedTokensPtr;
                }


Clone Instance
2
Line Count
11
Source Line
58
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/RecoveryScannerData.java

                if (this.removedTokensStart != null) {
                        int newRemovedTokensPtr = -1;
                        for (int i = 0; i <= this.removedTokensPtr; i++) {
                                if (this.removedTokenUsed[i]) {
                                        newRemovedTokensPtr++;
                                        this.removedTokensStart[newRemovedTokensPtr] = this.removedTokensStart[i];
                                        this.removedTokensEnd[newRemovedTokensPtr] = this.removedTokensEnd[i];
                                        this.removedTokenUsed[newRemovedTokensPtr] = this.removedTokenUsed[i];
                                }
                        }
                        this.removedTokensPtr = newRemovedTokensPtr;
                }


Clone AbstractionParameter Count: 5Parameter Bindings

if (this. [[#variableba33ddc0]]!= null) {
  int  [[#variableba33dda0]]= -1;
  for (int i = 0; i <= this. [[#variableb7c7c220]]; i++) {
    if (this. [[#variableba33db60]][i]) {
       [[#variableba33dda0]]++;
      this. [[#variableba33ddc0]][ [[#variableba33dda0]]] = this. [[#variableba33ddc0]][i];
      this. [[#variableba33dcc0]][ [[#variableba33dda0]]] = this. [[#variableba33dcc0]][i];
      this. [[#variableba33db60]][ [[#variableba33dda0]]] = this. [[#variableba33db60]][i];
    }
  }
  this. [[#variableb7c7c220]]= [[#variableba33dda0]];
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#ba33ddc0]]
removedTokensStart 
12[[#ba33ddc0]]
insertedTokens 
21[[#ba33dda0]]
newRemovedTokensPtr 
22[[#ba33dda0]]
newInsertedTokensPtr 
31[[#b7c7c220]]
removedTokensPtr 
32[[#b7c7c220]]
insertedTokensPtr 
41[[#ba33db60]]
removedTokenUsed 
42[[#ba33db60]]
insertedTokenUsed 
51[[#ba33dcc0]]
removedTokensEnd 
52[[#ba33dcc0]]
insertedTokensPosition