Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 2 | 3 | 0.961 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 107 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/callhierarchy/SearchUtil.java |
2 | 8 | 191 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/SearchUtil.java |
| ||||
boolean foundLRU = false; String[] lruWorkingSetNames = SearchUtil.fgSettingsStore.getArray(SearchUtil.STORE_LRU_WORKING_SET_NAMES); if (lruWorkingSetNames != null) { for (int i = lruWorkingSetNames.length - 1; i >= 0; i--) { IWorkingSet workingSet = PlatformUI.getWorkbench().getWorkingSetManager().getWorkingSet(lruWorkingSetNames[i]); if (workingSet != null) { foundLRU = true; SearchUtil.fgLRUWorkingSets.add(new IWorkingSet[] { workingSet } ); } } } |
| ||||
boolean foundLRU = false; String[] lruWorkingSetNames = settingsStore.getArray(STORE_LRU_WORKING_SET_NAMES); if (lruWorkingSetNames != null) { for (int i = lruWorkingSetNames.length - 1; i >= 0; i--) { IWorkingSet workingSet = PlatformUI.getWorkbench().getWorkingSetManager().getWorkingSet(lruWorkingSetNames[i]); if (workingSet != null) { foundLRU = true; fgLRUWorkingSets.add(new IWorkingSet[] { workingSet } ); } } } |
| |||
boolean foundLRU = false; String[] lruWorkingSetNames = [[#variable97b6a060]].getArray( [[#variable9a7340c0]]); if (lruWorkingSetNames != null) { for (int i = lruWorkingSetNames.length - 1; i >= 0; i--) { IWorkingSet workingSet = PlatformUI.getWorkbench().getWorkingSetManager().getWorkingSet(lruWorkingSetNames[i]); if (workingSet != null) { foundLRU = true; [[#variable9a734100]].add(new IWorkingSet[] { workingSet } ); } } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#97b6a060]] | SearchUtil.fgSettingsStore |
1 | 2 | [[#97b6a060]] | settingsStore |
2 | 1 | [[#9a7340c0]] | SearchUtil.STORE_LRU_WORKING_SET_NAMES |
2 | 2 | [[#9a7340c0]] | STORE_LRU_WORKING_SET_NAMES |
3 | 1 | [[#9a734100]] | SearchUtil.fgLRUWorkingSets |
3 | 2 | [[#9a734100]] | fgLRUWorkingSets |