Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 4 | 2 | 0.963 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 403 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/TargetProvider.java |
2 | 2 | 135 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/JavaSearchEditorOpener.java |
3 | 2 | 202 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/JavaSearchResult.java |
4 | 2 | 195 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/util/ElementValidator.java |
| ||||
IJavaElement jElement = (IJavaElement) element; ICompilationUnit unit = (ICompilationUnit) jElement.getAncestor(IJavaElement.COMPILATION_UNIT); |
| ||||
IJavaElement jElement = (IJavaElement) element; ICompilationUnit cu = (ICompilationUnit) jElement.getAncestor(IJavaElement.COMPILATION_UNIT); |
| ||||
IJavaElement javaElement = (IJavaElement) element; ICompilationUnit cu = (ICompilationUnit) javaElement.getAncestor(IJavaElement.COMPILATION_UNIT); |
| ||||
IJavaElement je = (IJavaElement) element; ICompilationUnit cu = (ICompilationUnit) je.getAncestor(IJavaElement.COMPILATION_UNIT); |
| |||
IJavaElement [[#variablea0efe480]]= (IJavaElement) element; ICompilationUnit [[#variablea0efe440]]= (ICompilationUnit) [[#variablea0efe480]].getAncestor(IJavaElement.COMPILATION_UNIT); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#a0efe480]] | je |
1 | 2 | [[#a0efe480]] | jElement |
1 | 3 | [[#a0efe480]] | jElement |
1 | 4 | [[#a0efe480]] | javaElement |
2 | 1 | [[#a0efe440]] | cu |
2 | 2 | [[#a0efe440]] | unit |
2 | 3 | [[#a0efe440]] | cu |
2 | 4 | [[#a0efe440]] | cu |