File path: /sql12/plugins/db2/src/net/sourceforge/squirrel_sql/plugins/db2/tab/ProcedureSourceTab.java | File path: /sql12/plugins/sybase/src/net/sourceforge/squirrel_sql/plugins/SybaseASE/tab/ViewSourceTab.java | |||
Method name: void ProcedureSourceTab(String, boolean, String)
|
Method name: void ViewSourceTab(String, String)
|
|||
Number of AST nodes: 4 | Number of AST nodes: 3 | |||
1 | super(hint);↵ | 1 | super(hint);↵ | |
2 | super.setCompressWhitespace(false);↵ | 2 | super.setCompressWhitespace(false);↵ | |
3 | super.setupFormatter(stmtSep, null);↵ | 3 |
| |
4 | this.isOS400 = isOS400; | |||
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 | 12 |
Number of mapped statements | 3 |
Number of unmapped statements in the first code fragment | 1 |
Number of unmapped statements in the second code fragment | 0 |
Time elapsed for statement mapping (ms) | 0.0 |
Clone type | Type 3 |
ID | Statement | ID | Statement | |||||||
---|---|---|---|---|---|---|---|---|---|---|
1 | super(hint); |
| 1 | super(hint); | ||||||
2 | super.setCompressWhitespace(false); |
| 2 | super.setCompressWhitespace(false); | ||||||
3 | super.setupFormatter(stmtSep, null); |
| 3 | super.setupFormatter(stmtSep, null); | ||||||
4 | this.isOS400 = isOS400; |
| |
Row | Violation |
---|---|
1 | Super constructor call super(hint); cannot be extracted from constructor |
2 | Super constructor call super(hint); cannot be extracted from constructor |
3 | Super method call super.setCompressWhitespace(false); cannot be extracted from method |
4 | Super method call super.setCompressWhitespace(false); cannot be extracted from method |
5 | Super method call super.setupFormatter(stmtSep,null); cannot be extracted from method |
6 | Super method call super.setupFormatter(stmtSep,null); cannot be extracted from method |
7 | Unmatched statement this.isOS400=isOS400; cannot be moved before the extracted code, because it has control dependencies from statements that will be extracted |