CloneSet4031


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8201.000executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
18362
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/PackageFragmentRoot.java
28397
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/PackageFragmentRoot.java
Clone Instance
1
Line Count
8
Source Line
362
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/PackageFragmentRoot.java

                                                                 {
                                        if (target instanceof IFile) {
                                                IFile file = (IFile) target;
                                                if (org.eclipse.jdt.internal.compiler.util.Util.isArchiveFileName(file.getName())) {
                                                        return entry;
                                                }
                                        }
                                        else   if (target instanceof IContainer) {
                                                return entry;
                                               }
                                                                 }


Clone Instance
2
Line Count
8
Source Line
397
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/PackageFragmentRoot.java

                                                                         {
                                                if (target instanceof IFile) {
                                                        IFile file = (IFile) target;
                                                        if (org.eclipse.jdt.internal.compiler.util.Util.isArchiveFileName(file.getName())) {
                                                                return entry;
                                                        }
                                                }
                                                else   if (target instanceof IContainer) {
                                                        return entry;
                                                       }
                                                                         }


Clone AbstractionParameter Count: 0Parameter Bindings

{
  if (target instanceof IFile) {
    IFile file = (IFile) target;
    if (org.eclipse.jdt.internal.compiler.util.Util.isArchiveFileName(file.getName())) {
      return entry;
    }
  }
  else
    if (target instanceof IContainer) {
      return entry;
    }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None