Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 1 | 0.957 | executable_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 154 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/util/JarFileEntryTypeInfo.java |
2 | 4 | 42 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/JavaElementContainmentAdapter.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; } |
| ||||
{ jElement = JavaCore.create(resource); if (jElement != null && !jElement.exists()) jElement = null; } |
| |||
{ [[#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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#4e629e80]] | element |
1 | 2 | [[#4e629e80]] | jElement |