CloneSet5084


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7230.964executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17383
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/ConvertIterableLoopOperation.java
27391
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/ConvertIterableLoopOperation.java
Clone Instance
1
Line Count
7
Source Line
383
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/ConvertIterableLoopOperation.java

                                                                                          {
                                                                        final Name name = (Name) node;
                                                                        final IBinding result = name.resolveBinding();
                                                                        if (result != null) {
                                                                                fOccurrences.add(node);
                                                                                fElement = result;
                                                                                return false;
                                                                        }
                                                                                          }


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

                                                                                                        {
                                                                        final FieldAccess access = (FieldAccess) node;
                                                                        final IBinding result = access.resolveFieldBinding();
                                                                        if (result != null) {
                                                                                fOccurrences.add(node);
                                                                                fElement = result;
                                                                                return false;
                                                                        }
                                                                                                        }


Clone AbstractionParameter Count: 3Parameter Bindings

{
  final [[#variable9946d0c0]]  [[#variable9946cfc0]]= ( [[#variable9946d0c0]]) node;
  final IBinding result = [[#variable9946cfc0]]. [[#variable9946de80]]();
  if (result != null) {
    fOccurrences.add(node);
    fElement = result;
    return false;
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#9946d0c0]]
FieldAccess 
12[[#9946d0c0]]
Name 
21[[#9946cfc0]]
access 
22[[#9946cfc0]]
name 
31[[#9946de80]]
resolveFieldBinding 
32[[#9946de80]]
resolveBinding