super.dock(calendarPanel, IDock.REGION.CENTER); super.dock(listPanel, calendarPanel, IDock.REGION.WEST, 0.2f); super.dock(navigationPanel, listPanel, IDock.REGION.SOUTH, 0.2f); super.setSplitProportion(listPanel, 0.2f); super.setSplitProportion(calendarPanel, 0.2f);
super.dock(messageListDockable, IDock.REGION.CENTER); super.dock(folderTreeDockable, messageListDockable, IDock.REGION.WEST, 0.3f); super.dock(messageViewerDockable, messageListDockable, IDock.REGION.SOUTH, 0.3f); super.setSplitProportion(folderTreeDockable, 0.3f); super.setSplitProportion(messageListDockable, 0.35f);
Clone fragments detected by clone detection tool
File path: /columba-1.4-src/calendar/src/main/java/org/columba/calendar/ui/frame/CalendarFrameMediator.java File path: /columba-1.4-src/mail/src/main/java/org/columba/mail/gui/frame/ThreePaneMailFrameController.java
Method name: void loadDefaultPosition() Method name: void loadDefaultPosition()
Number of AST nodes: 5 Number of AST nodes: 5
1
super.dock(calendarPanel, IDock.REGION.CENTER);
1
super.dock(messageListDockable, IDock.REGION.CENTER);
2
		super.dock(listPanel, calendarPanel, IDock.REGION.WEST, 
2
		super.dock(folderTreeDockable, messageListDockable, IDock.REGION.WEST,
3
0.2f);
3
				0.3f);
4
		super.dock(navigationPanel, listPanel, 
4
		super.dock(messageViewerDockable, messageListDockable,
5
IDock.REGION.SOUTH, 0.2f);
5
				IDock.REGION.SOUTH, 0.3f);
6
		super.setSplitProportion(listPanel, 0.2f);
6
		super.setSplitProportion(folderTreeDockable, 0.3f);
7
		super.setSplitProportion(calendarPanel, 0.2f);
7
		super.setSplitProportion(messageListDockable, 0.35f);
Summary
Number of common nesting structure subtrees1
Number of refactorable cases0
Number of non-refactorable cases1
Time elapsed for finding largest common nesting structure subtrees (ms)0.0
Clones locationClones are in different classes having the same super class
Number of node comparisons25
  1. {Non-refactorable}
    Mapping Summary
    Number of mapped statements5
    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
    1
    super.dock(calendarPanel, IDock.REGION.CENTER);
    1
    super.dock(calendarPanel, IDock.REGION.CENTER);
    1
    super.dock(messageListDockable, IDock.REGION.CENTER);
    Differences
    Expression1Expression2Difference
    calendarPanelmessageListDockableVARIABLE_NAME_MISMATCH
    Preondition Violations
    Super method call super.dock(calendarPanel,IDock.REGION.CENTER); cannot be extracted from method
    Super method call super.dock(messageListDockable,IDock.REGION.CENTER); cannot be extracted from method
    1
    super.dock(messageListDockable, IDock.REGION.CENTER);
    2
    super.dock(listPanel, calendarPanel, IDock.REGION.WEST, 0.2f);
    2
    super.dock(listPanel, calendarPanel, IDock.REGION.WEST, 0.2f);
    2
    super.dock(folderTreeDockable, messageListDockable, IDock.REGION.WEST, 0.3f);
    Differences
    Expression1Expression2Difference
    listPanelfolderTreeDockableVARIABLE_NAME_MISMATCH
    calendarPanelmessageListDockableVARIABLE_NAME_MISMATCH
    0.2f0.3fLITERAL_VALUE_MISMATCH
    Preondition Violations
    Super method call super.dock(listPanel,calendarPanel,IDock.REGION.WEST,0.2f); cannot be extracted from method
    Super method call super.dock(folderTreeDockable,messageListDockable,IDock.REGION.WEST,0.3f); cannot be extracted from method
    2
    super.dock(folderTreeDockable, messageListDockable, IDock.REGION.WEST, 0.3f);
    3
    super.dock(navigationPanel, listPanel, IDock.REGION.SOUTH, 0.2f);
    3
    super.dock(navigationPanel, listPanel, IDock.REGION.SOUTH, 0.2f);
    3
    super.dock(messageViewerDockable, messageListDockable, IDock.REGION.SOUTH, 0.3f);
    Differences
    Expression1Expression2Difference
    navigationPanelmessageViewerDockableVARIABLE_NAME_MISMATCH
    listPanelmessageListDockableVARIABLE_NAME_MISMATCH
    0.2f0.3fLITERAL_VALUE_MISMATCH
    Preondition Violations
    Super method call super.dock(navigationPanel,listPanel,IDock.REGION.SOUTH,0.2f); cannot be extracted from method
    Super method call super.dock(messageViewerDockable,messageListDockable,IDock.REGION.SOUTH,0.3f); cannot be extracted from method
    3
    super.dock(messageViewerDockable, messageListDockable, IDock.REGION.SOUTH, 0.3f);
    4
    super.setSplitProportion(listPanel, 0.2f);
    4
    super.setSplitProportion(listPanel, 0.2f);
    4
    super.setSplitProportion(folderTreeDockable, 0.3f);
    Differences
    Expression1Expression2Difference
    listPanelfolderTreeDockableVARIABLE_NAME_MISMATCH
    0.2f0.3fLITERAL_VALUE_MISMATCH
    Preondition Violations
    Super method call super.setSplitProportion(listPanel,0.2f); cannot be extracted from method
    Super method call super.setSplitProportion(folderTreeDockable,0.3f); cannot be extracted from method
    4
    super.setSplitProportion(folderTreeDockable, 0.3f);
    5
    super.setSplitProportion(calendarPanel, 0.2f);
    5
    super.setSplitProportion(calendarPanel, 0.2f);
    5
    super.setSplitProportion(messageListDockable, 0.35f);
    Differences
    Expression1Expression2Difference
    calendarPanelmessageListDockableVARIABLE_NAME_MISMATCH
    0.2f0.35fLITERAL_VALUE_MISMATCH
    Preondition Violations
    Super method call super.setSplitProportion(calendarPanel,0.2f); cannot be extracted from method
    Super method call super.setSplitProportion(messageListDockable,0.35f); cannot be extracted from method
    5
    super.setSplitProportion(messageListDockable, 0.35f);
    Precondition Violations (10)
    Row Violation
    1Super method call super.dock(calendarPanel,IDock.REGION.CENTER); cannot be extracted from method
    2Super method call super.dock(messageListDockable,IDock.REGION.CENTER); cannot be extracted from method
    3Super method call super.dock(listPanel,calendarPanel,IDock.REGION.WEST,0.2f); cannot be extracted from method
    4Super method call super.dock(folderTreeDockable,messageListDockable,IDock.REGION.WEST,0.3f); cannot be extracted from method
    5Super method call super.dock(navigationPanel,listPanel,IDock.REGION.SOUTH,0.2f); cannot be extracted from method
    6Super method call super.dock(messageViewerDockable,messageListDockable,IDock.REGION.SOUTH,0.3f); cannot be extracted from method
    7Super method call super.setSplitProportion(listPanel,0.2f); cannot be extracted from method
    8Super method call super.setSplitProportion(folderTreeDockable,0.3f); cannot be extracted from method
    9Super method call super.setSplitProportion(calendarPanel,0.2f); cannot be extracted from method
    10Super method call super.setSplitProportion(messageListDockable,0.35f); cannot be extracted from method