final Boolean deferrableNotSupported = null; final Boolean initiallyDeferredNotSupported = null; final Boolean matchFullNotSupported = null; return DialectUtils.getAddForeignKeyConstraintSQL(localTableName, refTableName, constraintName, deferrableNotSupported, initiallyDeferredNotSupported, matchFullNotSupported, autoFKIndex, fkIndexName, localRefColumns, onUpdateAction, onDeleteAction, qualifier, prefs, this);
final Boolean deferrableNotSupported = null; final Boolean initiallyDeferredNotSupported = null; final Boolean matchFullNotSupported = null; return DialectUtils.getAddForeignKeyConstraintSQL(localTableName, refTableName, constraintName, deferrableNotSupported, initiallyDeferredNotSupported, matchFullNotSupported, autoFKIndex, fkIndexName, localRefColumns, onUpdateAction, onDeleteAction, qualifier, prefs, this);
Clone fragments detected by clone detection tool
File path: /sql12/fw/src/net/sourceforge/squirrel_sql/fw/dialects/DaffodilDialectExt.java File path: /sql12/fw/src/net/sourceforge/squirrel_sql/fw/dialects/ProgressDialectExt.java
Method name: String[] getAddForeignKeyConstraintSQL(String, String, String, Boolean, Boolean, Boolean, boolean, String, Collection, String, String, DatabaseObjectQualifier, SqlGenerationPreferences) Method name: String[] getAddForeignKeyConstraintSQL(String, String, String, Boolean, Boolean, Boolean, boolean, String, Collection, String, String, DatabaseObjectQualifier, SqlGenerationPreferences)
Number of AST nodes: 4 Number of AST nodes: 4
1
final Boolean deferrableNotSupported = null;
1
final Boolean deferrableNotSupported = null;
2
		final Boolean initiallyDeferredNotSupported = null;
2
		final Boolean initiallyDeferredNotSupported = null;
3
		final Boolean matchFullNotSupported = null;
3
		final Boolean matchFullNotSupported = null;
4
		return DialectUtils.getAddForeignKeyConstraintSQL(localTableName, refTableName, constraintName,
4
		return DialectUtils.getAddForeignKeyConstraintSQL(localTableName, refTableName, constraintName,
5
			deferrableNotSupported, initiallyDeferredNotSupported, matchFullNotSupported, autoFKIndex,
5
			deferrableNotSupported, initiallyDeferredNotSupported, matchFullNotSupported, autoFKIndex,
6
			fkIndexName, localRefColumns, onUpdateAction, onDeleteAction, qualifier, prefs, this);
6
			fkIndexName, localRefColumns, onUpdateAction, onDeleteAction, qualifier, prefs, this);
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 having the same super class
Number of node comparisons16
  1. {Refactorable}
    Mapping Summary
    Number of mapped statements4
    Number of unmapped statements in the first code fragment0
    Number of unmapped statements in the second code fragment0
    Time elapsed for statement mapping (ms)0.0
    Clone typeType 1
    Mapped Statements
    ID Statement ID Statement
    1
    final Boolean deferrableNotSupported = null;
    1
    final Boolean deferrableNotSupported = null;
    2
    final Boolean initiallyDeferredNotSupported = null;
    2
    final Boolean initiallyDeferredNotSupported = null;
    3
    final Boolean matchFullNotSupported = null;
    3
    final Boolean matchFullNotSupported = null;
    4
    return DialectUtils.getAddForeignKeyConstraintSQL(localTableName, refTableName, constraintName, deferrableNotSupported, initiallyDeferredNotSupported, matchFullNotSupported, autoFKIndex, fkIndexName, localRefColumns, onUpdateAction, onDeleteAction, qualifier, prefs, this);
    4
    return DialectUtils.getAddForeignKeyConstraintSQL(localTableName, refTableName, constraintName, deferrableNotSupported, initiallyDeferredNotSupported, matchFullNotSupported, autoFKIndex, fkIndexName, localRefColumns, onUpdateAction, onDeleteAction, qualifier, prefs, this);
    Precondition Violations (0)
    Row Violation