CloneSet5592


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6240.969executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1645
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/JavaSearchTableContentProvider.java
2657
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/TextSearchTableContentProvider.java
Clone Instance
1
Line Count
6
Source Line
45
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/JavaSearchTableContentProvider.java

                                                                                      {
                                if (viewer.testFindItem(updatedElements[i]) != null)
                                        updated.add(updatedElements[i]);
                                else
                                        added.add(updatedElements[i]);
                                addCount++;
                                                                                      }


Clone Instance
2
Line Count
6
Source Line
57
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/TextSearchTableContentProvider.java

                                                                                 {
                                if (fTableViewer.testFindItem(updatedElements[i]) != null)
                                        fTableViewer.refresh(updatedElements[i]);
                                else
                                        fTableViewer.add(updatedElements[i]);
                                addCount++;
                                                                                 }


Clone AbstractionParameter Count: 4Parameter Bindings

{
  if ( [[#variable99e80da0]].testFindItem(updatedElements[i]) != null)
     [[#variable99e80ce0]]. [[#variable99e80980]](updatedElements[i]);
  else
     [[#variable99e80dc0]].add(updatedElements[i]);
  addCount++;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#99e80da0]]
fTableViewer 
12[[#99e80da0]]
viewer 
21[[#99e80ce0]]
fTableViewer 
22[[#99e80ce0]]
updated 
31[[#99e80980]]
refresh 
32[[#99e80980]]
add 
41[[#99e80dc0]]
fTableViewer 
42[[#99e80dc0]]
added