_catalog = catalog; _schema = schema; _simpleName = simpleName; _qualName = qualName; _type = type;
_importedFromTable = importedFromTable; _importedColumn = importedColumn; _constraintName = constraintName; _toString += " (FK)";
Clone fragments detected by clone detection tool
File path: /sql12/test/external/net/sourceforge/squirrel_sql/fw/dialects/DialectExternalTest.java File path: /sql12/plugins/graph/src/net/sourceforge/squirrel_sql/plugins/graph/ColumnInfo.java
Method name: void DatabaseObjectInfoHelper(String, String, String, String, DatabaseObjectType) Method name: void setImportData(String, String, String)
Number of AST nodes: 5 Number of AST nodes: 4
1
_catalog = catalog;
1
_
2
			_schema = schema;
3
			_simpleName
2
importedFromTable = importedFromTable;
4
 = simpleName;
3
      _importedColumn = imp
5
			_qualName = qualName;
6
			_type = type
4
ortedColumn;
5
      _constraintName = constraintName;
7
;
6
      _toString += " (FK)";
Summary
Number of common nesting structure subtrees1
Number of refactorable cases1
Number of non-refactorable cases0
Time elapsed for finding largest common nesting structure subtrees (ms)0.0
Clones locationClones are in different classes
Number of node comparisons14
  1. {Refactorable}
    Mapping Summary
    Number of mapped statements3
    Number of unmapped statements in the first code fragment2
    Number of unmapped statements in the second code fragment1
    Time elapsed for statement mapping (ms)0.0
    Clone typeType 3
    Mapped Statements
    ID Statement ID Statement
    1
    _catalog = catalog;
    1
    _catalog = catalog;
    1
    _importedFromTable = importedFromTable;
    Differences
    Expression1Expression2Difference
    _catalog_importedFromTableVARIABLE_NAME_MISMATCH
    catalogimportedFromTableVARIABLE_NAME_MISMATCH
    1
    _importedFromTable = importedFromTable;
    2
    _schema = schema;
    2
    _schema = schema;
    2
    _importedColumn = importedColumn;
    Differences
    Expression1Expression2Difference
    _schema_importedColumnVARIABLE_NAME_MISMATCH
    schemaimportedColumnVARIABLE_NAME_MISMATCH
    2
    _importedColumn = importedColumn;
    3
    _simpleName = simpleName;
    3
    _simpleName = simpleName;
    3
    _constraintName = constraintName;
    Differences
    Expression1Expression2Difference
    _simpleName_constraintNameVARIABLE_NAME_MISMATCH
    simpleNameconstraintNameVARIABLE_NAME_MISMATCH
    3
    _constraintName = constraintName;
                                                
    4
    _toString += " (FK)";
    Preondition Violations
    Unmatched statement _toString+=" (FK)"; cannot be moved before the extracted code, because it has control dependencies from statements that will be extracted
    4
    _toString += " (FK)";
    4
    _qualName = qualName;
    4
    _qualName = qualName;
    Preondition Violations
    Unmatched statement _qualName=qualName; cannot be moved before the extracted code, because it has control dependencies from statements that will be extracted
                                                
    5
    _type = type;
    5
    _type = type;
    Preondition Violations
    Unmatched statement _type=type; cannot be moved before the extracted code, because it has control dependencies from statements that will be extracted
                                
    Precondition Violations (3)
    Row Violation
    1Unmatched statement _toString+=" (FK)"; cannot be moved before the extracted code, because it has control dependencies from statements that will be extracted
    2Unmatched statement _qualName=qualName; cannot be moved before the extracted code, because it has control dependencies from statements that will be extracted
    3Unmatched statement _type=type; cannot be moved before the extracted code, because it has control dependencies from statements that will be extracted