CloneSet4544


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7210.977statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17673
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaOutlinePage.java
27692
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaOutlinePage.java
Clone Instance
1
Line Count
7
Source Line
673
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaOutlinePage.java

                                                                                if (last != null && deletions.contains(last)) {
                                                                                        // reuse item
                                                                                        deletions.removeElement(last);
                                                                                        reuseTreeItem(last, e);
                                                                                }
                                                                                else   {
                                                                                        // nothing to reuse
                                                                                        createTreeItem(w, e, j);
                                                                                }


Clone Instance
2
Line Count
7
Source Line
692
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaOutlinePage.java

                                                        // add at the end of the list
                                                        if (last != null && deletions.contains(last)) {
                                                                // reuse item
                                                                deletions.removeElement(last);
                                                                reuseTreeItem(last, e);
                                                        }
                                                        else   {
                                                                // nothing to reuse
                                                                createTreeItem(w, e, -1);
                                                        }


Clone AbstractionParameter Count: 1Parameter Bindings

// add at the end of the list
if (last != null && deletions.contains(last)) {
  // reuse item
  deletions.removeElement(last);
  reuseTreeItem(last, e);
}
else {
  // nothing to reuse
  createTreeItem(w, e,  [[#variable5721ae80]]);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5721ae80]]
-1 
12[[#5721ae80]]
j