CloneSet7211


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5210.980statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15531
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/SourceAttachmentBlock.java
25322
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/BuildPathDialogAccess.java
Clone Instance
1
Line Count
5
Source Line
531
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/SourceAttachmentBlock.java

                if (dialog.open() == Window.OK) {
                        IResource res = (IResource) dialog.getFirstResult();
                        return res.getFullPath();
                }
                return null;


Clone Instance
2
Line Count
5
Source Line
322
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/BuildPathDialogAccess.java

                if (dialog.open() == Window.OK) {
                        IResource element = (IResource) dialog.getFirstResult();
                        return element.getFullPath();
                }
                return null;


Clone AbstractionParameter Count: 1Parameter Bindings

if (dialog.open() == Window.OK) {
  IResource  [[#variable56e2a900]]= (IResource) dialog.getFirstResult();
  return [[#variable56e2a900]].getFullPath();
}
return null;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#56e2a900]]
element 
12[[#56e2a900]]
res