choiceTableGridData.widthHint = Display.getCurrent().getBounds().width / 5; choiceTableGridData.heightHint = Display.getCurrent().getBounds().height / 3; choiceTableGridData.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/edit/ui/celleditor/FeatureEditorDialog.java File path: /emf-2.4.1/src/org/eclipse/emf/edit/ui/celleditor/FeatureEditorDialog.java
Method name: Control createDialogArea(Composite) Method name: Control createDialogArea(Composite)
Number of AST nodes: 3 Number of AST nodes: 3
1
choiceTableGridData.widthHint = Display.getCurrent().getBounds().width / 5;
1
featureTableGridData.widthHint = Display.getCurrent().getBounds().width / 5;
2
      choiceTableGridData.heightHint = Display.getCurrent().getBounds().height / 3;
2
    featureTableGridData.heightHint = Display.getCurrent().getBounds().height / 3;
3
      choiceTableGridData.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 the same method
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
    26
    choiceTableGridData.widthHint = Display.getCurrent().getBounds().width / 5;
    26
    choiceTableGridData.widthHint = Display.getCurrent().getBounds().width / 5;
    105
    featureTableGridData.widthHint = Display.getCurrent().getBounds().width / 5;
    Differences
    Expression1Expression2Difference
    choiceTableGridDatafeatureTableGridDataVARIABLE_NAME_MISMATCH
    105
    featureTableGridData.widthHint = Display.getCurrent().getBounds().width / 5;
    27
    choiceTableGridData.heightHint = Display.getCurrent().getBounds().height / 3;
    27
    choiceTableGridData.heightHint = Display.getCurrent().getBounds().height / 3;
    106
    featureTableGridData.heightHint = Display.getCurrent().getBounds().height / 3;
    Differences
    Expression1Expression2Difference
    choiceTableGridDatafeatureTableGridDataVARIABLE_NAME_MISMATCH
    106
    featureTableGridData.heightHint = Display.getCurrent().getBounds().height / 3;
    28
    choiceTableGridData.verticalAlignment = SWT.FILL;
    28
    choiceTableGridData.verticalAlignment = SWT.FILL;
    107
    featureTableGridData.verticalAlignment = SWT.FILL;
    Differences
    Expression1Expression2Difference
    choiceTableGridDatafeatureTableGridDataVARIABLE_NAME_MISMATCH
    107
    featureTableGridData.verticalAlignment = SWT.FILL;
    Precondition Violations (0)
    Row Violation