Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 2 | 3 | 0.958 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 125 | plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseWizardPageTwo.java |
2 | 3 | 1130 | plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/nls/ExternalizeWizardPage.java |
| ||||
SelectionListener listener = new SelectionAdapter() { public void widgetSelected(SelectionEvent e) { doCheckBoxSelected(e.widget); } }; |
| ||||
SelectionAdapter adapter = new SelectionAdapter() { public void widgetSelected(SelectionEvent e) { handleButtonPressed(e.widget); } }; |
| |||
[[#variable7d76d720]] [[#variable7d76d6a0]]= new SelectionAdapter() { public void widgetSelected(SelectionEvent e) { [[#variable7d76d640]](e.widget); } }; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#7d76d720]] | SelectionAdapter |
1 | 2 | [[#7d76d720]] | SelectionListener |
2 | 1 | [[#7d76d6a0]] | adapter |
2 | 2 | [[#7d76d6a0]] | listener |
3 | 1 | [[#7d76d640]] | handleButtonPressed |
3 | 2 | [[#7d76d640]] | doCheckBoxSelected |