CloneSet5062


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
2220.950conditional_or_expression
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12201
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/buildpath/ClasspathModifier.java
22110
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/newsourcepage/AddFolderToBuildpathAction.java
Clone Instance
1
Line Count
2
Source Line
201
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/buildpath/ClasspathModifier.java

                                    !(elements.size() == 1 && elements.get(0) instanceof IJavaProject) && //if only the project should be added, then the query does not need to be executed 
                                                (outputLocation.equals(projPath) || query.getDesiredOutputLocation().segmentCount() == 1)


Clone Instance
2
Line Count
2
Source Line
110
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/newsourcepage/AddFolderToBuildpathAction.java

                            !(fSelectedElements.size() == 1 && fSelectedElements.get(0) instanceof IJavaProject) && //if only the project should be added, then the query does not need to be executed 
                                        (outputLocation.equals(projPath) || defaultOutputLocation.segmentCount() == 1)


Clone AbstractionParameter Count: 2Parameter Bindings

!( [[#variable647d2840]].size() == 1 && [[#variable647d2840]].get(0) instanceof IJavaProject) && //if only the project should be added, then the query does not need to be executed 
(outputLocation.equals(projPath) || [[#variable647d26e0]].segmentCount() == 1)
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#647d2840]]
elements 
12[[#647d2840]]
fSelectedElements 
21[[#647d26e0]]
query.getDesiredOutputLocation() 
22[[#647d26e0]]
defaultOutputLocation