File path: /hibernate-distribution-3.3.2.GA/project/core/src/main/java/org/hibernate/proxy/pojo/cglib/SerializableProxy.java | File path: /hibernate-distribution-3.3.2.GA/project/core/src/main/java/org/hibernate/proxy/pojo/javassist/SerializableProxy.java | |||
Method name: void SerializableProxy(String, Class, Class[], Serializable, Method, Method, AbstractComponentType)
|
Method name: void SerializableProxy(String, Class, Class[], Serializable, Method, Method, AbstractComponentType)
|
|||
Number of AST nodes: 4 | Number of AST nodes: 4 | |||
1 | if (setIdentifierMethod!=null) {↵ | 1 | if (setIdentifierMethod!=null) {↵ | |
2 | setIdentifierMethodClass = setIdentifierMethod.getDeclaringClass();↵ | 2 | setIdentifierMethodClass = setIdentifierMethod.getDeclaringClass();↵ | |
3 | setIdentifierMethodName = setIdentifierMethod.getName();↵ | 3 | setIdentifierMethodName = setIdentifierMethod.getName();↵ | |
4 | setIdentifierMethodParams = setIdentifierMethod.getParameterTypes();↵ | 4 | setIdentifierMethodParams = setIdentifierMethod.getParameterTypes();↵ | |
5 | } | 5 |
| |
See real code fragment | See real code fragment |
Number of common nesting structure subtrees | 1 |
Number of refactorable cases | 1 |
Number of non-refactorable cases | 0 |
Time elapsed for finding largest common nesting structure subtrees (ms) | 0.1 |
Clones location | Clones are in different classes |
Number of node comparisons | 16 |
Number of mapped statements | 4 |
Number of unmapped statements in the first code fragment | 0 |
Number of unmapped statements in the second code fragment | 0 |
Time elapsed for statement mapping (ms) | 0.6 |
Clone type | Type 1 |
ID | Statement | ID | Statement | |
---|---|---|---|---|
8 | if (setIdentifierMethod != null) | 8 | if (setIdentifierMethod != null) | |
9 | setIdentifierMethodClass = setIdentifierMethod.getDeclaringClass(); | 9 | setIdentifierMethodClass = setIdentifierMethod.getDeclaringClass(); | |
10 | setIdentifierMethodName = setIdentifierMethod.getName(); | 10 | setIdentifierMethodName = setIdentifierMethod.getName(); | |
11 | setIdentifierMethodParams = setIdentifierMethod.getParameterTypes(); | 11 | setIdentifierMethodParams = setIdentifierMethod.getParameterTypes(); |
Row | Violation |
---|