Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 2 | 3 | 0.983 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 126 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/DefaultCommentMapper.java |
2 | 3 | 143 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/DefaultCommentMapper.java |
| ||||
long range = -1; for (int i = 0; range < 0 && i <= this.leadingPtr; i++) { if (this.leadingNodes[i] == node) range = this.leadingIndexes[i]; } |
| ||||
long range = -1; for (int i = 0; range < 0 && i <= this.trailingPtr; i++) { if (this.trailingNodes[i] == node) range = this.trailingIndexes[i]; } |
| |||
long range = -1; for (int i = 0; range < 0 && i <= this. [[#variable547cd560]]; i++) { if (this. [[#variable547cc9c0]][i] == node) range = this. [[#variable587488e0]][i]; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#547cd560]] | trailingPtr |
1 | 2 | [[#547cd560]] | leadingPtr |
2 | 1 | [[#547cc9c0]] | trailingNodes |
2 | 2 | [[#547cc9c0]] | leadingNodes |
3 | 1 | [[#587488e0]] | trailingIndexes |
3 | 2 | [[#587488e0]] | leadingIndexes |