Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 5 | 0.951 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 109 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/OpenTypeSelectionDialog2.java |
2 | 7 | 116 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/OpenTypeSelectionDialog2.java |
| ||||
try { int x = fSettings.getInt("x"); //$NON-NLS-1$ int y = fSettings.getInt("y"); //$NON-NLS-1$ fLocation = new Point(x, y); } catch (NumberFormatException e) { fLocation = null; } |
| ||||
try { int width = fSettings.getInt("width"); //$NON-NLS-1$ int height = fSettings.getInt("height"); //$NON-NLS-1$ fSize = new Point(width, height); } catch (NumberFormatException e) { fSize = null; } |
| |||
try { int [[#variable53d842a0]]= fSettings.getInt( [[#variable53d841c0]]); //$NON-NLS-1$ int [[#variable53d84160]]= fSettings.getInt( [[#variable648ca400]]); //$NON-NLS-1$ [[#variable53d841a0]]= new Point( [[#variable53d842a0]], [[#variable53d84160]]); } catch (NumberFormatException e) { [[#variable53d841a0]]= null; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#53d842a0]] | width |
1 | 2 | [[#53d842a0]] | x |
2 | 1 | [[#53d841c0]] | "width" |
2 | 2 | [[#53d841c0]] | "x" |
3 | 1 | [[#53d84160]] | height |
3 | 2 | [[#53d84160]] | y |
4 | 1 | [[#648ca400]] | "height" |
4 | 2 | [[#648ca400]] | "y" |
5 | 1 | [[#53d841a0]] | fSize |
5 | 2 | [[#53d841a0]] | fLocation |