ISession sourceSession = sessionInfoProv.getDiffSourceSession();
ISession destSession = sessionInfoProv.getDiffDestSession();
return sourceSession != null && sourceSession.equals(destSession);
String pnlTitle = pnl.getTitle();
String hint = pnl.getHint();
_tabbedPane.addTab(pnlTitle, null, pnl.getPanelComponent(), hint);
Clone fragments detected by clone detection tool
File path: /sql12/plugins/dbdiff/src/net/sourceforge/squirrel_sql/plugins/dbdiff/actions/CompareAction.java
|
|
File path: /sql12/app/src/net/sourceforge/squirrel_sql/client/session/properties/SessionPropertiesSheet.java
|
Method name: boolean sourceDestSchemasDiffer()
|
|
Method name: void createGUI()
|
Number of AST nodes: 3
|
|
Number of AST nodes: 3
|
|
1 | ISession sourceSession = sessionInfoProv.getDiffSourceSession();↵ | | |
|
2 | ISession destSession = sessionInfoProv.getDiffDestSession();↵ | | |
|
3 | return sourceSession != null && sourceSession.equals(destSession↵ | | 1 | String pnlTitle = pnl.getTitle();↵
|
| | | 2 | String hint = pnl.getHint();↵
|
4 | ); | | 3 | _tabbedPane.addTab(pnlTitle, null, pnl.getPanelComponent(), hint);
|
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 |