Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 5 | 0.950 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 470 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/NewJavaProjectPreferencePage.java |
2 | 4 | 480 | 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(); button.setSelection(store.getDefaultBoolean(key)); } |
| ||||
for (int i = 0; i < fTextControls.size(); i++) { Text text = (Text) fTextControls.get(i); String key = (String) text.getData(); text.setText(store.getDefaultString(key)); } |
| |||
for (int i = 0; i < [[#variableba6b8420]].size(); i++) { [[#variableba6b83a0]] [[#variableba6b8300]]= ( [[#variableba6b83a0]]) [[#variableba6b8420]].get(i); String key = (String) [[#variableba6b8300]].getData(); [[#variableba6b8300]]. [[#variableba6b8240]](store. [[#variableba6b81c0]](key)); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#ba6b8420]] | fTextControls |
1 | 2 | [[#ba6b8420]] | fCheckBoxes |
2 | 1 | [[#ba6b83a0]] | Text |
2 | 2 | [[#ba6b83a0]] | Button |
3 | 1 | [[#ba6b8300]] | text |
3 | 2 | [[#ba6b8300]] | button |
4 | 1 | [[#ba6b8240]] | setText |
4 | 2 | [[#ba6b8240]] | setSelection |
5 | 1 | [[#ba6b81c0]] | getDefaultString |
5 | 2 | [[#ba6b81c0]] | getDefaultBoolean |