Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
11 | 2 | 3 | 0.962 | executable_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 11 | 258 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/FormatAllAction.java |
2 | 11 | 218 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/SortMembersAction.java |
| ||||
{ int returnCode = OptionalMessageDialog.open("FormatAll", //$NON-NLS-1$ getShell(), ActionMessages.FormatAllAction_noundo_title, null , ActionMessages.FormatAllAction_noundo_message, MessageDialog.WARNING , new String[] { IDialogConstants.OK_LABEL, IDialogConstants.CANCEL_LABEL } , 0); if (returnCode != OptionalMessageDialog.NOT_SHOWN && returnCode != Window.OK) return; } |
| ||||
{ int returnCode = OptionalMessageDialog.open(ID_OPTIONAL_DIALOG, getShell() , getDialogTitle() , null , ActionMessages.SortMembersAction_containsmarkers, MessageDialog.WARNING , new String[] { IDialogConstants.OK_LABEL, IDialogConstants.CANCEL_LABEL } , 0); if (returnCode != OptionalMessageDialog.NOT_SHOWN && returnCode != Window.OK) return; } |
| |||
{ int returnCode = OptionalMessageDialog.open( [[#variable9df5f9e0]], //$NON-NLS-1$ getShell(), [[#variable9df5f020]], null, ActionMessages. [[#variable9df5fa80]], MessageDialog.WARNING, new String[] { IDialogConstants.OK_LABEL, IDialogConstants.CANCEL_LABEL }, 0); if (returnCode != OptionalMessageDialog.NOT_SHOWN && returnCode != Window.OK) return; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#9df5f9e0]] | "FormatAll" |
1 | 2 | [[#9df5f9e0]] | ID_OPTIONAL_DIALOG |
2 | 1 | [[#9df5f020]] | ActionMessages.FormatAllAction_noundo_title |
2 | 2 | [[#9df5f020]] | getDialogTitle() |
3 | 1 | [[#9df5fa80]] | FormatAllAction_noundo_message |
3 | 2 | [[#9df5fa80]] | SortMembersAction_containsmarkers |