CloneSet4037


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4220.961statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14782
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/PackageFragmentRoot.java
24151
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/PackageFragmentRootInfo.java
Clone Instance
1
Line Count
4
Source Line
782
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/PackageFragmentRoot.java

                for (int i = 0, length = classpath.length; i < length; i++) {
                        IClasspathEntry entry = classpath[i];
                        if (entry.getPath().equals(path)) {
                                return Status.OK_STATUS;
                        }
                }


Clone Instance
2
Line Count
4
Source Line
151
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/PackageFragmentRootInfo.java

        for (int i = 0, length = resolvedClasspath.length; i < length; i++) {
                IClasspathEntry entry = resolvedClasspath[i];
                if (entry.getPath().equals(path)) {
                        return true;
                }
        }


Clone AbstractionParameter Count: 2Parameter Bindings

for (int i = 0, length = [[#variable5b846740]].length; i < length; i++) {
  IClasspathEntry entry = [[#variable5b846740]][i];
  if (entry.getPath().equals(path)) {
    return [[#variable5b8467c0]];
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5b846740]]
classpath 
12[[#5b846740]]
resolvedClasspath 
21[[#5b8467c0]]
Status.OK_STATUS 
22[[#5b8467c0]]
true