File path: /columba-1.4-src/core/src/main/java/org/columba/core/gui/util/AboutDialog.java | File path: /columba-1.4-src/core/src/main/java/org/columba/core/gui/util/AboutDialog.java | |||
Method name: void initComponents()
|
Method name: void initComponents()
|
|||
Number of AST nodes: 12 | Number of AST nodes: 12 | |||
1 | add(currentMemoryLabel, c);↵ | 1 | add(totalMemoryLabel, c);↵ | |
2 | currentMemoryTextField.setColumns(5);↵ | 2 | totalMemoryTextField.setColumns(5);↵ | |
3 | currentMemoryTextField.setEditable(false);↵ | 3 | totalMemoryTextField.setEditable(false);↵ | |
4 | c.gridx = 1;↵ | 4 | c.gridx = 4;↵ | |
5 | c.insets = new Insets(0, 4, 0, 4);↵ | 5 | c.insets = new Insets(0, 4, 0, 4);↵ | |
6 | add(currentMemoryTextField, c);↵ | 6 | add(totalMemoryTextField, c);↵ | |
7 | JLabel currentMemoryKBLabel = new JLabel("KB");↵ | 7 | JLabel totalMemoryKBLabel = new JLabel("KB");↵ | |
8 | c.gridx = 2;↵ | 8 | c.gridx = 5;↵ | |
9 | c.insets = new Insets(0, 0, 0, 0);↵ | 9 | c.insets = new Insets(0, 0, 0, 0);↵ | |
10 | add(currentMemoryKBLabel, c);↵ | 10 | add(totalMemoryKBLabel, c);↵ | |
11 | JLabel totalMemoryLabel = new JLabel("Total:");↵ | 11 | JLabel maxMemoryLabel = new JLabel("VM Max:");↵ | |
12 | c.gridx = 3; | 12 | c.gridx = 0; | |
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 | 103 |
Number of mapped statements | 12 |
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 | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
10 | add(currentMemoryLabel, c); |
| 23 | add(totalMemoryLabel, c); | |||||||||||||
11 | currentMemoryTextField.setColumns(5); |
| 24 | totalMemoryTextField.setColumns(5); | |||||||||||||
12 | currentMemoryTextField.setEditable(false); |
| 25 | totalMemoryTextField.setEditable(false); | |||||||||||||
13 | c.gridx = 1; |
| 26 | c.gridx = 4; | |||||||||||||
14 | c.insets = new Insets(0, 4, 0, 4); | 27 | c.insets = new Insets(0, 4, 0, 4); | ||||||||||||||
15 | add(currentMemoryTextField, c); |
| 28 | add(totalMemoryTextField, c); | |||||||||||||
16 | JLabel currentMemoryKBLabel = new JLabel("KB"); |
| 29 | JLabel totalMemoryKBLabel = new JLabel("KB"); | |||||||||||||
17 | c.gridx = 2; |
| 30 | c.gridx = 5; | |||||||||||||
18 | c.insets = new Insets(0, 0, 0, 0); | 31 | c.insets = new Insets(0, 0, 0, 0); | ||||||||||||||
19 | add(currentMemoryKBLabel, c); |
| 32 | add(totalMemoryKBLabel, c); | |||||||||||||
20 | JLabel totalMemoryLabel = new JLabel("Total:"); |
| 33 | JLabel maxMemoryLabel = new JLabel("VM Max:"); | |||||||||||||
21 | c.gridx = 3; |
| 34 | c.gridx = 0; |
Row | Violation |
---|