Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 3 | 0.950 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 37 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javadocexport/JavadocWizardPage.java |
2 | 5 | 70 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javadocexport/JavadocWizardPage.java |
| ||||
protected Button createButton(Composite composite, int style, String message, GridData gd) { Button button = new Button(composite, style); button.setText(message); button.setLayoutData(gd); return button; } |
| ||||
protected Label createLabel(Composite composite, int style, String message, GridData gd) { Label label = new Label(composite, style); label.setText(message); label.setLayoutData(gd); return label; } |
| |||
protected [[#variablebb876120]] [[#variablebb8760c0]](Composite composite, int style, String message, GridData gd) { [[#variablebb876120]] [[#variablebb876060]]= new [[#variablebb876120]](composite, style); [[#variablebb876060]].setText(message); [[#variablebb876060]].setLayoutData(gd); return [[#variablebb876060]]; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#bb876120]] | Button |
1 | 2 | [[#bb876120]] | Label |
2 | 1 | [[#bb8760c0]] | createButton |
2 | 2 | [[#bb8760c0]] | createLabel |
3 | 1 | [[#bb876060]] | button |
3 | 2 | [[#bb876060]] | label |