CloneSet4127


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6220.982executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16411
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/ConvertIterableLoopOperation.java
26418
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/ConvertIterableLoopOperation.java
Clone Instance
1
Line Count
6
Source Line
411
Source File
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);
                                                                        }
                                                                                                }


Clone Instance
2
Line Count
6
Source Line
418
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/ConvertIterableLoopOperation.java

                                                                                                              {
                                                                        final FieldAccess qualifier = (FieldAccess) expression;
                                                                        final IBinding result = qualifier.resolveFieldBinding();
                                                                        if (result != null && result.equals(fIterator)) {
                                                                                nextInvocationCount[0]++;
                                                                                return visit(left);
                                                                        }
                                                                                                              }


Clone AbstractionParameter Count: 2Parameter Bindings

{
  final [[#variable761ce4e0]] qualifier = ( [[#variable761ce4e0]]) expression;
  final IBinding result = qualifier. [[#variable761ce5c0]]();
  if (result != null && result.equals(fIterator)) {
    nextInvocationCount[0]++;
    return visit(left);
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#761ce4e0]]
FieldAccess 
12[[#761ce4e0]]
Name 
21[[#761ce5c0]]
resolveFieldBinding 
22[[#761ce5c0]]
resolveBinding