Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 4 | 0.955 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 258 | plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/code/ExtractMethodInputPage.java |
2 | 6 | 136 | plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/TextInputWizardPage.java |
| ||||
result.addModifyListener(new ModifyListener() { public void modifyText(ModifyEvent e) { textModified(getText()); } } ); TextFieldNavigationHandler.install(result); |
| ||||
fTextField.addModifyListener(new ModifyListener() { public void modifyText(ModifyEvent e) { textModified(getText()); } } ); fTextField.setText(fInitialValue); |
| |||
[[#variableb69c8940]].addModifyListener(new ModifyListener() { public void modifyText(ModifyEvent e) { textModified(getText()); } } ); [[#variableb69c88e0]]. [[#variablebb93dd40]]( [[#variableb5229ee0]]); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b69c8940]] | result |
1 | 2 | [[#b69c8940]] | fTextField |
2 | 1 | [[#b69c88e0]] | TextFieldNavigationHandler |
2 | 2 | [[#b69c88e0]] | fTextField |
3 | 1 | [[#bb93dd40]] | install |
3 | 2 | [[#bb93dd40]] | setText |
4 | 1 | [[#b5229ee0]] | result |
4 | 2 | [[#b5229ee0]] | fInitialValue |