builder.setLeadingColumnOffset(2); builder.append(incomingTrashRadioButton, 3); builder.nextLine(); builder.append(incomingMoveToRadioButton, 1);
builder.setLeadingColumnOffset(2); builder.append(markTrashRadioButton, 3); builder.nextLine(); builder.append(markMoveToRadioButton, 1);
Clone fragments detected by clone detection tool
File path: /columba-1.4-src/mail/src/main/java/org/columba/mail/gui/config/account/SpamPanel.java File path: /columba-1.4-src/mail/src/main/java/org/columba/mail/gui/config/account/SpamPanel.java
Method name: void layoutComponents() Method name: void layoutComponents()
Number of AST nodes: 4 Number of AST nodes: 4
1
builder.setLeadingColumnOffset(2);
1
builder.setLeadingColumnOffset(2);
2
		builder.append(incomingTrashRadioButton, 3);
2
		builder.append(markTrashRadioButton, 3);
3
		builder.nextLine();
3
		builder.nextLine();
4
		builder.append(incomingMoveToRadioButton, 1);
4
		builder.append(markMoveToRadioButton, 1);
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 comparisons16
  1. {Refactorable}
    Mapping Summary
    Number of mapped statements4
    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
    17
    builder.setLeadingColumnOffset(2);
    25
    builder.setLeadingColumnOffset(2);
    18
    builder.append(incomingTrashRadioButton, 3);
    18
    builder.append(incomingTrashRadioButton, 3);
    26
    builder.append(markTrashRadioButton, 3);
    Differences
    Expression1Expression2Difference
    incomingTrashRadioButtonmarkTrashRadioButtonVARIABLE_NAME_MISMATCH
    26
    builder.append(markTrashRadioButton, 3);
    19
    builder.nextLine();
    27
    builder.nextLine();
    20
    builder.append(incomingMoveToRadioButton, 1);
    20
    builder.append(incomingMoveToRadioButton, 1);
    28
    builder.append(markMoveToRadioButton, 1);
    Differences
    Expression1Expression2Difference
    incomingMoveToRadioButtonmarkMoveToRadioButtonVARIABLE_NAME_MISMATCH
    28
    builder.append(markMoveToRadioButton, 1);
    Precondition Violations (0)
    Row Violation