| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 8 | 2 | 5 | 0.968 | switch_groups[2] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 8 | 201 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/core/CorrectionEngine.java |
| 2 | 8 | 217 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/core/CorrectionEngine.java |
| ||||
// Type correction
case IProblem.ImportNotFound:
this.filter = IMPORT;
argument = arguments[0];
break;
case IProblem.UndefinedType:
this.filter = CLASSES| INTERFACES;
argument = arguments[0];
break;
|
| ||||
// Field and local variable correction
case IProblem.UndefinedField:
this.filter = FIELD;
argument = arguments[0];
break;
case IProblem.UndefinedName:
this.filter = FIELD| LOCAL;
argument = arguments[0];
break;
|
| |||
// Field and local variable correction // Type correction case IProblem. [[#variable54e53140]]: this.filter = [[#variable54e53080]]; argument = arguments[0]; break; case IProblem. [[#variable54e52fe0]]: this.filter = [[#variable54e52f60]]| [[#variable54e52ee0]]; argument = arguments[0]; break; |
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#54e53140]] | UndefinedField |
| 1 | 2 | [[#54e53140]] | ImportNotFound |
| 2 | 1 | [[#54e53080]] | FIELD |
| 2 | 2 | [[#54e53080]] | IMPORT |
| 3 | 1 | [[#54e52fe0]] | UndefinedName |
| 3 | 2 | [[#54e52fe0]] | UndefinedType |
| 4 | 1 | [[#54e52f60]] | FIELD |
| 4 | 2 | [[#54e52f60]] | CLASSES |
| 5 | 1 | [[#54e52ee0]] | LOCAL |
| 5 | 2 | [[#54e52ee0]] | INTERFACES |