OracleExceptionFormatter formatter = new OracleExceptionFormatter();
formatter.setSession(session);
session.setExceptionFormatter(formatter);
SequenceParentExpander result = new SequenceParentExpander();
result.setExtractor(new PostgresSequenceParentExtractorImpl());
return result;
Clone fragments detected by clone detection tool
File path: /sql12/plugins/oracle/src/net/sourceforge/squirrel_sql/plugins/oracle/OraclePlugin.java
|
|
File path: /sql12/plugins/postgres/src/net/sourceforge/squirrel_sql/plugins/postgres/exp/PostgresSequenceInodeExpanderFactory.java
|
Method name: PluginSessionCallback sessionStarted(ISession)
|
|
Method name: INodeExpander createExpander(DatabaseObjectType)
|
Number of AST nodes: 3
|
|
Number of AST nodes: 3
|
|
1 | OracleExceptionFormatter formatter = new OracleExceptionFormatter();↵ | | |
|
2 | formatter.setSession(session);↵ | | |
|
3 | session.setExceptionFormatter(formatter)↵ | | 1 | SequenceParentExpander result = new SequenceParentExpander();↵
|
| | | 2 | result.setExtractor(new PostgresSequenceParentExtractorImpl());↵
|
4 | ; | | 3 | return result;
|
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 |