Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 2 | 5 | 0.963 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 160 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/LineWrappingTabPage.java |
2 | 9 | 156 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/WhiteSpaceTabPage.java |
| ||||
try { index = fDialogSettings.getInt(PREF_CATEGORY_INDEX); } catch (NumberFormatException ex) { index = -1; } if (index < 0 || index > fCategoriesList.size() - 1) { index = 1; // In order to select a category with preview initially } final Category category = (Category) fCategoriesList.get(index); |
| ||||
try { index = fDialogSettings.getInt(PREF_NODE_KEY); } catch (NumberFormatException ex) { index = -1; } if (index < 0 || index > fIndexedNodeList.size() - 1) { index = 0; } final Node node = (Node) fIndexedNodeList.get(index); |
| |||
try { index = fDialogSettings.getInt( [[#variablea0f029c0]]); } catch (NumberFormatException ex) { index = -1; } if (index < 0 || index > [[#variablea0f02900]].size() - 1) { index = [[#variablea0855520]]; // In order to select a category with preview initially } final [[#variablea0f02940]] [[#variable6000c300]]= ( [[#variablea0f02940]]) [[#variablea0f02900]].get(index); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#a0f029c0]] | PREF_NODE_KEY |
1 | 2 | [[#a0f029c0]] | PREF_CATEGORY_INDEX |
2 | 1 | [[#a0f02900]] | fIndexedNodeList |
2 | 2 | [[#a0f02900]] | fCategoriesList |
3 | 1 | [[#a0855520]] | 0 |
3 | 2 | [[#a0855520]] | 1 |
4 | 1 | [[#a0f02940]] | Node |
4 | 2 | [[#a0f02940]] | Category |
5 | 1 | [[#6000c300]] | node |
5 | 2 | [[#6000c300]] | category |