CloneSet5710


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
2310.964statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
121301
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/buildpath/ClasspathModifier.java
22567
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/AddSourceFolderWizardPage.java
32570
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/AddSourceFolderWizardPage.java
Clone Instance
1
Line Count
2
Source Line
1301
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/buildpath/ClasspathModifier.java

                if (projPath.isPrefixOf(path)) {
                        path = path.removeFirstSegments(projPath.segmentCount()).addTrailingSeparator();
                }


Clone Instance
2
Line Count
2
Source Line
567
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/AddSourceFolderWizardPage.java

                if (projPath.isPrefixOf(oldPath)) {
                        oldPath = oldPath.removeFirstSegments(projPath.segmentCount()).addTrailingSeparator();
                }


Clone Instance
3
Line Count
2
Source Line
570
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/AddSourceFolderWizardPage.java

                if (projPath.isPrefixOf(newPath)) {
                        newPath = newPath.removeFirstSegments(projPath.segmentCount()).addTrailingSeparator();
                }


Clone AbstractionParameter Count: 1Parameter Bindings

if (projPath.isPrefixOf( [[#variable92d240a0]])) {
   [[#variable92d240a0]]= [[#variable92d240a0]].removeFirstSegments(projPath.segmentCount()).addTrailingSeparator();
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#92d240a0]]
oldPath 
12[[#92d240a0]]
newPath 
13[[#92d240a0]]
path