Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
20 | 2 | 6 | 0.981 | statement_sequence[15] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 20 | 523 | plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/PullUpMemberPage.java |
2 | 20 | 323 | plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/PushDownWizard.java |
| ||||
final TableLayoutComposite layouter = new TableLayoutComposite(parent, SWT.NONE); layouter.addColumnData(new ColumnWeightData(60, true)); layouter.addColumnData(new ColumnWeightData(40, true)); final Table table = new Table(layouter, SWT.H_SCROLL| SWT.V_SCROLL| SWT.MULTI| SWT.BORDER| SWT.FULL_SELECTION| SWT.CHECK); table.setHeaderVisible(true); table.setLinesVisible(true); final GridData gd = new GridData(GridData.FILL_BOTH); gd.heightHint = SWTUtil.getTableHeightHint(table, getTableRowCount()); gd.widthHint = convertWidthInCharsToPixels(30); layouter.setLayoutData(gd); final TableLayout tableLayout = new TableLayout(); table.setLayout(tableLayout); final TableColumn column0 = new TableColumn(table, SWT.NONE); column0.setText(RefactoringMessages.PullUpInputPage1_Member); final TableColumn column1 = new TableColumn(table, SWT.NONE); |
| ||||
final TableLayoutComposite layouter = new TableLayoutComposite(parent, SWT.NONE); layouter.addColumnData(new ColumnWeightData(60, true)); layouter.addColumnData(new ColumnWeightData(40, true)); final Table table = new Table(layouter, SWT.H_SCROLL| SWT.V_SCROLL| SWT.MULTI| SWT.BORDER| SWT.FULL_SELECTION| SWT.CHECK); table.setHeaderVisible(true); table.setLinesVisible(true); final GridData data = new GridData(GridData.FILL_BOTH); data.heightHint = SWTUtil.getTableHeightHint(table, ROW_COUNT); data.widthHint = convertWidthInCharsToPixels(30); layouter.setLayoutData(data); final TableLayout layout = new TableLayout(); table.setLayout(layout); final TableColumn first = new TableColumn(table, SWT.NONE); first.setText(RefactoringMessages.PushDownInputPage_Member); final TableColumn second = new TableColumn(table, SWT.NONE); |
| |||
final TableLayoutComposite layouter = new TableLayoutComposite(parent, SWT.NONE); layouter.addColumnData(new ColumnWeightData(60, true)); layouter.addColumnData(new ColumnWeightData(40, true)); final Table table = new Table(layouter, SWT.H_SCROLL|SWT.V_SCROLL|SWT.MULTI|SWT.BORDER|SWT.FULL_SELECTION|SWT.CHECK); table.setHeaderVisible(true); table.setLinesVisible(true); final GridData [[#variable753ae0c0]]= new GridData(GridData.FILL_BOTH); [[#variable753ae0c0]].heightHint = SWTUtil.getTableHeightHint(table, [[#variable5e4effa0]]); [[#variable753ae0c0]].widthHint = convertWidthInCharsToPixels(30); layouter.setLayoutData( [[#variable753ae0c0]]); final TableLayout [[#variable5e4efec0]]= new TableLayout(); table.setLayout( [[#variable5e4efec0]]); final TableColumn [[#variable5e4eff20]]= new TableColumn(table, SWT.NONE); [[#variable5e4eff20]].setText(RefactoringMessages. [[#variable5f5c92e0]]); final TableColumn [[#variable5e4efb20]]= new TableColumn(table, SWT.NONE); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#753ae0c0]] | gd |
1 | 2 | [[#753ae0c0]] | data |
2 | 1 | [[#5e4effa0]] | getTableRowCount() |
2 | 2 | [[#5e4effa0]] | ROW_COUNT |
3 | 1 | [[#5e4efec0]] | tableLayout |
3 | 2 | [[#5e4efec0]] | layout |
4 | 1 | [[#5e4eff20]] | column0 |
4 | 2 | [[#5e4eff20]] | first |
5 | 1 | [[#5f5c92e0]] | PullUpInputPage1_Member |
5 | 2 | [[#5f5c92e0]] | PushDownInputPage_Member |
6 | 1 | [[#5e4efb20]] | column1 |
6 | 2 | [[#5e4efb20]] | second |