File path: /sql12/plugins/postgres/src/net/sourceforge/squirrel_sql/plugins/postgres/explain/ExplainTab.java | File path: /sql12/app/src/net/sourceforge/squirrel_sql/client/session/mainpanel/ResultTab.java | |||
Method name: void TabButton(Action)
|
Method name: void TabButton(Action)
|
|||
Number of AST nodes: 4 | Number of AST nodes: 4 | |||
1 | super(action); ↵ | 1 | super(action);↵ | |
2 | setMargin(new Insets(0, 0, 0, 0)); ↵ | 2 | setMargin(new Insets(0, 0, 0, 0));↵ | |
3 | setBorderPainted(false); ↵ | 3 | setBorderPainted(false);↵ | |
4 | setText(""); | 4 |
| |
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 | 16 |
Number of mapped statements | 4 |
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 | |||||||
---|---|---|---|---|---|---|---|---|---|---|
1 | super(action); |
| 1 | super(action); | ||||||
2 | setMargin(new Insets(0, 0, 0, 0)); | 2 | setMargin(new Insets(0, 0, 0, 0)); | |||||||
3 | setBorderPainted(false); | 3 | setBorderPainted(false); | |||||||
4 | setText(""); | 4 | setText(""); |
Row | Violation |
---|---|
1 | Super constructor call super(action); cannot be extracted from constructor |
2 | Super constructor call super(action); cannot be extracted from constructor |