Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
20 | 2 | 0 | 1.000 | statement_sequence[8] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 20 | 166 | plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/wizards/MethodStubsSelectionButtonGroup.java |
2 | 19 | 155 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/dialogfields/SelectionButtonDialogFieldGroup.java |
| ||||
fButtonComposite.setLayout(layout); SelectionListener listener = new SelectionListener() { public void widgetDefaultSelected(SelectionEvent e) { doWidgetSelected(e); } public void widgetSelected(SelectionEvent e) { doWidgetSelected(e); } }; int nButtons = fButtonNames.length; fButtons = new Button[nButtons]; for (int i = 0; i < nButtons; i++) { fButtons[i] = createSelectionButton(i, fButtonComposite, listener); } int nRows = nButtons / fGroupNumberOfColumns; int nFillElements = nRows * fGroupNumberOfColumns - nButtons; for (int i = 0; i < nFillElements; i++) { createEmptySpace(fButtonComposite); } |
| ||||
fButtonComposite.setLayout(layout); SelectionListener listener = new SelectionListener() { public void widgetDefaultSelected(SelectionEvent e) { doWidgetSelected(e); } public void widgetSelected(SelectionEvent e) { doWidgetSelected(e); } }; int nButtons = fButtonNames.length; fButtons = new Button[nButtons]; for (int i = 0; i < nButtons; i++) { fButtons[i] = createSelectionButton(i, fButtonComposite, listener); } int nRows = nButtons / fGroupNumberOfColumns; int nFillElements = nRows * fGroupNumberOfColumns - nButtons; for (int i = 0; i < nFillElements; i++) { createEmptySpace(fButtonComposite); } |
| |||
fButtonComposite.setLayout(layout); SelectionListener listener = new SelectionListener() { public void widgetDefaultSelected(SelectionEvent e) { doWidgetSelected(e); } public void widgetSelected(SelectionEvent e) { doWidgetSelected(e); } }; int nButtons = fButtonNames.length; fButtons = new Button[nButtons]; for (int i = 0; i < nButtons; i++) { fButtons[i] = createSelectionButton(i, fButtonComposite, listener); } int nRows = nButtons / fGroupNumberOfColumns; int nFillElements = nRows * fGroupNumberOfColumns - nButtons; for (int i = 0; i < nFillElements; i++) { createEmptySpace(fButtonComposite); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |