String productName = data.getDatabaseProductName();
String productVersion = data.getDatabaseProductVersion();
result = dialect.supportsProduct(productName, productVersion);
ISession source = prov.getCopySourceSession();
ISession dest = prov.getCopyDestSession();
ScriptWriter.open(source,dest);
Clone fragments detected by clone detection tool
File path: /sql12/fw/src/net/sourceforge/squirrel_sql/fw/dialects/DialectFactory.java
|
|
File path: /sql12/plugins/dbcopy/src/net/sourceforge/squirrel_sql/plugins/dbcopy/CopyScripter.java
|
Method name: boolean dialectSupportsProduct(ISQLDatabaseMetaData, HibernateDialect)
|
|
Method name: void initializeScript(SessionInfoProvider)
|
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, productVersion↵ | | 1 | ISession source = prov.getCopySourceSession();↵
|
| | | 2 | ISession dest = prov.getCopyDestSession();↵
|
4 | ); | | 3 | ScriptWriter.open(source,dest);
|
See real code fragment |
|
See real code fragment |
Summary
Number of common nesting structure subtrees | 0 |
Number of refactorable cases | 0 |
Number of non-refactorable cases | 0 |
Time elapsed for finding largest common nesting structure subtrees (ms) | 0.0 |
Clones location | Clones are in different classes |
Number of node comparisons | 9 |