CloneSet2543


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6201.000executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16132
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/JavaSearchScope.java
26145
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/JavaSearchScope.java
Clone Instance
1
Line Count
6
Source Line
132
Source File
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/JavaSearchScope.java

                                                                                                {
                                                        IPath path = entry.getPath();
                                                        if (pathToAdd == null || pathToAdd.equals(path)) {
                                                                String pathToString = path.getDevice() == null ? path.toString():  path.toOSString();
                                                                add("", pathToString, false
                                                                                           /*not a package*/
                                                                                           ,                  access); //$NON-NLS-1$
                                                                addEnclosingProjectOrJar(path);
                                                        }
                                                                                                }


Clone Instance
2
Line Count
6
Source Line
145
Source File
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/JavaSearchScope.java

                                                                                                          {
                                                        IPath path = entry.getPath();
                                                        if (pathToAdd == null || pathToAdd.equals(path)) {
                                                                String pathToString = path.getDevice() == null ? path.toString():  path.toOSString();
                                                                add("", pathToString, false
                                                                                           /*not a package*/
                                                                                           ,                  access); //$NON-NLS-1$
                                                                addEnclosingProjectOrJar(path);
                                                        }
                                                                                                          }


Clone AbstractionParameter Count: 0Parameter Bindings

{
  IPath path = entry.getPath();
  if (pathToAdd == null || pathToAdd.equals(path)) {
    String pathToString = path.getDevice() == null ? path.toString(): path.toOSString();
    add("", pathToString, false
                               /*not a package*/
                               , access); //$NON-NLS-1$
    addEnclosingProjectOrJar(path);
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None