Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 2 | 0.969 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 255 | plugins/org.eclipse.jdt.apt.ui/src/org/eclipse/jdt/apt/ui/internal/preferences/AptConfigurationBlock.java |
2 | 5 | 363 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TodoTaskConfigurationBlock.java |
| ||||
if (dialog.open() == Window.OK) { if (original != null) { fProcessorOptionsField.replaceElement(original, dialog.getResult()); } else { fProcessorOptionsField.addElement(dialog.getResult()); } } |
| ||||
if (dialog.open() == Window.OK) { if (edited != null) { fTodoTasksList.replaceElement(edited, dialog.getResult()); } else { fTodoTasksList.addElement(dialog.getResult()); } } |
| |||
if (dialog.open() == Window.OK) { if ( [[#variable9eefaac0]]!= null) { [[#variable9eefaa60]].replaceElement( [[#variable9eefaac0]], dialog.getResult()); } else { [[#variable9eefaa60]].addElement(dialog.getResult()); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#9eefaac0]] | edited |
1 | 2 | [[#9eefaac0]] | original |
2 | 1 | [[#9eefaa60]] | fTodoTasksList |
2 | 2 | [[#9eefaa60]] | fProcessorOptionsField |