_catalog = catalog; _schema = schema; _simpleName = simpleName; _qualName = qualName; _type = type;
simpleName = aSimpleName; schemaName = aSchemaName; catalogName = aCatalog;
Clone fragments detected by clone detection tool
File path: /sql12/test/external/net/sourceforge/squirrel_sql/fw/dialects/DialectExternalTest.java File path: /sql12/test/mockobjects/net/sourceforge/squirrel_sql/fw/sql/MockDatabaseObjectInfo.java
Method name: void DatabaseObjectInfoHelper(String, String, String, String, DatabaseObjectType) Method name: void MockDatabaseObjectInfo(String, String, String)
Number of AST nodes: 5 Number of AST nodes: 3
1
_catalog = catalog;
2
			_schema = schema;
3
			_simpleName = simpleName;
1
simpleName = aSimpleName;
4
			_qualName = qualName;
5
			_type = type
2
        schemaName = aSchemaName;
6
;
3
        catalogName = aCatalog;
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 comparisons12
  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 fragment0
    Time elapsed for statement mapping (ms)0.0
    Clone typeType 3
    Mapped Statements
    ID Statement ID Statement
    1
    _catalog = catalog;
    1
    _catalog = catalog;
    1
    simpleName = aSimpleName;
    Differences
    Expression1Expression2Difference
    _catalogsimpleNameVARIABLE_NAME_MISMATCH
    catalogaSimpleNameVARIABLE_NAME_MISMATCH
    1
    simpleName = aSimpleName;
    2
    _schema = schema;
    2
    _schema = schema;
    2
    schemaName = aSchemaName;
    Differences
    Expression1Expression2Difference
    _schemaschemaNameVARIABLE_NAME_MISMATCH
    schemaaSchemaNameVARIABLE_NAME_MISMATCH
    2
    schemaName = aSchemaName;
    3
    _simpleName = simpleName;
    3
    _simpleName = simpleName;
    3
    catalogName = aCatalog;
    Differences
    Expression1Expression2Difference
    _simpleNamecatalogNameVARIABLE_NAME_MISMATCH
    simpleNameaCatalogVARIABLE_NAME_MISMATCH
    3
    catalogName = aCatalog;
    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 (2)
    Row Violation
    1Unmatched statement _qualName=qualName; cannot be moved before the extracted code, because it has control dependencies from statements that will be extracted
    2Unmatched statement _type=type; cannot be moved before the extracted code, because it has control dependencies from statements that will be extracted