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); | |
See real code fragment | See real code fragment |
Number of common nesting structure subtrees | 1 |
Number of refactorable cases | 0 |
Number of non-refactorable cases | 1 |
Time elapsed for finding largest common nesting structure subtrees (ms) | 0.0 |
Clones location | Clones are in different classes having the same super class |
Number of node comparisons | 25 |
Number of mapped statements | 5 |
Number of unmapped statements in the first code fragment | 0 |
Number of unmapped statements in the second code fragment | 0 |
Time elapsed for statement mapping (ms) | 0.0 |
Clone type | Type 2 |
ID | Statement | ID | Statement | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | super.dock(calendarPanel, IDock.REGION.CENTER); |
| 2 | super.dock(folderTreeDockable, messageListDockable, IDock.REGION.WEST, 0.3f); | |||||||||||||||||
2 | super.dock(listPanel, calendarPanel, IDock.REGION.WEST, 0.2f); |
| 1 | super.dock(messageListDockable, IDock.REGION.CENTER); | |||||||||||||||||
3 | super.dock(navigationPanel, listPanel, IDock.REGION.SOUTH, 0.2f); |
| 4 | super.setSplitProportion(folderTreeDockable, 0.3f); | |||||||||||||||||
4 | super.setSplitProportion(listPanel, 0.2f); |
| 3 | super.dock(messageViewerDockable, messageListDockable, IDock.REGION.SOUTH, 0.3f); | |||||||||||||||||
5 | super.setSplitProportion(calendarPanel, 0.2f); |
| 5 | super.setSplitProportion(messageListDockable, 0.35f); |
Row | Violation |
---|---|
1 | Expression super.dock(calendarPanel,IDock.REGION.CENTER) is a void method call, and thus it cannot be parameterized |
2 | Expression super.dock(folderTreeDockable,messageListDockable,IDock.REGION.WEST,0.3f) is a void method call, and thus it cannot be parameterized |
3 | Expression super.dock(listPanel,calendarPanel,IDock.REGION.WEST,0.2f) is a void method call, and thus it cannot be parameterized |
4 | Expression super.dock(messageListDockable,IDock.REGION.CENTER) is a void method call, and thus it cannot be parameterized |
5 | Expression super.dock(navigationPanel,listPanel,IDock.REGION.SOUTH,0.2f) is a void method call, and thus it cannot be parameterized |
6 | Expression super.setSplitProportion(folderTreeDockable,0.3f) is a void method call, and thus it cannot be parameterized |
7 | Expression super.dock(navigationPanel,listPanel,IDock.REGION.SOUTH,0.2f) is a void method call, and thus it cannot be parameterized |
8 | Expression super.setSplitProportion(folderTreeDockable,0.3f) is a void method call, and thus it cannot be parameterized |
9 | Expression super.setSplitProportion(listPanel,0.2f) is a void method call, and thus it cannot be parameterized |
10 | Expression super.dock(messageViewerDockable,messageListDockable,IDock.REGION.SOUTH,0.3f) is a void method call, and thus it cannot be parameterized |
11 | Expression super.setSplitProportion(listPanel,0.2f) is a void method call, and thus it cannot be parameterized |
12 | Expression super.dock(messageViewerDockable,messageListDockable,IDock.REGION.SOUTH,0.3f) is a void method call, and thus it cannot be parameterized |