CloneSet1635


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
11230.963block
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11153
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/callhierarchy/SearchUtil.java
211134
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/SearchUtil.java
Clone Instance
1
Line Count
11
Source Line
53
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/callhierarchy/SearchUtil.java

                                        {
                IWorkingSet[] workingSets;
                Iterator iter = SearchUtil.fgLRUWorkingSets.iterator();
                int i = 0;
                while (iter.hasNext()) {
                        workingSets = (IWorkingSet[]) iter.next();
                        String[] names = new String[workingSets.length];
                        for (int j = 0; j < workingSets.length; j++)
                                names[j] = workingSets[j].getName();
                        SearchUtil.fgSettingsStore.put(SearchUtil.STORE_LRU_WORKING_SET_NAMES + i, names);
                        i++;
                }
                                        }


Clone Instance
2
Line Count
11
Source Line
134
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/SearchUtil.java

                                                                     {
                IWorkingSet[] workingSets;
                Iterator iter = fgLRUWorkingSets.iterator();
                int i = 0;
                while (iter.hasNext()) {
                        workingSets = (IWorkingSet[]) iter.next();
                        String[] names = new String[workingSets.length];
                        for (int j = 0; j < workingSets.length; j++)
                                names[j] = workingSets[j].getName();
                        settingsStore.put(STORE_LRU_WORKING_SET_NAMES + i, names);
                        i++;
                }
                                                                     }


Clone AbstractionParameter Count: 3Parameter Bindings

{
  IWorkingSet[] workingSets;
  Iterator iter = [[#variablea33beac0]].iterator();
  int i = 0;
  while (iter.hasNext()) {
    workingSets = (IWorkingSet[]) iter.next();
    String[] names = new String[workingSets.length];
    for (int j = 0; j < workingSets.length; j++)
      names[j] = workingSets[j].getName();
     [[#variable95daf980]].put( [[#variablea33beb40]] + i, names);
    i++;
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a33beac0]]
fgLRUWorkingSets 
12[[#a33beac0]]
SearchUtil.fgLRUWorkingSets 
21[[#95daf980]]
settingsStore 
22[[#95daf980]]
SearchUtil.fgSettingsStore 
31[[#a33beb40]]
STORE_LRU_WORKING_SET_NAMES 
32[[#a33beb40]]
SearchUtil.STORE_LRU_WORKING_SET_NAMES