File path: /columba-1.4-src/contact/src/main/java/org/columba/addressbook/gui/table/FilterToolbar.java | File path: /columba-1.4-src/mail/src/main/java/org/columba/mail/gui/filtertoolbar/FilterToolbar.java | |||
Method name: void layoutComponents()
|
Method name: void layoutComponents()
|
|||
Number of AST nodes: 4 | Number of AST nodes: 4 | |||
1 | PanelBuilder b = new PanelBuilder(l, this);↵ | 1 | PanelBuilder b = new PanelBuilder(l, this);↵ | |
2 | CellConstraints c = new CellConstraints();↵ | 2 | CellConstraints c = new CellConstraints();↵ | |
3 | b.add(label, c.xy(2, 1));↵ | 3 | b.add(criteriaComboMenu, c.xy(1, 1));↵ | |
4 | b.add(textField, c.xy(4, 1)); | 4 | b.add(textField, c.xy(3, 1)); | |
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 | 7 |
Number of mapped statements | 4 |
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 | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
3 | PanelBuilder b = new PanelBuilder(l, this); | 3 | PanelBuilder b = new PanelBuilder(l, this); | |||||||||||||||||
4 | CellConstraints c = new CellConstraints(); | 4 | CellConstraints c = new CellConstraints(); | |||||||||||||||||
5 | b.add(label, c.xy(2, 1)); |
| 5 | b.add(criteriaComboMenu, c.xy(1, 1)); | ||||||||||||||||
6 | b.add(textField, c.xy(4, 1)); |
| 6 | b.add(textField, c.xy(3, 1)); |
Row | Violation |
---|---|
1 | Clone fragment #1 returns variables b, c , while Clone fragment #2 returns variables b, c |