CloneSet4103


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7210.994statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17212
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaOutlinePage.java
27356
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/text/folding/DefaultJavaFoldingStructureProvider.java
Clone Instance
1
Line Count
7
Source Line
212
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaOutlinePage.java

                                        for (int i = 0; i < children.length; i++) {
                                                IJavaElementDelta d = findElement(unit, children[i]);
                                                if (d != null)
                                                        return d;
                                        }

                                        return null;


Clone Instance
2
Line Count
7
Source Line
356
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/text/folding/DefaultJavaFoldingStructureProvider.java

                        for (int i = 0; i < children.length; i++) {
                                IJavaElementDelta d = findElement(target, children[i]);
                                if (d != null)
                                        return d;
                        }

                        return null;


Clone AbstractionParameter Count: 1Parameter Bindings

for (int i = 0; i < children.length; i++) {
  IJavaElementDelta d = findElement( [[#variableb512c5a0]], children[i]);
  if (d != null)
    return d;
}
return null;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b512c5a0]]
target 
12[[#b512c5a0]]
unit