Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 2 | 3 | 0.964 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 72 | plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/GotoReferencedTestAction.java |
2 | 4 | 61 | plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/OpenEditorAction.java |
| ||||
if (element == null) { MessageDialog.openInformation(getShell(), JUnitMessages.GotoReferencedTestAction_dialog_title, JUnitMessages.GotoReferencedTestAction_dialog_error_nomethod); return; } |
| ||||
if (element == null) { MessageDialog.openError(getShell(), JUnitMessages.OpenEditorAction_error_cannotopen_title, JUnitMessages.OpenEditorAction_error_cannotopen_message); return; } |
| |||
if (element == null) { MessageDialog. [[#variableb47f83a0]](getShell(), JUnitMessages. [[#variableb47f8a40]], JUnitMessages. [[#variableb47f89a0]]); return; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b47f83a0]] | openInformation |
1 | 2 | [[#b47f83a0]] | openError |
2 | 1 | [[#b47f8a40]] | GotoReferencedTestAction_dialog_title |
2 | 2 | [[#b47f8a40]] | OpenEditorAction_error_cannotopen_title |
3 | 1 | [[#b47f89a0]] | GotoReferencedTestAction_dialog_error_nomethod |
3 | 2 | [[#b47f89a0]] | OpenEditorAction_error_cannotopen_message |