_propertyName = propertyName;
_className = className;
_tableName = tableName;
_columnNames = columnNames;
initStrings();
_rs = rs;
_stmt = stmt;
_rsmd = new ProxyResultSetMetaData(rs.getMetaData());
Clone fragments detected by clone detection tool
File path: /sql12/plugins/hibernate/src/net/sourceforge/squirrel_sql/plugins/hibernate/mapping/HibernatePropertyInfo.java
|
|
File path: /sql12/test/proxydriver/net/sourceforge/squirrel_sql/jdbcproxy/ProxyResultSet.java
|
Method name: void HibernatePropertyInfo(String, String, String, String[])
|
|
Method name: void ProxyResultSet(ProxyStatement, ResultSet)
|
Number of AST nodes: 5
|
|
Number of AST nodes: 3
|
|
1 | _propertyName = propertyName;↵ | | 1 | _↵
|
2 | _className = className;↵ | | |
|
3 | _tableName = tableName;↵ | | |
|
4 | _columnNames = columnNames;↵ | | |
|
5 | initStrings(↵ | | 2 | rs = rs;↵
|
| | | 3 | _stmt = stmt;↵
|
6 | ); | | 4 | _rsmd = new ProxyResultSetMetaData(rs.getMetaData());
|
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 | 15 |