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 CreateIndexSqlExtractor(String, String, String, String[], boolean, String, String)
|
Method name: void CreateSequenceSqlExtractor(String, String, String, String, String, String, boolean)
|
|||
Number of AST nodes: 8 | Number of AST nodes: 8 | |||
1 | super();↵ | 1 | super();↵ | |
2 | this.indexName = indexName;↵ | 2 | this.↵ | |
3 | this.tableName = tableName;↵ | |||
4 | this.accessMethod = accessMethod;↵ | |||
5 | this.columns = columns;↵ | |||
6 | this.unique = unique↵ | 3 | sequenceName = sequenceName;↵ | |
4 | this.increment = increment;↵ | |||
5 | this.minimum = minimum;↵ | |||
6 | this.maximum = maximum;↵ | |||
7 | ;↵ | 7 | this.start = start;↵ | |
8 | this.tablespace = tablespace;↵ | 8 | this.cache = cache;↵ | |
9 | this.constraints = constraints; | 9 | this.cycle = cycle; | |
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 | 31 |
Number of mapped statements | 7 |
Number of unmapped statements in the first code fragment | 1 |
Number of unmapped statements in the second code fragment | 1 |
Time elapsed for statement mapping (ms) | 0.0 |
Clone type | Type 2 |
ID | Statement | ID | Statement | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | super(); |
| 1 | super(); | |||||||||||||||
2 | this.indexName = indexName; |
| 2 | this.sequenceName = sequenceName; | |||||||||||||||
3 | this.tableName = tableName; |
| 3 | this.increment = increment; | |||||||||||||||
4 | this.accessMethod = accessMethod; |
| 4 | this.minimum = minimum; | |||||||||||||||
|
| 5 | this.maximum = maximum; | ||||||||||||||||
5 | this.columns = columns; |
| | ||||||||||||||||
6 | this.unique = unique; |
| 8 | this.cycle = cycle; | |||||||||||||||
7 | this.tablespace = tablespace; |
| 7 | this.cache = cache; | |||||||||||||||
8 | this.constraints = constraints; |
| 6 | this.start = start; |
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.indexName is a field being modified, and thus it cannot be parameterized |
4 | Expression this.sequenceName is a field being modified, and thus it cannot be parameterized |
5 | Expression this.tableName is a field being modified, and thus it cannot be parameterized |
6 | Expression this.increment is a field being modified, and thus it cannot be parameterized |
7 | Expression this.accessMethod is a field being modified, and thus it cannot be parameterized |
8 | Expression this.minimum is a field being modified, and thus it cannot be parameterized |
9 | Unmatched statement this.maximum=maximum; cannot be moved before the extracted code, because it has control dependencies from statements that will be extracted |
10 | Unmatched statement this.columns=columns; cannot be moved before the extracted code, because it has control dependencies from statements that will be extracted |
11 | Expression this.unique is a field being modified, and thus it cannot be parameterized |
12 | Expression this.cycle is a field being modified, and thus it cannot be parameterized |
13 | Expression this.tablespace is a field being modified, and thus it cannot be parameterized |
14 | Expression this.cache is a field being modified, and thus it cannot be parameterized |
15 | Expression this.constraints is a field being modified, and thus it cannot be parameterized |
16 | Expression this.start is a field being modified, and thus it cannot be parameterized |