File path: /columba-1.4-src/mail/src/main/java/org/columba/mail/gui/config/accountlist/AccountListDialog.java | File path: /columba-1.4-src/mail/src/main/java/org/columba/mail/gui/config/subscribe/SubscribeDialog.java | |||
Method name: void initComponents()
|
Method name: void initComponents()
|
|||
Number of AST nodes: 6 | Number of AST nodes: 6 | |||
1 | JPanel topPanel = new JPanel();↵ | 1 | JPanel topPanel = new JPanel();↵ | |
2 | topPanel.setLayout(new BoxLayout(topPanel, BoxLayout.X_AXIS));↵ | 2 | topPanel.setLayout(new BoxLayout(topPanel, BoxLayout.X_AXIS));↵ | |
3 | GridBagLayout gridBagLayout = new GridBagLayout();↵ | 3 | GridBagLayout gridBagLayout = new GridBagLayout();↵ | |
4 | GridBagConstraints c = new GridBagConstraints();↵ | 4 | GridBagConstraints c = new GridBagConstraints();↵ | |
5 | // topPanel.setLayout( );↵ | 5 | // topPanel.setLayout( );↵ | |
6 | JPanel topBorderPanel = new JPanel();↵ | 6 | JPanel topBorderPanel = new JPanel();↵ | |
7 | topBorderPanel.setLayout(new BorderLayout()); | 7 |
| |
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 | 23 |
Number of mapped statements | 6 |
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 1 |
ID | Statement | ID | Statement | |
---|---|---|---|---|
16 | JPanel topPanel = new JPanel(); | 17 | JPanel topPanel = new JPanel(); | |
17 | topPanel.setLayout(new BoxLayout(topPanel, BoxLayout.X_AXIS)); | 18 | topPanel.setLayout(new BoxLayout(topPanel, BoxLayout.X_AXIS)); | |
18 | GridBagLayout gridBagLayout = new GridBagLayout(); | 19 | GridBagLayout gridBagLayout = new GridBagLayout(); | |
19 | GridBagConstraints c = new GridBagConstraints(); | 20 | GridBagConstraints c = new GridBagConstraints(); | |
20 | JPanel topBorderPanel = new JPanel(); | 21 | JPanel topBorderPanel = new JPanel(); | |
21 | topBorderPanel.setLayout(new BorderLayout()); | 22 | topBorderPanel.setLayout(new BorderLayout()); |
Row | Violation |
---|---|
1 | Clone fragment #1 returns variables topBorderPanel, topPanel, c, gridBagLayout , while Clone fragment #2 returns variables c, gridBagLayout |