File path: /sql12/plugins/smarttools/src/net/sourceforge/squirrel_sql/plugins/smarttools/gui/SmarttoolFindBadNullValuesFrame.java | File path: /sql12/plugins/smarttools/src/net/sourceforge/squirrel_sql/plugins/smarttools/gui/SmarttoolMissingIndicesFrame.java | |||
Method name: void SmarttoolFindBadNullValuesFrame(ISession, String)
|
Method name: void SmarttoolMissingIndicesFrame(ISession, String)
|
|||
Number of AST nodes: 6 | Number of AST nodes: 6 | |||
1 | super("Smarttool - " + title,↵ | 1 | super("Smarttool - " + title,↵ | |
2 | true, true, true, true, session.getApplication());↵ | 2 | true, true, true, true, session.getApplication());↵ | |
3 | this.session = session;↵ | 3 | this.session = session;↵ | |
4 | initLayout();↵ | 4 | initLayout();↵ | |
5 | this.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);↵ | 5 | this.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);↵ | |
6 | this.setVisible(true);↵ | 6 | this.setVisible(true);↵ | |
7 | this.moveToFront(); | 7 |
| |
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 | 26 |
Number of mapped statements | 6 |
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("Smarttool - " + title, true, true, true, true, session.getApplication()); |
| 1 | super("Smarttool - " + title, true, true, true, true, session.getApplication()); | ||||||
2 | this.session = session; | 2 | this.session = session; | |||||||
3 | initLayout(); | 3 | initLayout(); | |||||||
4 | this.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE); | 4 | this.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE); | |||||||
5 | this.setVisible(true); | 5 | this.setVisible(true); | |||||||
6 | this.moveToFront(); | 6 | this.moveToFront(); |
Row | Violation |
---|---|
1 | Super constructor call super("Smarttool - " + title,true,true,true,true,session.getApplication()); cannot be extracted from constructor |
2 | Super constructor call super("Smarttool - " + title,true,true,true,true,session.getApplication()); cannot be extracted from constructor |