CloneSet5747


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7210.992statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16276
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/PackagesViewFlatContentProvider.java
27560
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/PackagesViewHierarchicalContentProvider.java
Clone Instance
1
Line Count
6
Source Line
276
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/PackagesViewFlatContentProvider.java

                if (lp != null && lp.belongs(frag)) {
                        lp.add(frag);
                        return;
                }

                IPackageFragment fragment = (IPackageFragment) fMapToPackageFragments.get(key);


Clone Instance
2
Line Count
7
Source Line
560
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/PackagesViewHierarchicalContentProvider.java

                //if fragment must be added to an existing LogicalPackage
                if (lp != null && lp.belongs(frag)) {
                        lp.add(frag);
                        return;
                }

                //if a new LogicalPackage must be created
                IPackageFragment iPackageFragment = (IPackageFragment) fMapToPackageFragments.get(key);


Clone AbstractionParameter Count: 1Parameter Bindings

//if fragment must be added to an existing LogicalPackage
if (lp != null && lp.belongs(frag)) {
  lp.add(frag);
  return;
}
//if a new LogicalPackage must be created
IPackageFragment  [[#variable942bbce0]]= (IPackageFragment) fMapToPackageFragments.get(key);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#942bbce0]]
iPackageFragment 
12[[#942bbce0]]
fragment