Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
11 | 2 | 5 | 0.952 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 11 | 32 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/RecoveryScannerData.java |
2 | 11 | 58 | 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; } |
| ||||
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; } |
| |||
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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#ba33ddc0]] | removedTokensStart |
1 | 2 | [[#ba33ddc0]] | insertedTokens |
2 | 1 | [[#ba33dda0]] | newRemovedTokensPtr |
2 | 2 | [[#ba33dda0]] | newInsertedTokensPtr |
3 | 1 | [[#b7c7c220]] | removedTokensPtr |
3 | 2 | [[#b7c7c220]] | insertedTokensPtr |
4 | 1 | [[#ba33db60]] | removedTokenUsed |
4 | 2 | [[#ba33db60]] | insertedTokenUsed |
5 | 1 | [[#ba33dcc0]] | removedTokensEnd |
5 | 2 | [[#ba33dcc0]] | insertedTokensPosition |