CloneSet4097


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4210.970statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14857
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/hierarchy/TypeHierarchy.java
24867
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/hierarchy/TypeHierarchy.java
Clone Instance
1
Line Count
4
Source Line
857
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/hierarchy/TypeHierarchy.java

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


Clone Instance
2
Line Count
4
Source Line
867
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/hierarchy/TypeHierarchy.java

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


Clone AbstractionParameter Count: 1Parameter Bindings

for (int i = 0; i < classpath.length; i++) {
  if (classpath[i].getEntryKind() == IClasspathEntry.CPE_PROJECT && classpath[i].getPath().equals( [[#variable98f853c0]])) {
    return true;
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#98f853c0]]
hierarchyProject 
12[[#98f853c0]]
element.getPath()