Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 4 | 0.966 | statement_sequence[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 2477 | plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/CompletionEngine.java |
2 | 5 | 3855 | plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/CompletionEngine.java |
| ||||
Object[] other = (Object[]) fieldsFound.elementAt(i); FieldBinding otherField = (FieldBinding) other[0]; ReferenceBinding otherReceiverType = (ReferenceBinding) other[1]; if (field == otherField && receiverType == otherReceiverType) continue next; |
| ||||
Object[] other = (Object[]) methodsFound.elementAt(i); MethodBinding otherMethod = (MethodBinding) other[0]; ReferenceBinding otherReceiverType = (ReferenceBinding) other[1]; if (method == otherMethod && receiverType == otherReceiverType) continue next; |
| |||
Object[] other = (Object[]) [[#variable961ea220]].elementAt(i); [[#variable6226c760]] [[#variable6226c740]]= ( [[#variable6226c760]]) other[0]; ReferenceBinding otherReceiverType = (ReferenceBinding) other[1]; if ( [[#variable961ea140]]== [[#variable6226c740]]&& receiverType == otherReceiverType) continue next; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#961ea220]] | fieldsFound |
1 | 2 | [[#961ea220]] | methodsFound |
2 | 1 | [[#6226c760]] | FieldBinding |
2 | 2 | [[#6226c760]] | MethodBinding |
3 | 1 | [[#6226c740]] | otherField |
3 | 2 | [[#6226c740]] | otherMethod |
4 | 1 | [[#961ea140]] | field |
4 | 2 | [[#961ea140]] | method |