data.widthHint = Display.getCurrent().getBounds().width / 5; data.heightHint = Display.getCurrent().getBounds().height / 3; data.verticalAlignment = SWT.FILL;
featureTableGridData.widthHint = Display.getCurrent().getBounds().width / 5; featureTableGridData.heightHint = Display.getCurrent().getBounds().height / 3; featureTableGridData.verticalAlignment = SWT.FILL;
Clone fragments detected by clone detection tool
File path: /emf-2.4.1/src/org/eclipse/emf/converter/ui/ModelConverterDescriptorSelectionPage.java File path: /emf-2.4.1/src/org/eclipse/emf/edit/ui/celleditor/FeatureEditorDialog.java
Method name: void createControl(Composite) Method name: Control createDialogArea(Composite)
Number of AST nodes: 3 Number of AST nodes: 3
1
data.widthHint = Display.getCurrent().getBounds().width / 5;
1
featureTableGridData.widthHint = Display.getCurrent().getBounds().width / 5;
2
      data.heightHint = Display.getCurrent().getBounds().height / 3;
2
    featureTableGridData.heightHint = Display.getCurrent().getBounds().height / 3;
3
      data.verticalAlignment = SWT.FILL;
3
    featureTableGridData.verticalAlignment = SWT.FILL;
Summary
Number of common nesting structure subtrees1
Number of refactorable cases1
Number of non-refactorable cases0
Time elapsed for finding largest common nesting structure subtrees (ms)0.0
Clones locationClones are in different classes
Number of node comparisons9
  1. {Refactorable}
    Mapping Summary
    Number of mapped statements3
    Number of unmapped statements in the first code fragment0
    Number of unmapped statements in the second code fragment0
    Time elapsed for statement mapping (ms)0.0
    Clone typeType 2
    Mapped Statements
    ID Statement ID Statement
    19
    data.widthHint = Display.getCurrent().getBounds().width / 5;
    19
    data.widthHint = Display.getCurrent().getBounds().width / 5;
    105
    featureTableGridData.widthHint = Display.getCurrent().getBounds().width / 5;
    Differences
    Expression1Expression2Difference
    datafeatureTableGridDataVARIABLE_NAME_MISMATCH
    105
    featureTableGridData.widthHint = Display.getCurrent().getBounds().width / 5;
    20
    data.heightHint = Display.getCurrent().getBounds().height / 3;
    20
    data.heightHint = Display.getCurrent().getBounds().height / 3;
    106
    featureTableGridData.heightHint = Display.getCurrent().getBounds().height / 3;
    Differences
    Expression1Expression2Difference
    datafeatureTableGridDataVARIABLE_NAME_MISMATCH
    106
    featureTableGridData.heightHint = Display.getCurrent().getBounds().height / 3;
    21
    data.verticalAlignment = SWT.FILL;
    21
    data.verticalAlignment = SWT.FILL;
    107
    featureTableGridData.verticalAlignment = SWT.FILL;
    Differences
    Expression1Expression2Difference
    datafeatureTableGridDataVARIABLE_NAME_MISMATCH
    107
    featureTableGridData.verticalAlignment = SWT.FILL;
    Precondition Violations (0)
    Row Violation