Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 2 | 2 | 0.960 | block |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 139 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenExternalJavadocAction.java |
2 | 10 | 103 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ShowInNavigatorViewAction.java |
| ||||
{ IJavaElement[] elements = SelectionConverter.codeResolveOrInputForked(fEditor); if (elements == null || elements.length == 0) return; IJavaElement candidate = elements[0]; if (elements.length > 1) { candidate = OpenActionUtil.selectJavaElement(elements, getShell(), getDialogTitle(), ActionMessages.OpenExternalJavadocAction_select_element); } run(candidate); } |
| ||||
{ IJavaElement[] elements = SelectionConverter.codeResolveOrInputForked(fEditor); if (elements == null || elements.length == 0) return; IJavaElement candidate = elements[0]; if (elements.length > 1) { candidate = OpenActionUtil.selectJavaElement(elements, getShell(), getDialogTitle(), ActionMessages.ShowInNavigatorView_dialog_message); } run(getResource(candidate)); } |
| |||
{ IJavaElement[] elements = SelectionConverter.codeResolveOrInputForked(fEditor); if (elements == null || elements.length == 0) return; IJavaElement candidate = elements[0]; if (elements.length > 1) { candidate = OpenActionUtil.selectJavaElement(elements, getShell(), getDialogTitle(), ActionMessages. [[#variablea42734c0]]); } run( [[#variablea42733a0]]); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#a42734c0]] | OpenExternalJavadocAction_select_element |
1 | 2 | [[#a42734c0]] | ShowInNavigatorView_dialog_message |
2 | 1 | [[#a42733a0]] | candidate |
2 | 2 | [[#a42733a0]] | getResource(candidate) |