File path: /columba-1.4-src/contact/src/main/java/org/columba/addressbook/gui/frame/AddressbookFrameController.java | File path: /columba-1.4-src/plugins/org.columba.chat.altura/src/org/columba/chat/ui/frame/AlturaFrameController.java | |||
Method name: void loadDefaultPosition()
|
Method name: void loadDefaultPosition()
|
|||
Number of AST nodes: 4 | Number of AST nodes: 3 | |||
1 | super.dock(contactListPanel, IDock.REGION.CENTER);↵ | 1 | super.dock(conversationPanel, IDock.REGION.CENTER);↵ | |
2 | super.dock(treePanel, contactListPanel, IDock.REGION.WEST, 0.3f);↵ | 2 | super.dock(treePanel, conversationPanel, IDock.REGION.WEST, 0.3f);↵ | |
3 | super.setSplitProportion(treePanel, 0.3f);↵ | 3 | super.setSplitProportion(↵ | |
4 | super.setSplitProportion(contactListPanel, 0.35f); | 4 | conversationPanel, 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 | 12 |
Number of mapped statements | 3 |
Number of unmapped statements in the first code fragment | 1 |
Number of unmapped statements in the second code fragment | 0 |
Time elapsed for statement mapping (ms) | 0.0 |
Clone type | Type 3 |
ID | Statement | ID | Statement | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | super.dock(contactListPanel, IDock.REGION.CENTER); |
| 1 | super.dock(conversationPanel, IDock.REGION.CENTER); | ||||||||||||
2 | super.dock(treePanel, contactListPanel, IDock.REGION.WEST, 0.3f); |
| 2 | super.dock(treePanel, conversationPanel, IDock.REGION.WEST, 0.3f); | ||||||||||||
3 | super.setSplitProportion(treePanel, 0.3f); | | ||||||||||||||
4 | super.setSplitProportion(contactListPanel, 0.35f); |
| 3 | super.setSplitProportion(conversationPanel, 0.35f); |
Row | Violation |
---|---|
1 | Super method call super.dock(contactListPanel,IDock.REGION.CENTER); cannot be extracted from method |
2 | Super method call super.dock(conversationPanel,IDock.REGION.CENTER); cannot be extracted from method |
3 | Super method call super.dock(treePanel,contactListPanel,IDock.REGION.WEST,0.3f); cannot be extracted from method |
4 | Super method call super.dock(treePanel,conversationPanel,IDock.REGION.WEST,0.3f); cannot be extracted from method |
5 | Super method call super.setSplitProportion(contactListPanel,0.35f); cannot be extracted from method |
6 | Super method call super.setSplitProportion(conversationPanel,0.35f); cannot be extracted from method |