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);
    2
    super.dock(folderTreeDockable, messageListDockable, IDock.REGION.WEST, 0.3f);
    Differences
    Expression1Expression2Difference
    super.dock(calendarPanel,IDock.REGION.CENTER)super.dock(folderTreeDockable,messageListDockable,IDock.REGION.WEST,0.3f)ARGUMENT_NUMBER_MISMATCH
    Preondition Violations
    Expression super.dock(calendarPanel,IDock.REGION.CENTER) is a void method call, and thus it cannot be parameterized
    Expression super.dock(folderTreeDockable,messageListDockable,IDock.REGION.WEST,0.3f) is a void method call, and thus it cannot be parameterized
    2
    super.dock(folderTreeDockable, messageListDockable, IDock.REGION.WEST, 0.3f);
    2
    super.dock(listPanel, calendarPanel, IDock.REGION.WEST, 0.2f);
    2
    super.dock(listPanel, calendarPanel, IDock.REGION.WEST, 0.2f);
    1
    super.dock(messageListDockable, IDock.REGION.CENTER);
    Differences
    Expression1Expression2Difference
    super.dock(listPanel,calendarPanel,IDock.REGION.WEST,0.2f)super.dock(messageListDockable,IDock.REGION.CENTER)ARGUMENT_NUMBER_MISMATCH
    Preondition Violations
    Expression super.dock(listPanel,calendarPanel,IDock.REGION.WEST,0.2f) is a void method call, and thus it cannot be parameterized
    Expression super.dock(messageListDockable,IDock.REGION.CENTER) is a void method call, and thus it cannot be parameterized
    1
    super.dock(messageListDockable, IDock.REGION.CENTER);
    3
    super.dock(navigationPanel, listPanel, IDock.REGION.SOUTH, 0.2f);
    3
    super.dock(navigationPanel, listPanel, IDock.REGION.SOUTH, 0.2f);
    4
    super.setSplitProportion(folderTreeDockable, 0.3f);
    Differences
    Expression1Expression2Difference
    super.dock(navigationPanel,listPanel,IDock.REGION.SOUTH,0.2f)super.setSplitProportion(folderTreeDockable,0.3f)ARGUMENT_NUMBER_MISMATCH
    docksetSplitProportionMETHOD_INVOCATION_NAME_MISMATCH
    Preondition Violations
    Expression super.dock(navigationPanel,listPanel,IDock.REGION.SOUTH,0.2f) is a void method call, and thus it cannot be parameterized
    Expression super.setSplitProportion(folderTreeDockable,0.3f) is a void method call, and thus it cannot be parameterized
    Expression super.dock(navigationPanel,listPanel,IDock.REGION.SOUTH,0.2f) is a void method call, and thus it cannot be parameterized
    Expression super.setSplitProportion(folderTreeDockable,0.3f) is a void method call, and thus it cannot be parameterized
    4
    super.setSplitProportion(folderTreeDockable, 0.3f);
    4
    super.setSplitProportion(listPanel, 0.2f);
    4
    super.setSplitProportion(listPanel, 0.2f);
    3
    super.dock(messageViewerDockable, messageListDockable, IDock.REGION.SOUTH, 0.3f);
    Differences
    Expression1Expression2Difference
    super.setSplitProportion(listPanel,0.2f)super.dock(messageViewerDockable,messageListDockable,IDock.REGION.SOUTH,0.3f)ARGUMENT_NUMBER_MISMATCH
    setSplitProportiondockMETHOD_INVOCATION_NAME_MISMATCH
    Preondition Violations
    Expression super.setSplitProportion(listPanel,0.2f) is a void method call, and thus it cannot be parameterized
    Expression super.dock(messageViewerDockable,messageListDockable,IDock.REGION.SOUTH,0.3f) is a void method call, and thus it cannot be parameterized
    Expression super.setSplitProportion(listPanel,0.2f) is a void method call, and thus it cannot be parameterized
    Expression super.dock(messageViewerDockable,messageListDockable,IDock.REGION.SOUTH,0.3f) is a void method call, and thus it cannot be parameterized
    3
    super.dock(messageViewerDockable, messageListDockable, IDock.REGION.SOUTH, 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
    5
    super.setSplitProportion(messageListDockable, 0.35f);
    Precondition Violations (12)
    Row Violation
    1Expression super.dock(calendarPanel,IDock.REGION.CENTER) is a void method call, and thus it cannot be parameterized
    2Expression super.dock(folderTreeDockable,messageListDockable,IDock.REGION.WEST,0.3f) is a void method call, and thus it cannot be parameterized
    3Expression super.dock(listPanel,calendarPanel,IDock.REGION.WEST,0.2f) is a void method call, and thus it cannot be parameterized
    4Expression super.dock(messageListDockable,IDock.REGION.CENTER) is a void method call, and thus it cannot be parameterized
    5Expression super.dock(navigationPanel,listPanel,IDock.REGION.SOUTH,0.2f) is a void method call, and thus it cannot be parameterized
    6Expression super.setSplitProportion(folderTreeDockable,0.3f) is a void method call, and thus it cannot be parameterized
    7Expression super.dock(navigationPanel,listPanel,IDock.REGION.SOUTH,0.2f) is a void method call, and thus it cannot be parameterized
    8Expression super.setSplitProportion(folderTreeDockable,0.3f) is a void method call, and thus it cannot be parameterized
    9Expression super.setSplitProportion(listPanel,0.2f) is a void method call, and thus it cannot be parameterized
    10Expression super.dock(messageViewerDockable,messageListDockable,IDock.REGION.SOUTH,0.3f) is a void method call, and thus it cannot be parameterized
    11Expression super.setSplitProportion(listPanel,0.2f) is a void method call, and thus it cannot be parameterized
    12Expression super.dock(messageViewerDockable,messageListDockable,IDock.REGION.SOUTH,0.3f) is a void method call, and thus it cannot be parameterized