super(); this.sequenceName = sequenceName; this.increment = increment; this.minimum = minimum; this.maximum = maximum; this.start = start; this.cache = cache; this.cycle = cycle;
super(); this.tableName = tableName; this.setColumns = setColumns; this.setValues = setValues; this.fromTables = fromTables; this.whereColumns = whereColumns; this.whereValues = whereValues;
Clone fragments detected by clone detection tool
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 UpdateSqlExtractor(String, String[], String[], String[], String[], String[])
Number of AST nodes: 8 Number of AST nodes: 7
1
super();
1
super();
2
			this.sequenceName = sequenceName;
2
			this.tableName = tableName;
3
			this.increment = increment;
3
			this.
4
			this.minimum = minimum;
5
			this.maximum = maximum;
6
			this.start = start;
7
			this.cache = cache;
8
			this.cycle = cycle
4
setColumns = setColumns;
5
			this.setValues = setValues;
6
			this.fromTables = fromTables;
7
			this.whereColumns = whereColumns;
9
;
8
			this.whereValues = whereValues;
Summary
Number of common nesting structure subtrees1
Number of refactorable cases0
Number of non-refactorable cases1
Time elapsed for finding largest common nesting structure subtrees (ms)0.0
Clones locationClones are in the same java file
Number of node comparisons49
  1. {Non-refactorable}
    Mapping Summary
    Number of mapped statements2
    Number of unmapped statements in the first code fragment6
    Number of unmapped statements in the second code fragment5
    Time elapsed for statement mapping (ms)0.0
    Clone typeType 3
    Mapped Statements
    ID Statement ID Statement
    1
    super();
    1
    super();
    1
    super();
    Preondition Violations
    Super constructor call super(); cannot be extracted from constructor
    Super constructor call super(); cannot be extracted from constructor
    1
    super();
    2
    this.sequenceName = sequenceName;
    2
    this.sequenceName = sequenceName;
    2
    this.tableName = tableName;
    Differences
    Expression1Expression2Difference
    sequenceNametableNameVARIABLE_NAME_MISMATCH
    sequenceNametableNameVARIABLE_NAME_MISMATCH
    Preondition Violations
    Expression this.sequenceName is a field being modified, and thus it cannot be parameterized
    Expression this.tableName is a field being modified, and thus it cannot be parameterized
    2
    this.tableName = tableName;
                                                                
    3
    this.setColumns = setColumns;
    Preondition Violations
    Unmatched statement this.setColumns=setColumns; cannot be moved before the extracted code, because it has control dependencies from statements that will be extracted
    3
    this.setColumns = setColumns;
    3
    this.increment = increment;
    3
    this.increment = increment;
    Preondition Violations
    Unmatched statement this.increment=increment; cannot be moved before the extracted code, because it has control dependencies from statements that will be extracted
                                                            
                                                            
    4
    this.setValues = setValues;
    Preondition Violations
    Unmatched statement this.setValues=setValues; cannot be moved before the extracted code, because it has control dependencies from statements that will be extracted
    4
    this.setValues = setValues;
    4
    this.minimum = minimum;
    4
    this.minimum = minimum;
    Preondition Violations
    Unmatched statement this.minimum=minimum; cannot be moved before the extracted code, because it has control dependencies from statements that will be extracted
                                                    
                                                                
    5
    this.fromTables = fromTables;
    Preondition Violations
    Unmatched statement this.fromTables=fromTables; cannot be moved before the extracted code, because it has control dependencies from statements that will be extracted
    5
    this.fromTables = fromTables;
    5
    this.maximum = maximum;
    5
    this.maximum = maximum;
    Preondition Violations
    Unmatched statement this.maximum=maximum; cannot be moved before the extracted code, because it has control dependencies from statements that will be extracted
                                                    
                                                                        
    6
    this.whereColumns = whereColumns;
    Preondition Violations
    Unmatched statement this.whereColumns=whereColumns; cannot be moved before the extracted code, because it has control dependencies from statements that will be extracted
    6
    this.whereColumns = whereColumns;
    6
    this.start = start;
    6
    this.start = start;
    Preondition Violations
    Unmatched statement this.start=start; cannot be moved before the extracted code, because it has control dependencies from statements that will be extracted
                                            
                                                                    
    7
    this.whereValues = whereValues;
    Preondition Violations
    Unmatched statement this.whereValues=whereValues; cannot be moved before the extracted code, because it has control dependencies from statements that will be extracted
    7
    this.whereValues = whereValues;
    7
    this.cache = cache;
    7
    this.cache = cache;
    Preondition Violations
    Unmatched statement this.cache=cache; cannot be moved before the extracted code, because it has control dependencies from statements that will be extracted
                                            
    8
    this.cycle = cycle;
    8
    this.cycle = cycle;
    Preondition Violations
    Unmatched statement this.cycle=cycle; cannot be moved before the extracted code, because it has control dependencies from statements that will be extracted
                                            
    Precondition Violations (15)
    Row Violation
    1Super constructor call super(); cannot be extracted from constructor
    2Super constructor call super(); cannot be extracted from constructor
    3Expression this.sequenceName is a field being modified, and thus it cannot be parameterized
    4Expression this.tableName is a field being modified, and thus it cannot be parameterized
    5Unmatched statement this.setColumns=setColumns; cannot be moved before the extracted code, because it has control dependencies from statements that will be extracted
    6Unmatched statement this.increment=increment; cannot be moved before the extracted code, because it has control dependencies from statements that will be extracted
    7Unmatched statement this.setValues=setValues; cannot be moved before the extracted code, because it has control dependencies from statements that will be extracted
    8Unmatched statement this.minimum=minimum; cannot be moved before the extracted code, because it has control dependencies from statements that will be extracted
    9Unmatched statement this.fromTables=fromTables; cannot be moved before the extracted code, because it has control dependencies from statements that will be extracted
    10Unmatched statement this.maximum=maximum; cannot be moved before the extracted code, because it has control dependencies from statements that will be extracted
    11Unmatched statement this.whereColumns=whereColumns; cannot be moved before the extracted code, because it has control dependencies from statements that will be extracted
    12Unmatched statement this.start=start; cannot be moved before the extracted code, because it has control dependencies from statements that will be extracted
    13Unmatched statement this.whereValues=whereValues; cannot be moved before the extracted code, because it has control dependencies from statements that will be extracted
    14Unmatched statement this.cache=cache; cannot be moved before the extracted code, because it has control dependencies from statements that will be extracted
    15Unmatched statement this.cycle=cycle; cannot be moved before the extracted code, because it has control dependencies from statements that will be extracted