CloneSet7887


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7210.957executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17154
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/util/JarFileEntryTypeInfo.java
2442
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/JavaElementContainmentAdapter.java
Clone Instance
1
Line Count
7
Source Line
154
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/util/JarFileEntryTypeInfo.java

                                                           {
                                                element = JavaCore.create(resource);
                                                // The exist test for external jars is expensive due to
                                                // JDT/Core. So do the test here since we know that the
                                                // Java element points to an internal Jar. 
                                                if (element != null && !element.exists())
                                                        element = null;
                                                           }


Clone Instance
2
Line Count
4
Source Line
42
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/JavaElementContainmentAdapter.java

                                                                           {
                                                jElement = JavaCore.create(resource);
                                                if (jElement != null && !jElement.exists())
                                                        jElement = null;
                                                                           }


Clone AbstractionParameter Count: 1Parameter Bindings

{
   [[#variable4e629e80]]= JavaCore.create(resource);
  // The exist test for external jars is expensive due to
  // JDT/Core. So do the test here since we know that the
  // Java element points to an internal Jar. 
  if ( [[#variable4e629e80]]!= null && ! [[#variable4e629e80]].exists())
     [[#variable4e629e80]]= null;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#4e629e80]]
element 
12[[#4e629e80]]
jElement