Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 0 | 1.000 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 197 | plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/JavaDetailFormattersManager.java |
2 | 6 | 253 | plugins/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/logicalstructures/JavaLogicalStructure.java |
| ||||
if (sourceElement instanceof IJavaElement) { project = ((IJavaElement) sourceElement).getJavaProject(); } else if (sourceElement instanceof IResource) { IJavaProject resourceProject = JavaCore.create(((IResource) sourceElement).getProject()); if (resourceProject.exists()) { project = resourceProject; } } |
| ||||
if (sourceElement instanceof IJavaElement) { project = ((IJavaElement) sourceElement).getJavaProject(); } else if (sourceElement instanceof IResource) { IJavaProject resourceProject = JavaCore.create(((IResource) sourceElement).getProject()); if (resourceProject.exists()) { project = resourceProject; } } |
| |||
if (sourceElement instanceof IJavaElement) { project = ((IJavaElement) sourceElement).getJavaProject(); } else if (sourceElement instanceof IResource) { IJavaProject resourceProject = JavaCore.create(((IResource) sourceElement).getProject()); if (resourceProject.exists()) { project = resourceProject; } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |