| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 2 | 2 | 3 | 0.962 | statement_sequence_member |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 2 | 1331 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/diagnose/DiagnoseParser.java |
| 2 | 2 | 241 | plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/index/DiskIndex.java |
| ||||
for (int i = 0; i < stackLength; i++)
stateSeen[i] = NIL;
|
| ||||
// initialize positions as if each document will remain in the same position
for (int i = 0; i < onDiskLength; i++)
positions[i] = i;
|
| |||
// initialize positions as if each document will remain in the same position for (int i = 0; i < [[#variableb82e5640]]; i++) [[#variableb82e5760]][i] = [[#variableb82e56a0]]; |
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#b82e5640]] | stackLength |
| 1 | 2 | [[#b82e5640]] | onDiskLength |
| 2 | 1 | [[#b82e5760]] | stateSeen |
| 2 | 2 | [[#b82e5760]] | positions |
| 3 | 1 | [[#b82e56a0]] | NIL |
| 3 | 2 | [[#b82e56a0]] | i |