CloneSet5957


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9210.992statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1976
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/HierarchyScope.java
29119
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/HierarchyScope.java
Clone Instance
1
Line Count
9
Source Line
76
Source File
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/HierarchyScope.java

                        String zipFileName;
                        if (target instanceof IFile) {
                                // internal jar
                                zipFileName = jarPath.toString();
                        }
                        else   if (target instanceof File) {
                                // external jar
                                zipFileName = ((File) target).getPath();
                               }
                               else {
                                return; // unknown target
                               }


Clone Instance
2
Line Count
9
Source Line
119
Source File
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/HierarchyScope.java

                                String zipFileName;
                                if (target instanceof IFile) {
                                        // internal jar
                                        zipFileName = jarPath.toString();
                                }
                                else   if (target instanceof File) {
                                        // external jar
                                        zipFileName = ((File) target).getPath();
                                       }
                                       else {
                                        continue ; // unknown target
                                       }


Clone AbstractionParameter Count: 1Parameter Bindings

String zipFileName;
if (target instanceof IFile) {
  // internal jar
  zipFileName = jarPath.toString();
}
else
  if (target instanceof File) {
    // external jar
    zipFileName = ((File) target).getPath();
  }
  else {
     [[#variable72f03b60]]
  }
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#72f03b60]]
return; // unknown target 
12[[#72f03b60]]
continue ; // unknown target