CloneSet4365


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6210.994statement_sequence[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16102
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/CopyResourceElementsOperation.java
2663
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/RefactoringModifications.java
Clone Instance
1
Line Count
6
Source Line
102
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/CopyResourceElementsOperation.java

                IJavaElement[] children = source.getChildren();
                int childOfInterest = IJavaElement.COMPILATION_UNIT;
                if (source.getKind() == IPackageFragmentRoot.K_BINARY) {
                        childOfInterest = IJavaElement.CLASS_FILE;
                }
                ArrayList correctKindChildren = new ArrayList(children.length);


Clone Instance
2
Line Count
6
Source Line
63
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/RefactoringModifications.java

                IJavaElement[] children = source.getChildren();
                int childOfInterest = IJavaElement.COMPILATION_UNIT;
                if (source.getKind() == IPackageFragmentRoot.K_BINARY) {
                        childOfInterest = IJavaElement.CLASS_FILE;
                }
                ArrayList result = new ArrayList(children.length);


Clone AbstractionParameter Count: 1Parameter Bindings

IJavaElement[] children = source.getChildren();
int childOfInterest = IJavaElement.COMPILATION_UNIT;
if (source.getKind() == IPackageFragmentRoot.K_BINARY) {
  childOfInterest = IJavaElement.CLASS_FILE;
}
ArrayList  [[#variable7dda2860]]= new ArrayList(children.length);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#7dda2860]]
correctKindChildren 
12[[#7dda2860]]
result