CloneSet4600


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5201.000statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15625
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/PackagesView.java
25652
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/PackagesView.java
Clone Instance
1
Line Count
5
Source Line
625
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/PackagesView.java

                if (jElementToSelect != null && jElementToSelect.getElementType() == IJavaElement.PACKAGE_FRAGMENT) {
                        IPackageFragment pkgFragment = (IPackageFragment) jElementToSelect;
                        elementToSelect = p.findLogicalPackage(pkgFragment);
                        if (elementToSelect == null)
                                elementToSelect = pkgFragment;
                }


Clone Instance
2
Line Count
5
Source Line
652
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/PackagesView.java

                        if (jElementToSelect != null && jElementToSelect.getElementType() == IJavaElement.PACKAGE_FRAGMENT) {
                                IPackageFragment pkgFragment = (IPackageFragment) jElementToSelect;
                                elementToSelect = p.findLogicalPackage(pkgFragment);
                                if (elementToSelect == null)
                                        elementToSelect = pkgFragment;
                        }


Clone AbstractionParameter Count: 0Parameter Bindings

if (jElementToSelect != null && jElementToSelect.getElementType() == IJavaElement.PACKAGE_FRAGMENT) {
  IPackageFragment pkgFragment = (IPackageFragment) jElementToSelect;
  elementToSelect = p.findLogicalPackage(pkgFragment);
  if (elementToSelect == null)
    elementToSelect = pkgFragment;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None