CloneSet1932


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4330.979statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1488
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/IndexSelector.java
2498
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/IndexSelector.java
34108
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/IndexSelector.java
Clone Instance
1
Line Count
4
Source Line
88
Source File
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/IndexSelector.java

                        for (int i = 0, length = focusEntriesForPolymorphicSearch.length; i < length; i++) {
                                IClasspathEntry entry = focusEntriesForPolymorphicSearch[i];
                                if (entry.getEntryKind() == IClasspathEntry.CPE_PROJECT && entry.getPath().equals(projectPath))
                                        return true;
                        }


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

                        for (int i = 0, length = entries.length; i < length; i++) {
                                IClasspathEntry entry = entries[i];
                                if (entry.getEntryKind() == IClasspathEntry.CPE_LIBRARY && entry.getPath().equals(focusPath))
                                        return true;
                        }


Clone Instance
3
Line Count
4
Source Line
108
Source File
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/IndexSelector.java

                for (int i = 0, length = entries.length; i < length; i++) {
                        IClasspathEntry entry = entries[i];
                        if (entry.getEntryKind() == IClasspathEntry.CPE_PROJECT && entry.getPath().equals(focusPath))
                                return true;
                }


Clone AbstractionParameter Count: 3Parameter Bindings

for (int i = 0, length = [[#variable55d89320]].length; i < length; i++) {
  IClasspathEntry entry = [[#variable55d89320]][i];
  if (entry.getEntryKind() == IClasspathEntry. [[#variable55d89280]]&& entry.getPath().equals( [[#variable55d89200]]))
    return true;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#55d89320]]
focusEntriesForPolymorphicSearch 
12[[#55d89320]]
entries 
13[[#55d89320]]
entries 
21[[#55d89280]]
CPE_PROJECT 
22[[#55d89280]]
CPE_PROJECT 
23[[#55d89280]]
CPE_LIBRARY 
31[[#55d89200]]
projectPath 
32[[#55d89200]]
focusPath 
33[[#55d89200]]
focusPath