IApplication result = getEasyMockApplication(false, false, col);
replay(result);
return result;
SchemaInfoCache ret = privateLoad(session);
ret.setSession(session);
return ret;
Clone fragments detected by clone detection tool
File path: /sql12/test/src/net/sourceforge/squirrel_sql/test/TestUtil.java
|
|
File path: /sql12/app/src/net/sourceforge/squirrel_sql/client/session/schemainfo/SchemaInfoCacheSerializer.java
|
Method name: IApplication getEasyMockApplication(ActionCollection)
|
|
Method name: SchemaInfoCache load(ISession)
|
Number of AST nodes: 3
|
|
Number of AST nodes: 3
|
|
1 | IApplication result = getEasyMockApplication(false, false, col);↵ | | |
|
2 | replay(result↵ | | 1 | SchemaInfoCache ret = privateLoad(session);↵
|
3 | );↵ | | 2 | ret.setSession(session);↵
|
|
4 | return result; | | 3 | return ret;
|
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 |