Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 2 | 3 | 0.959 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 378 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/UserLibraryPreferencePage.java |
2 | 2 | 515 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/UserLibraryPreferencePage.java |
| ||||
if (elements.isEmpty()) { return new StatusInfo(IStatus.ERROR, PreferencesMessages.UserLibraryPreferencePage_LoadSaveDialog_error_empty); } |
| ||||
if (file.isDirectory()) { return new StatusInfo(IStatus.ERROR, PreferencesMessages.UserLibraryPreferencePage_LoadSaveDialog_location_error_save_invalid); } |
| |||
if ( [[#variablea15a1980]]. [[#variablea15a1900]]()) { return new StatusInfo(IStatus.ERROR, PreferencesMessages. [[#variablea15a1880]]); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#a15a1980]] | elements |
1 | 2 | [[#a15a1980]] | file |
2 | 1 | [[#a15a1900]] | isEmpty |
2 | 2 | [[#a15a1900]] | isDirectory |
3 | 1 | [[#a15a1880]] | UserLibraryPreferencePage_LoadSaveDialog_error_empty |
3 | 2 | [[#a15a1880]] | UserLibraryPreferencePage_LoadSaveDialog_location_error_save_invalid |