Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
14 | 2 | 6 | 0.984 | statement_sequence[5] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 14 | 99 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPerspectiveFactory.java |
2 | 14 | 126 | 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$ |
| ||||
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$ |
| |||
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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#bb882720]] | TOP |
1 | 2 | [[#bb882720]] | LEFT |
2 | 1 | [[#bb882680]] | RIGHT |
2 | 2 | [[#bb882680]] | BOTTOM |
3 | 1 | [[#bb8825a0]] | placeHolderLeft |
3 | 2 | [[#bb8825a0]] | placeHolderBottom |
4 | 1 | [[#bb882480]] | "left" |
4 | 2 | [[#bb882480]] | "bottom" |
5 | 1 | [[#bb8824e0]] | LEFT |
5 | 2 | [[#bb8824e0]] | BOTTOM |
6 | 1 | [[#bb882460]] | 0.25 |
6 | 2 | [[#bb882460]] | 0.75 |