Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 3 | 5 | 0.955 | statement_sequence[7] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 434 | plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/JUnitPreferencePage.java |
2 | 9 | 446 | plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/JUnitPreferencePage.java |
3 | 9 | 458 | plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/JUnitPreferencePage.java |
| ||||
fAddTypeButton = new Button(buttonContainer, SWT.PUSH); fAddTypeButton.setText(JUnitMessages.JUnitPreferencePage_addtypebutton_label); fAddTypeButton.setToolTipText(JUnitMessages.JUnitPreferencePage_addtypebutton_tooltip); gd = getButtonGridData(fAddTypeButton); fAddTypeButton.setLayoutData(gd); LayoutUtil.setButtonDimensionHint(fAddTypeButton); fAddTypeButton.addListener(SWT.Selection, new Listener() { public void handleEvent(Event e) { addType(); } } ); |
| ||||
fAddPackageButton = new Button(buttonContainer, SWT.PUSH); fAddPackageButton.setText(JUnitMessages.JUnitPreferencePage_addpackagebutton_label); fAddPackageButton.setToolTipText(JUnitMessages.JUnitPreferencePage_addpackagebutton_tooltip); gd = getButtonGridData(fAddPackageButton); fAddPackageButton.setLayoutData(gd); SWTUtil.setButtonDimensionHint(fAddPackageButton); fAddPackageButton.addListener(SWT.Selection, new Listener() { public void handleEvent(Event e) { addPackage(); } } ); |
| ||||
fRemoveFilterButton = new Button(buttonContainer, SWT.PUSH); fRemoveFilterButton.setText(JUnitMessages.JUnitPreferencePage_removefilterbutton_label); fRemoveFilterButton.setToolTipText(JUnitMessages.JUnitPreferencePage_removefilterbutton_tooltip); gd = getButtonGridData(fRemoveFilterButton); fRemoveFilterButton.setLayoutData(gd); SWTUtil.setButtonDimensionHint(fRemoveFilterButton); fRemoveFilterButton.addListener(SWT.Selection, new Listener() { public void handleEvent(Event e) { removeFilters(); } } ); |
| |||
[[#variable93028480]]= new Button(buttonContainer, SWT.PUSH); [[#variable93028480]].setText(JUnitMessages. [[#variable96ad6d00]]); [[#variable93028480]].setToolTipText(JUnitMessages. [[#variable96ad6d60]]); gd = getButtonGridData( [[#variable93028480]]); [[#variable93028480]].setLayoutData(gd); [[#variable5822a4e0]].setButtonDimensionHint( [[#variable93028480]]); [[#variable93028480]].addListener(SWT.Selection, new Listener() { public void handleEvent(Event e) { [[#variable96ad66e0]](); } } ); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#93028480]] | fAddTypeButton |
1 | 2 | [[#93028480]] | fAddPackageButton |
1 | 3 | [[#93028480]] | fRemoveFilterButton |
2 | 1 | [[#96ad6d00]] | JUnitPreferencePage_addtypebutton_label |
2 | 2 | [[#96ad6d00]] | JUnitPreferencePage_addpackagebutton_label |
2 | 3 | [[#96ad6d00]] | JUnitPreferencePage_removefilterbutton_label |
3 | 1 | [[#96ad6d60]] | JUnitPreferencePage_addtypebutton_tooltip |
3 | 2 | [[#96ad6d60]] | JUnitPreferencePage_addpackagebutton_tooltip |
3 | 3 | [[#96ad6d60]] | JUnitPreferencePage_removefilterbutton_tooltip |
4 | 1 | [[#5822a4e0]] | LayoutUtil |
4 | 2 | [[#5822a4e0]] | SWTUtil |
4 | 3 | [[#5822a4e0]] | SWTUtil |
5 | 1 | [[#96ad66e0]] | addType |
5 | 2 | [[#96ad66e0]] | addPackage |
5 | 3 | [[#96ad66e0]] | removeFilters |