| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 6 | 13 | 3 | 0.963 | executable_statement |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 6 | 199 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/AddGetterSetterAction.java |
| 2 | 5 | 232 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/GenerateHashCodeEqualsAction.java |
| 3 | 5 | 238 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/GenerateHashCodeEqualsAction.java |
| 4 | 5 | 244 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/GenerateHashCodeEqualsAction.java |
| 5 | 5 | 250 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/GenerateHashCodeEqualsAction.java |
| 6 | 5 | 256 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/GenerateHashCodeEqualsAction.java |
| 7 | 5 | 296 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/GenerateHashCodeEqualsAction.java |
| 8 | 4 | 216 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/GenerateNewConstructorUsingFieldsAction.java |
| 9 | 4 | 234 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/GenerateNewConstructorUsingFieldsAction.java |
| 10 | 4 | 238 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/GenerateNewConstructorUsingFieldsAction.java |
| 11 | 4 | 319 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/GenerateNewConstructorUsingFieldsAction.java |
| 12 | 4 | 327 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/GenerateNewConstructorUsingFieldsAction.java |
| 13 | 4 | 336 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/GenerateNewConstructorUsingFieldsAction.java |
| ||||
{
MessageDialog.openError(getShell(),
ActionMessages.AddGetterSetterAction_no_primary_type_title,
ActionMessages.AddGetterSetterAction_no_primary_type_message);
notifyResult(false);
return;
}
|
| ||||
{
MessageDialog.openError(getShell(), ActionMessages.GenerateHashCodeEqualsAction_error_caption,
ActionMessages.GenerateHashCodeEqualsAction_error_removed_type);
notifyResult(false);
return;
}
|
| ||||
{
MessageDialog.openInformation(getShell(), ActionMessages.GenerateHashCodeEqualsAction_error_caption,
ActionMessages.GenerateHashCodeEqualsAction_annotation_not_applicable);
notifyResult(false);
return;
}
|
| ||||
{
MessageDialog.openInformation(getShell(), ActionMessages.GenerateHashCodeEqualsAction_error_caption,
ActionMessages.GenerateHashCodeEqualsAction_interface_not_applicable);
notifyResult(false);
return;
}
|
| ||||
{
MessageDialog.openInformation(getShell(), ActionMessages.GenerateHashCodeEqualsAction_error_caption,
ActionMessages.GenerateHashCodeEqualsAction_enum_not_applicable);
notifyResult(false);
return;
}
|
| ||||
{
MessageDialog.openError(getShell(), ActionMessages.GenerateHashCodeEqualsAction_error_caption,
ActionMessages.GenerateHashCodeEqualsAction_anonymous_type_not_applicable);
notifyResult(false);
return;
}
|
| ||||
{
MessageDialog.openInformation(getShell(), ActionMessages.GenerateHashCodeEqualsAction_error_caption,
ActionMessages.GenerateHashCodeEqualsAction_no_nonstatic_fields_error);
notifyResult(false);
return;
}
|
| ||||
{
MessageDialog.openInformation(getShell(), ActionMessages.GenerateConstructorUsingFieldsAction_error_title, ActionMessages.GenerateConstructorUsingFieldsAction_not_applicable);
notifyResult(false);
return;
}
|
| ||||
{
MessageDialog.openInformation(getShell(), ActionMessages.GenerateConstructorUsingFieldsAction_error_title, ActionMessages.GenerateConstructorUsingFieldsAction_annotation_not_applicable);
notifyResult(false);
return;
}
|
| ||||
{
MessageDialog.openInformation(getShell(), ActionMessages.GenerateConstructorUsingFieldsAction_error_title, ActionMessages.GenerateConstructorUsingFieldsAction_interface_not_applicable);
notifyResult(false);
return;
}
|
| ||||
{
MessageDialog.openInformation(getShell(), ActionMessages.GenerateConstructorUsingFieldsAction_error_title, ActionMessages.GenerateConstructorUsingFieldsAction_typeContainsNoFields_message);
notifyResult(false);
return;
}
|
| ||||
{
MessageDialog.openInformation(getShell(), ActionMessages.GenerateConstructorUsingFieldsAction_error_title, ActionMessages.GenerateConstructorUsingFieldsAction_error_anonymous_class);
notifyResult(false);
return;
}
|
| ||||
{
MessageDialog.openInformation(getShell(), ActionMessages.GenerateConstructorUsingFieldsAction_error_title, ActionMessages.GenerateConstructorUsingFieldsAction_error_nothing_found);
notifyResult(false);
return;
}
|
| |||
{
MessageDialog. [[#variable5bed3a80]](getShell(), ActionMessages. [[#variable5bed3a40]], ActionMessages. [[#variable5bed3b20]]);
notifyResult(false);
return;
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#5bed3a80]] | openError |
| 1 | 2 | [[#5bed3a80]] | openInformation |
| 1 | 3 | [[#5bed3a80]] | openError |
| 1 | 4 | [[#5bed3a80]] | openInformation |
| 1 | 5 | [[#5bed3a80]] | openInformation |
| 1 | 6 | [[#5bed3a80]] | openInformation |
| 1 | 7 | [[#5bed3a80]] | openError |
| 1 | 8 | [[#5bed3a80]] | openInformation |
| 1 | 9 | [[#5bed3a80]] | openInformation |
| 1 | 10 | [[#5bed3a80]] | openInformation |
| 1 | 11 | [[#5bed3a80]] | openInformation |
| 1 | 12 | [[#5bed3a80]] | openInformation |
| 1 | 13 | [[#5bed3a80]] | openInformation |
| 2 | 1 | [[#5bed3a40]] | AddGetterSetterAction_no_primary_type_title |
| 2 | 2 | [[#5bed3a40]] | GenerateHashCodeEqualsAction_error_caption |
| 2 | 3 | [[#5bed3a40]] | GenerateHashCodeEqualsAction_error_caption |
| 2 | 4 | [[#5bed3a40]] | GenerateHashCodeEqualsAction_error_caption |
| 2 | 5 | [[#5bed3a40]] | GenerateHashCodeEqualsAction_error_caption |
| 2 | 6 | [[#5bed3a40]] | GenerateHashCodeEqualsAction_error_caption |
| 2 | 7 | [[#5bed3a40]] | GenerateHashCodeEqualsAction_error_caption |
| 2 | 8 | [[#5bed3a40]] | GenerateConstructorUsingFieldsAction_error_title |
| 2 | 9 | [[#5bed3a40]] | GenerateConstructorUsingFieldsAction_error_title |
| 2 | 10 | [[#5bed3a40]] | GenerateConstructorUsingFieldsAction_error_title |
| 2 | 11 | [[#5bed3a40]] | GenerateConstructorUsingFieldsAction_error_title |
| 2 | 12 | [[#5bed3a40]] | GenerateConstructorUsingFieldsAction_error_title |
| 2 | 13 | [[#5bed3a40]] | GenerateConstructorUsingFieldsAction_error_title |
| 3 | 1 | [[#5bed3b20]] | AddGetterSetterAction_no_primary_type_message |
| 3 | 2 | [[#5bed3b20]] | GenerateHashCodeEqualsAction_no_nonstatic_fields_error |
| 3 | 3 | [[#5bed3b20]] | GenerateHashCodeEqualsAction_anonymous_type_not_applicable |
| 3 | 4 | [[#5bed3b20]] | GenerateHashCodeEqualsAction_enum_not_applicable |
| 3 | 5 | [[#5bed3b20]] | GenerateHashCodeEqualsAction_interface_not_applicable |
| 3 | 6 | [[#5bed3b20]] | GenerateHashCodeEqualsAction_annotation_not_applicable |
| 3 | 7 | [[#5bed3b20]] | GenerateHashCodeEqualsAction_error_removed_type |
| 3 | 8 | [[#5bed3b20]] | GenerateConstructorUsingFieldsAction_error_nothing_found |
| 3 | 9 | [[#5bed3b20]] | GenerateConstructorUsingFieldsAction_error_anonymous_class |
| 3 | 10 | [[#5bed3b20]] | GenerateConstructorUsingFieldsAction_typeContainsNoFields_message |
| 3 | 11 | [[#5bed3b20]] | GenerateConstructorUsingFieldsAction_interface_not_applicable |
| 3 | 12 | [[#5bed3b20]] | GenerateConstructorUsingFieldsAction_annotation_not_applicable |
| 3 | 13 | [[#5bed3b20]] | GenerateConstructorUsingFieldsAction_not_applicable |