File path: /sql12/test/external/net/sourceforge/squirrel_sql/fw/dialects/DialectExternalTest.java | File path: /sql12/test/external/net/sourceforge/squirrel_sql/fw/dialects/DialectExternalTest.java | |||
Method name: void CreateSequenceSqlExtractor(String, String, String, String, String, String, boolean)
|
Method name: void AlterSequenceSqlExtractor(String, String, String, String, String, String, boolean)
|
|||
Number of AST nodes: 8 | Number of AST nodes: 8 | |||
1 | super();↵ | 1 | super();↵ | |
2 | this.sequenceName = sequenceName;↵ | 2 | this.sequenceName = sequenceName;↵ | |
3 | this.increment = increment;↵ | 3 | this.increment = increment;↵ | |
4 | this.minimum = minimum;↵ | 4 | this.minimum = minimum;↵ | |
5 | this.maximum = maximum;↵ | 5 | this.maximum = maximum;↵ | |
6 | this.start = start;↵ | 6 | this.restart = restart;↵ | |
7 | this.cache = cache;↵ | 7 | this.cache = cache;↵ | |
8 | this.cycle = cycle; | 8 |
| |
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 the same java file |
Number of node comparisons | 29 |
Number of mapped statements | 8 |
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 | super(); |
| 1 | super(); | |||||||||||||||
2 | this.sequenceName = sequenceName; | 2 | this.sequenceName = sequenceName; | ||||||||||||||||
3 | this.increment = increment; | 3 | this.increment = increment; | ||||||||||||||||
4 | this.minimum = minimum; | 4 | this.minimum = minimum; | ||||||||||||||||
5 | this.maximum = maximum; | 5 | this.maximum = maximum; | ||||||||||||||||
6 | this.start = start; |
| 6 | this.restart = restart; | |||||||||||||||
7 | this.cache = cache; | 7 | this.cache = cache; | ||||||||||||||||
8 | this.cycle = cycle; | 8 | this.cycle = cycle; |
Row | Violation |
---|---|
1 | Super constructor call super(); cannot be extracted from constructor |
2 | Super constructor call super(); cannot be extracted from constructor |
3 | Expression this.start is a field being modified, and thus it cannot be parameterized |
4 | Expression this.restart is a field being modified, and thus it cannot be parameterized |