Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 1 | 0.992 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 276 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/PackagesViewFlatContentProvider.java |
2 | 7 | 560 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/PackagesViewHierarchicalContentProvider.java |
| ||||
if (lp != null && lp.belongs(frag)) { lp.add(frag); return; } IPackageFragment fragment = (IPackageFragment) fMapToPackageFragments.get(key); |
| ||||
//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); |
| |||
//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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#942bbce0]] | iPackageFragment |
1 | 2 | [[#942bbce0]] | fragment |