Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 2 | 5 | 0.971 | statement_sequence[5] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 1100 | plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/CompletionEngine.java |
2 | 9 | 1114 | plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/CompletionEngine.java |
| ||||
FieldBinding[] fields = scope.enclosingSourceType().fields(); char[][] excludeNames = new char[fields.length][]; for (int i = 0; i < fields.length; i++) { excludeNames[i] = fields[i].name; } this.completionToken = method.selector; findVariableNames(this.completionToken, method.returnType, excludeNames, FIELD, method.modifiers); |
| ||||
FieldBinding[] fields = scope.enclosingSourceType().fields(); char[][] excludeNames = new char[fields.length][]; for (int i = 0; i < fields.length; i++) { excludeNames[i] = fields[i].name; } this.completionToken = field.realName; findVariableNames(field.realName, field.type, excludeNames, FIELD, field.modifiers); |
| |||
FieldBinding[] fields = scope.enclosingSourceType().fields(); char[][] excludeNames = new char[fields.length][]; for (int i = 0; i < fields.length; i++) { excludeNames[i] = fields[i].name; } this.completionToken = [[#variable9722ee40]]. [[#variable9722ede0]]; findVariableNames( [[#variable5a6a7800]]. [[#variable5a6a7700]], [[#variable9722ee40]]. [[#variable9722ed60]], excludeNames, FIELD, [[#variable9722ee40]].modifiers); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#9722ee40]] | field |
1 | 2 | [[#9722ee40]] | method |
2 | 1 | [[#9722ede0]] | realName |
2 | 2 | [[#9722ede0]] | selector |
3 | 1 | [[#5a6a7800]] | field |
3 | 2 | [[#5a6a7800]] | this |
4 | 1 | [[#5a6a7700]] | realName |
4 | 2 | [[#5a6a7700]] | completionToken |
5 | 1 | [[#9722ed60]] | type |
5 | 2 | [[#9722ed60]] | returnType |