| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 11 | 2 | 2 | 0.986 | statement_sequence[4] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 11 | 134 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/SortMembersAction.java |
| 2 | 9 | 185 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/SortMembersAction.java |
| ||||
if ( !ActionUtil.isProcessable(getShell(), cu)) {
return;
}
SortMembersMessageDialog dialog = new SortMembersMessageDialog(getShell());
if (dialog.open() != Window.OK) {
return;
}
if ( !ElementValidator.check(cu, getShell(), getDialogTitle(), false)) {
return;
}
|
| ||||
if ( !ActionUtil.isProcessable(getShell(), input)) {
return;
}
SortMembersMessageDialog dialog = new SortMembersMessageDialog(getShell());
if (dialog.open() != Window.OK) {
return;
}
if ( !ElementValidator.check(input, getShell(), getDialogTitle(), true)) {
return;
}
|
| |||
if ( !ActionUtil.isProcessable(getShell(), [[#variablea076a200]])) {
return;
}
SortMembersMessageDialog dialog = new SortMembersMessageDialog(getShell());
if (dialog.open() != Window.OK) {
return;
}
if ( !ElementValidator.check( [[#variablea076a200]], getShell(), getDialogTitle(), [[#variable58b70d20]])) {
return;
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#a076a200]] | cu |
| 1 | 2 | [[#a076a200]] | input |
| 2 | 1 | [[#58b70d20]] | false |
| 2 | 2 | [[#58b70d20]] | true |