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.964 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 147 | plugins/org.eclipse.jdt.apt.ui/src/org/eclipse/jdt/apt/ui/internal/preferences/AptConfigurationBlock.java |
2 | 3 | 130 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TodoTaskConfigurationBlock.java |
| ||||
/** * Sorts items in the Processor Options list control. */ private static class ProcessorOptionSorter extends ViewerSorter { public int compare(Viewer viewer, Object e1, Object e2) { return collator.compare(((ProcessorOption) e1).key, ((ProcessorOption) e2).key); } } |
| ||||
private static class TodoTaskSorter extends ViewerSorter { public int compare(Viewer viewer, Object e1, Object e2) { return collator.compare(((TodoTask) e1).name, ((TodoTask) e2).name); } } |
| |||
/** * Sorts items in the Processor Options list control. */ private static class [[#variable5a3af460]]extends ViewerSorter { public int compare(Viewer viewer, Object e1, Object e2) { return collator.compare((( [[#variable5a3af3c0]]) e1). [[#variable5a3af340]], (( [[#variable5a3af3c0]]) e2). [[#variable5a3af340]]); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5a3af460]] | TodoTaskSorter |
1 | 2 | [[#5a3af460]] | ProcessorOptionSorter |
2 | 1 | [[#5a3af3c0]] | TodoTask |
2 | 2 | [[#5a3af3c0]] | ProcessorOption |
3 | 1 | [[#5a3af340]] | name |
3 | 2 | [[#5a3af340]] | key |