CloneSet5114


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6210.993statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16551
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/ClassFile.java
27949
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/CompilationUnit.java
Clone Instance
1
Line Count
6
Source Line
551
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/ClassFile.java

        IPackageFragmentRoot root = getPackageFragmentRoot();
        try {
                if (root.getKind() != IPackageFragmentRoot.K_BINARY)
                        return new JavaModelStatus(IJavaModelStatusConstants.INVALID_ELEMENT_TYPES, root);
        } catch (JavaModelException e) {
                return e.getJavaModelStatus();
          }


Clone Instance
2
Line Count
7
Source Line
949
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/CompilationUnit.java

        IPackageFragmentRoot root = getPackageFragmentRoot();
        // root never null as validation is not done for working copies
        try {
                if (root.getKind() != IPackageFragmentRoot.K_SOURCE)
                        return new JavaModelStatus(IJavaModelStatusConstants.INVALID_ELEMENT_TYPES, root);
        } catch (JavaModelException e) {
                return e.getJavaModelStatus();
          }


Clone AbstractionParameter Count: 1Parameter Bindings

IPackageFragmentRoot root = getPackageFragmentRoot();
// root never null as validation is not done for working copies
try {
  if (root.getKind() != IPackageFragmentRoot. [[#variablea3c77d60]])
    return new JavaModelStatus(IJavaModelStatusConstants.INVALID_ELEMENT_TYPES, root);
}
catch (JavaModelException e) {
  return e.getJavaModelStatus();
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a3c77d60]]
K_BINARY 
12[[#a3c77d60]]
K_SOURCE