String productName = data.getDatabaseProductName(); String productVersion = data.getDatabaseProductVersion(); result = dialect.supportsProduct(productName, productVersion);
ISession sourceSession = sessionInfoProv.getDiffSourceSession(); ISession destSession = sessionInfoProv.getDiffDestSession(); return sourceSession != null && sourceSession.equals(destSession);
Clone fragments detected by clone detection tool
File path: /sql12/fw/src/net/sourceforge/squirrel_sql/fw/dialects/DialectFactory.java File path: /sql12/plugins/dbdiff/src/net/sourceforge/squirrel_sql/plugins/dbdiff/actions/CompareAction.java
Method name: boolean dialectSupportsProduct(ISQLDatabaseMetaData, HibernateDialect) Method name: boolean sourceDestSchemasDiffer()
Number of AST nodes: 3 Number of AST nodes: 3
1
String productName = data.getDatabaseProductName();
2
        		String productVersion = data.getDatabaseProductVersion();
3
        		result = dialect.supportsProduct(productName, productVer
1
ISession sourceSession = sessionInfoProv.getDiffSourceSession();
2
		ISession destSession = sessionInfoProv.getDiffDestSession();
4
sion);
3
		return sourceSession != null && sourceSession.equals(destSession);
Summary
Number of common nesting structure subtrees0
Number of refactorable cases0
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 comparisons9