CloneSet794


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
14260.984statement_sequence[5]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11499
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPerspectiveFactory.java
214126
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPerspectiveFactory.java
Clone Instance
1
Line Count
14
Source Line
99
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPerspectiveFactory.java

                if (shouldShowProjectsView()) {
                        layout.addView(JavaUI.ID_PROJECTS_VIEW, IPageLayout.LEFT, (float) 0.25, IPageLayout.ID_EDITOR_AREA);
                        relativePartId = JavaUI.ID_PROJECTS_VIEW;
                        relativePos = IPageLayout.BOTTOM;
                }
                if (shouldShowPackagesView()) {
                        layout.addView(JavaUI.ID_PACKAGES_VIEW, relativePos, (float) 0.25, relativePartId);
                        relativePartId = JavaUI.ID_PACKAGES_VIEW;
                        relativePos = IPageLayout.BOTTOM;
                }
                layout.addView(JavaUI.ID_TYPES_VIEW, relativePos, (float) 0.33, relativePartId);
                layout.addView(JavaUI.ID_MEMBERS_VIEW, IPageLayout.BOTTOM, (float) 0.50, JavaUI.ID_TYPES_VIEW);

                IPlaceholderFolderLayout placeHolderBottom = layout.createPlaceholderFolder("bottom", IPageLayout.BOTTOM, (float) 0.75, IPageLayout.ID_EDITOR_AREA); //$NON-NLS-1$


Clone Instance
2
Line Count
14
Source Line
126
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPerspectiveFactory.java

                if (shouldShowProjectsView()) {
                        layout.addView(JavaUI.ID_PROJECTS_VIEW, IPageLayout.TOP, (float) 0.25, IPageLayout.ID_EDITOR_AREA);
                        relativePartId = JavaUI.ID_PROJECTS_VIEW;
                        relativePos = IPageLayout.RIGHT;
                }
                if (shouldShowPackagesView()) {
                        layout.addView(JavaUI.ID_PACKAGES_VIEW, relativePos, (float) 0.25, relativePartId);
                        relativePartId = JavaUI.ID_PACKAGES_VIEW;
                        relativePos = IPageLayout.RIGHT;
                }
                layout.addView(JavaUI.ID_TYPES_VIEW, relativePos, (float) 0.33, relativePartId);
                layout.addView(JavaUI.ID_MEMBERS_VIEW, IPageLayout.RIGHT, (float) 0.50, JavaUI.ID_TYPES_VIEW);

                IPlaceholderFolderLayout placeHolderLeft = layout.createPlaceholderFolder("left", IPageLayout.LEFT, (float) 0.25, IPageLayout.ID_EDITOR_AREA); //$NON-NLS-1$


Clone AbstractionParameter Count: 6Parameter Bindings

if (shouldShowProjectsView()) {
  layout.addView(JavaUI.ID_PROJECTS_VIEW, IPageLayout. [[#variablebb882720]], (float) 0.25, IPageLayout.ID_EDITOR_AREA);
  relativePartId = JavaUI.ID_PROJECTS_VIEW;
  relativePos = IPageLayout. [[#variablebb882680]];
}
if (shouldShowPackagesView()) {
  layout.addView(JavaUI.ID_PACKAGES_VIEW, relativePos, (float) 0.25, relativePartId);
  relativePartId = JavaUI.ID_PACKAGES_VIEW;
  relativePos = IPageLayout. [[#variablebb882680]];
}
layout.addView(JavaUI.ID_TYPES_VIEW, relativePos, (float) 0.33, relativePartId);
layout.addView(JavaUI.ID_MEMBERS_VIEW, IPageLayout. [[#variablebb882680]], (float) 0.50, JavaUI.ID_TYPES_VIEW);
IPlaceholderFolderLayout  [[#variablebb8825a0]]= layout.createPlaceholderFolder( [[#variablebb882480]], IPageLayout. [[#variablebb8824e0]], (float)  [[#variablebb882460]], IPageLayout.ID_EDITOR_AREA); //$NON-NLS-1$
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#bb882720]]
TOP 
12[[#bb882720]]
LEFT 
21[[#bb882680]]
RIGHT 
22[[#bb882680]]
BOTTOM 
31[[#bb8825a0]]
placeHolderLeft 
32[[#bb8825a0]]
placeHolderBottom 
41[[#bb882480]]
"left" 
42[[#bb882480]]
"bottom" 
51[[#bb8824e0]]
LEFT 
52[[#bb8824e0]]
BOTTOM 
61[[#bb882460]]
0.25 
62[[#bb882460]]
0.75