File path: /sql12/app/src/net/sourceforge/squirrel_sql/client/preferences/UpdatePreferencesPanel.java | File path: /sql12/app/src/net/sourceforge/squirrel_sql/client/preferences/UpdatePreferencesPanel.java | |||
Method name: void setLabelConstraints(GridBagConstraints, int)
|
Method name: void setFieldConstraints(GridBagConstraints, int)
|
|||
Number of AST nodes: 7 | Number of AST nodes: 7 | |||
1 | gbc.gridx = 0;↵ | 1 | gbc.gridx = 1;↵ | |
2 | gbc.gridy = gridy;↵ | 2 | gbc.gridy = gridy;↵ | |
3 | gbc.gridwidth = 1;↵ | 3 | gbc.gridwidth = 1;↵ | |
4 | gbc.weightx = 0;↵ | 4 | gbc.weightx = 1;↵ | |
5 | gbc.insets = LABEL_INSETS;↵ | 5 | gbc.insets = FIELD_INSETS;↵ | |
6 | gbc.fill = GridBagConstraints.NONE;↵ | 6 | gbc.fill = GridBagConstraints.HORIZONTAL;↵ | |
7 | gbc.anchor = GridBagConstraints.EAST; | 7 | gbc.anchor = GridBagConstraints.WEST; | |
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 declared in the same class |
Number of node comparisons | 49 |
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 | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | gbc.gridx = 0; |
| 1 | gbc.gridx = 1; | ||||||||||
2 | gbc.gridy = gridy; | 2 | gbc.gridy = gridy; | |||||||||||
3 | gbc.gridwidth = 1; | 3 | gbc.gridwidth = 1; | |||||||||||
4 | gbc.weightx = 0; |
| 4 | gbc.weightx = 1; | ||||||||||
5 | gbc.insets = LABEL_INSETS; |
| 5 | gbc.insets = FIELD_INSETS; | ||||||||||
6 | gbc.fill = GridBagConstraints.NONE; |
| 6 | gbc.fill = GridBagConstraints.HORIZONTAL; | ||||||||||
7 | gbc.anchor = GridBagConstraints.EAST; |
| 7 | gbc.anchor = GridBagConstraints.WEST; |
Row | Violation |
---|