File path: /columba-1.4-src/core/src/main/java/org/columba/core/gui/plugin/PluginManagerDialog.java | File path: /columba-1.4-src/core/src/main/java/org/columba/core/gui/profiles/ProfileChooserDialog.java | |||
Method name: void initComponents()
|
Method name: void layoutComponents()
|
|||
Number of AST nodes: 7 | Number of AST nodes: 7 | |||
1 | glue = Box.createVerticalGlue();↵ | 1 | glue = Box.createVerticalGlue();↵ | |
2 | c.fill = GridBagConstraints.BOTH;↵ | 2 | c.fill = GridBagConstraints.BOTH;↵ | |
3 | c.weighty = 1.0;↵ | 3 | c.weighty = 1.0;↵ | |
4 | gridBagLayout.setConstraints(glue, c);↵ | 4 | gridBagLayout.setConstraints(glue, c);↵ | |
5 | eastPanel.add(glue);↵ | 5 | eastPanel.add(glue);↵ | |
6 | ↵ | 6 | ↵ | |
7 | // centerpanel↵ | 7 | // centerpanel↵ | |
8 | JPanel centerPanel = new JPanel(new BorderLayout());↵ | 8 | JPanel centerPanel = new JPanel(new BorderLayout());↵ | |
9 | centerPanel.setBorder(BorderFactory.createEmptyBorder(0, 0, 0, 5)); | 9 | centerPanel.setBorder(BorderFactory.createEmptyBorder(0, 0, 0, 6)); | |
See real code fragment | See real code fragment |
Number of common nesting structure subtrees | 1 |
Number of refactorable cases | 1 |
Number of non-refactorable cases | 0 |
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 | 29 |
Number of mapped statements | 7 |
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 | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
63 | glue = Box.createVerticalGlue(); | 31 | glue = Box.createVerticalGlue(); | |||||||||||
64 | c.fill = GridBagConstraints.BOTH; | 32 | c.fill = GridBagConstraints.BOTH; | |||||||||||
65 | c.weighty = 1.0; | 33 | c.weighty = 1.0; | |||||||||||
66 | gridBagLayout.setConstraints(glue, c); | 34 | gridBagLayout.setConstraints(glue, c); | |||||||||||
67 | eastPanel.add(glue); | 35 | eastPanel.add(glue); | |||||||||||
68 | JPanel centerPanel = new JPanel(new BorderLayout()); | 36 | JPanel centerPanel = new JPanel(new BorderLayout()); | |||||||||||
69 | centerPanel.setBorder(BorderFactory.createEmptyBorder(0, 0, 0, 5)); |
| 37 | centerPanel.setBorder(BorderFactory.createEmptyBorder(0, 0, 0, 6)); |
Row | Violation |
---|