CloneSet4990


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3250.951statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
13605
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarPackageWizardPage.java
23166
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/AnonymousTypeCompletionProposal.java
Clone Instance
1
Line Count
3
Source Line
605
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarPackageWizardPage.java

                        for (int index = 0; index < elements.length; index++) {
                                if (elements[index] instanceof IResource)
                                        set.add(((IResource) elements[index]).getProject());
                        }


Clone Instance
2
Line Count
3
Source Line
166
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/AnonymousTypeCompletionProposal.java

                                                                        for (int index = 0; index < selection.length; index++) {
                                                                                if (selection[index] instanceof IMethodBinding)
                                                                                        result.add(((IBinding) selection[index]).getKey());
                                                                        }


Clone AbstractionParameter Count: 5Parameter Bindings

for (int index = 0; index <  [[#variable9bd723c0]].length; index++) {
  if ( [[#variable9bd723c0]][index] instanceof [[#variable9bd72360]])
     [[#variable9bd72240]].add((( [[#variable62e48e40]])  [[#variable9bd723c0]][index]). [[#variable9bd722c0]]());
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#9bd723c0]]
elements 
12[[#9bd723c0]]
selection 
21[[#9bd72360]]
IResource 
22[[#9bd72360]]
IMethodBinding 
31[[#9bd72240]]
set 
32[[#9bd72240]]
result 
41[[#62e48e40]]
IResource 
42[[#62e48e40]]
IBinding 
51[[#9bd722c0]]
getProject 
52[[#9bd722c0]]
getKey