Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 4 | 0.956 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 498 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/NewJavaProjectPreferencePage.java |
2 | 4 | 510 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/NewJavaProjectPreferencePage.java |
| ||||
for (int i = 0; i < fCheckBoxes.size(); i++) { Button button = (Button) fCheckBoxes.get(i); String key = (String) button.getData(); store.setValue(key, button.getSelection()); } |
| ||||
for (int i = 0; i < fTextControls.size(); i++) { Text text = (Text) fTextControls.get(i); String key = (String) text.getData(); store.setValue(key, text.getText()); } |
| |||
for (int i = 0; i < [[#variablea4e6c340]].size(); i++) { [[#variablea4e6c2c0]] [[#variablea4e6c240]]= ( [[#variablea4e6c2c0]]) [[#variablea4e6c340]].get(i); String key = (String) [[#variablea4e6c240]].getData(); store.setValue(key, [[#variablea4e6c240]]. [[#variablea4e6c1c0]]()); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#a4e6c340]] | fTextControls |
1 | 2 | [[#a4e6c340]] | fCheckBoxes |
2 | 1 | [[#a4e6c2c0]] | Text |
2 | 2 | [[#a4e6c2c0]] | Button |
3 | 1 | [[#a4e6c240]] | text |
3 | 2 | [[#a4e6c240]] | button |
4 | 1 | [[#a4e6c1c0]] | getText |
4 | 2 | [[#a4e6c1c0]] | getSelection |