CloneSet1312


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9350.955statement_sequence[7]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
19434
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/JUnitPreferencePage.java
29446
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/JUnitPreferencePage.java
39458
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/JUnitPreferencePage.java
Clone Instance
1
Line Count
9
Source Line
434
Source File
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();
                        }
                                                          } );


Clone Instance
2
Line Count
9
Source Line
446
Source File
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/JUnitPreferencePage.java

                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();
                        }
                                                             } );


Clone Instance
3
Line Count
9
Source Line
458
Source File
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/JUnitPreferencePage.java

                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();
                        }
                                                               } );


Clone AbstractionParameter Count: 5Parameter Bindings

 [[#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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#93028480]]
fAddTypeButton 
12[[#93028480]]
fAddPackageButton 
13[[#93028480]]
fRemoveFilterButton 
21[[#96ad6d00]]
JUnitPreferencePage_addtypebutton_label 
22[[#96ad6d00]]
JUnitPreferencePage_addpackagebutton_label 
23[[#96ad6d00]]
JUnitPreferencePage_removefilterbutton_label 
31[[#96ad6d60]]
JUnitPreferencePage_addtypebutton_tooltip 
32[[#96ad6d60]]
JUnitPreferencePage_addpackagebutton_tooltip 
33[[#96ad6d60]]
JUnitPreferencePage_removefilterbutton_tooltip 
41[[#5822a4e0]]
LayoutUtil 
42[[#5822a4e0]]
SWTUtil 
43[[#5822a4e0]]
SWTUtil 
51[[#96ad66e0]]
addType 
52[[#96ad66e0]]
addPackage 
53[[#96ad66e0]]
removeFilters