CloneSet5919


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4220.959statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14757
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java
24772
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java
Clone Instance
1
Line Count
4
Source Line
757
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java

                                        if (projPath.isPrefixOf(path)) {
                                                path = path.removeFirstSegments(projPath.segmentCount());
                                        }
                                        IFolder folder = project.getFolder(path);


Clone Instance
2
Line Count
4
Source Line
772
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java

                                                if (projPath.isPrefixOf(orginalPath)) {
                                                        orginalPath = orginalPath.removeFirstSegments(projPath.segmentCount());
                                                }
                                                IFolder orginalFolder = project.getFolder(orginalPath);


Clone AbstractionParameter Count: 2Parameter Bindings

if (projPath.isPrefixOf( [[#variable655a6920]])) {
   [[#variable655a6920]]= [[#variable655a6920]].removeFirstSegments(projPath.segmentCount());
}
IFolder  [[#variable655a6900]]= project.getFolder( [[#variable655a6920]]);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#655a6920]]
orginalPath 
12[[#655a6920]]
path 
21[[#655a6900]]
orginalFolder 
22[[#655a6900]]
folder