Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 3 | 0.966 | statement_sequence[5] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 101 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/CreateProfileDialog.java |
2 | 6 | 119 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/CreateProfileDialog.java |
| ||||
final Label nameLabel = new Label(composite, SWT.WRAP); nameLabel.setText(FormatterMessages.CreateProfileDialog_profile_name_label_text); nameLabel.setLayoutData(gd); // Create text field to enter name gd = new GridData( GridData.FILL_HORIZONTAL); gd.horizontalSpan = numColumns; |
| ||||
Label profileLabel = new Label(composite, SWT.WRAP); profileLabel.setText(FormatterMessages.CreateProfileDialog_base_profile_label_text); profileLabel.setLayoutData(gd); gd = new GridData(GridData.FILL_HORIZONTAL); gd.horizontalSpan = numColumns; |
| |||
[[#variable9b4c25c0]]Label [[#variable9ce4e720]]= new Label(composite, SWT.WRAP); [[#variable9ce4e720]].setText(FormatterMessages. [[#variable9ce4e800]]); [[#variable9ce4e720]].setLayoutData(gd); // Create text field to enter name gd = new GridData(GridData.FILL_HORIZONTAL); gd.horizontalSpan = numColumns; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#9b4c25c0]] | final |
1 | 2 | [[#9b4c25c0]] | |
2 | 1 | [[#9ce4e720]] | nameLabel |
2 | 2 | [[#9ce4e720]] | profileLabel |
3 | 1 | [[#9ce4e800]] | CreateProfileDialog_profile_name_label_text |
3 | 2 | [[#9ce4e800]] | CreateProfileDialog_base_profile_label_text |