Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
10 | 2 | 1 | 0.956 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 10 | 153 | plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/nls/search/NLSSearchResult.java |
2 | 10 | 94 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/OccurrencesSearchResult.java |
| ||||
IResource resource = null; try { resource = javaElement.getCorrespondingResource(); } catch (JavaModelException e) { // no resource } if (resource instanceof IFile) return (IFile) resource; else return null; |
| ||||
IResource resource = null; try { resource = jel.getJavaElement().getCorrespondingResource(); } catch (JavaModelException e) { // no resource } if (resource instanceof IFile) return (IFile) resource; else return null; |
| |||
IResource resource = null; try { resource = [[#variable60a9f7e0]].getCorrespondingResource(); } catch (JavaModelException e) { // no resource } if (resource instanceof IFile) return (IFile) resource; else return null; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#60a9f7e0]] | javaElement |
1 | 2 | [[#60a9f7e0]] | jel.getJavaElement() |