Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 2 | 1 | 0.975 | executable_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 156 | plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/IndexSelector.java |
2 | 9 | 174 | 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); } } } } |
| ||||
{ 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); } } } } |
| |||
{ 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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5ac52660]] | projectsCanSeeFocus[i] |
1 | 2 | [[#5ac52660]] | project |