File path: /columba-1.4-src/core/src/main/java/org/columba/core/gui/dialog/FontSelectionDialog.java | File path: /columba-1.4-src/core/src/main/java/org/columba/core/gui/dialog/FontSelectionDialog.java | |||
Method name: void initComponents()
|
Method name: void initComponents()
|
|||
Number of AST nodes: 15 | Number of AST nodes: 15 | |||
1 | c.weightx = w1;↵ | 1 | c.weightx = w1;↵ | |
2 | c.fill = GridBagConstraints.HORIZONTAL;↵ | 2 | c.fill = GridBagConstraints.HORIZONTAL;↵ | |
3 | c.gridwidth = 1;↵ | 3 | c.gridwidth = 1;↵ | |
4 | gridbag.setConstraints(fontLabel, c);↵ | 4 | gridbag.setConstraints(fontName, c);↵ | |
5 | getContentPane().add(fontLabel);↵ | 5 | getContentPane().add(fontName);↵ | |
6 | c.weightx = w2;↵ | 6 | c.weightx = w2;↵ | |
7 | c.fill = GridBagConstraints.HORIZONTAL;↵ | 7 | c.fill = GridBagConstraints.HORIZONTAL;↵ | |
8 | c.gridwidth = GridBagConstraints.RELATIVE;↵ | 8 | c.gridwidth = GridBagConstraints.RELATIVE;↵ | |
9 | gridbag.setConstraints(styleLabel, c);↵ | 9 | gridbag.setConstraints(styleName, c);↵ | |
10 | getContentPane().add(styleLabel);↵ | 10 | getContentPane().add(styleName);↵ | |
11 | c.weightx = w3;↵ | 11 | c.weightx = w3;↵ | |
12 | c.fill = GridBagConstraints.HORIZONTAL;↵ | 12 | c.fill = GridBagConstraints.HORIZONTAL;↵ | |
13 | c.gridwidth = GridBagConstraints.REMAINDER;↵ | 13 | c.gridwidth = GridBagConstraints.REMAINDER;↵ | |
14 | gridbag.setConstraints(sizeLabel, c);↵ | 14 | gridbag.setConstraints(sizeName, c);↵ | |
15 | getContentPane().add(sizeLabel); | 15 | getContentPane().add(sizeName); | |
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 the same method |
Number of node comparisons | 153 |
Number of mapped statements | 15 |
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 | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
11 | c.weightx = w1; | 26 | c.weightx = w1; | ||||||||||||||
12 | c.fill = GridBagConstraints.HORIZONTAL; | 27 | c.fill = GridBagConstraints.HORIZONTAL; | ||||||||||||||
13 | c.gridwidth = 1; | 28 | c.gridwidth = 1; | ||||||||||||||
14 | gridbag.setConstraints(fontLabel, c); |
| 29 | gridbag.setConstraints(fontName, c); | |||||||||||||
15 | getContentPane().add(fontLabel); |
| 30 | getContentPane().add(fontName); | |||||||||||||
16 | c.weightx = w2; | 31 | c.weightx = w2; | ||||||||||||||
17 | c.fill = GridBagConstraints.HORIZONTAL; | 32 | c.fill = GridBagConstraints.HORIZONTAL; | ||||||||||||||
18 | c.gridwidth = GridBagConstraints.RELATIVE; | 33 | c.gridwidth = GridBagConstraints.RELATIVE; | ||||||||||||||
19 | gridbag.setConstraints(styleLabel, c); |
| 34 | gridbag.setConstraints(styleName, c); | |||||||||||||
20 | getContentPane().add(styleLabel); |
| 35 | getContentPane().add(styleName); | |||||||||||||
21 | c.weightx = w3; | 36 | c.weightx = w3; | ||||||||||||||
22 | c.fill = GridBagConstraints.HORIZONTAL; | 37 | c.fill = GridBagConstraints.HORIZONTAL; | ||||||||||||||
23 | c.gridwidth = GridBagConstraints.REMAINDER; | 38 | c.gridwidth = GridBagConstraints.REMAINDER; | ||||||||||||||
24 | gridbag.setConstraints(sizeLabel, c); |
| 39 | gridbag.setConstraints(sizeName, c); | |||||||||||||
25 | getContentPane().add(sizeLabel); |
| 40 | getContentPane().add(sizeName); |
Row | Violation |
---|