Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 3 | 2 | 0.990 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 404 | plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/propertypages/JavaBreakpointPage.java |
2 | 6 | 432 | plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/propertypages/JavaBreakpointPage.java |
3 | 6 | 34 | plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/propertypages/JavaExceptionBreakpointAdvancedPage.java |
| ||||
/** * Creates a fully configured check button with the given text. * @param parent the parent composite * @param text the label of the returned check button * @return a fully configured check button */ protected Button createCheckButton(Composite parent, String text) { Button button = new Button(parent, SWT.CHECK| SWT.LEFT); button.setText(text); button.setFont(parent.getFont()); button.setLayoutData(new GridData()); return button; } |
| ||||
/** * Creates a fully configured radio button with the given text. * @param parent the parent composite * @param text the label of the returned radio button * @return a fully configured radio button */ protected Button createRadioButton(Composite parent, String text) { Button button = new Button(parent, SWT.RADIO| SWT.LEFT); button.setText(text); button.setFont(parent.getFont()); button.setLayoutData(new GridData()); return button; } |
| ||||
protected Button createButton(Composite parent, String text) { Button button = new Button(parent, SWT.CHECK| SWT.LEFT); button.setText(text); button.setFont(parent.getFont()); button.setLayoutData(new GridData()); return button; } |
| |||
/** * Creates a fully configured check button with the given text. * @param parent the parent composite * @param text the label of the returned check button * @return a fully configured check button */ /** * Creates a fully configured radio button with the given text. * @param parent the parent composite * @param text the label of the returned radio button * @return a fully configured radio button */ protected Button [[#variable5db8f780]](Composite parent, String text) { Button button = new Button(parent, SWT. [[#variable5db8f6e0]]|SWT.LEFT); button.setText(text); button.setFont(parent.getFont()); button.setLayoutData(new GridData()); return button; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5db8f780]] | createButton |
1 | 2 | [[#5db8f780]] | createCheckButton |
1 | 3 | [[#5db8f780]] | createRadioButton |
2 | 1 | [[#5db8f6e0]] | CHECK |
2 | 2 | [[#5db8f6e0]] | CHECK |
2 | 3 | [[#5db8f6e0]] | RADIO |