CloneSet1499


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9210.975executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
19156
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/IndexSelector.java
29174
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/IndexSelector.java
Clone Instance
1
Line Count
9
Source Line
156
Source File
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/IndexSelector.java

                                                                                              {
                                IClasspathEntry[] entries = projectsCanSeeFocus[i].getResolvedClasspath(true
                                                                                                            /*ignoreUnresolvedEntry*/
                                                                                                            ,                          false
                                                                                                                                            /*don't generateMarkerOnError*/
                                                                                                                                            ,                                false
                                                                                                                                                                                  /*don't returnResolutionInProgress*/
                                                                                                                                                                                  );
                                for (int j = entries.length; --j >= 0;) {
                                        IClasspathEntry entry = entries[j];
                                        if (entry.getEntryKind() == IClasspathEntry.CPE_LIBRARY) {
                                                IPath path = entry.getPath();
                                                if (jarsToCheck.includes(path)) {
                                                        locations.add(manager.computeIndexLocation(entry.getPath()));
                                                        jarsToCheck.remove(path);
                                                }
                                        }
                                }
                                                                                              }


Clone Instance
2
Line Count
9
Source Line
174
Source File
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/IndexSelector.java

                                                                                {
                                                IClasspathEntry[] entries = project.getResolvedClasspath(true
                                                                                                             /*ignoreUnresolvedEntry*/
                                                                                                             ,                          false
                                                                                                                                             /*don't generateMarkerOnError*/
                                                                                                                                             ,                                false
                                                                                                                                                                                   /*don't returnResolutionInProgress*/
                                                                                                                                                                                   );
                                                for (int j = entries.length; --j >= 0;) {
                                                        IClasspathEntry entry = entries[j];
                                                        if (entry.getEntryKind() == IClasspathEntry.CPE_LIBRARY) {
                                                                IPath path = entry.getPath();
                                                                if (jarsToCheck.includes(path)) {
                                                                        locations.add(manager.computeIndexLocation(entry.getPath()));
                                                                        jarsToCheck.remove(path);
                                                                }
                                                        }
                                                }
                                                                                }


Clone AbstractionParameter Count: 1Parameter Bindings

{
  IClasspathEntry[] entries = [[#variable5ac52660]].getResolvedClasspath(true
                                                                             /*ignoreUnresolvedEntry*/
                                                                             , false
                                                                                    /*don't generateMarkerOnError*/
                                                                                    , false
                                                                                           /*don't returnResolutionInProgress*/
                                                                                           );
  for (int j = entries.length; --j >= 0;) {
    IClasspathEntry entry = entries[j];
    if (entry.getEntryKind() == IClasspathEntry.CPE_LIBRARY) {
      IPath path = entry.getPath();
      if (jarsToCheck.includes(path)) {
        locations.add(manager.computeIndexLocation(entry.getPath()));
        jarsToCheck.remove(path);
      }
    }
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5ac52660]]
projectsCanSeeFocus[i] 
12[[#5ac52660]]
project