Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 2 | 0.982 | executable_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 411 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/ConvertIterableLoopOperation.java |
2 | 6 | 418 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/ConvertIterableLoopOperation.java |
| ||||
{ final Name qualifier = (Name) expression; final IBinding result = qualifier.resolveBinding(); if (result != null && result.equals(fIterator)) { nextInvocationCount[0]++; return visit(left); } } |
| ||||
{ final FieldAccess qualifier = (FieldAccess) expression; final IBinding result = qualifier.resolveFieldBinding(); if (result != null && result.equals(fIterator)) { nextInvocationCount[0]++; return visit(left); } } |
| |||
{ final [[#variable761ce4e0]] qualifier = ( [[#variable761ce4e0]]) expression; final IBinding result = qualifier. [[#variable761ce5c0]](); if (result != null && result.equals(fIterator)) { nextInvocationCount[0]++; return visit(left); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#761ce4e0]] | FieldAccess |
1 | 2 | [[#761ce4e0]] | Name |
2 | 1 | [[#761ce5c0]] | resolveFieldBinding |
2 | 2 | [[#761ce5c0]] | resolveBinding |