File path: /hibernate-distribution-3.3.2.GA/project/core/src/main/java/org/hibernate/event/PostDeleteEvent.java | File path: /hibernate-distribution-3.3.2.GA/project/cache-jbosscache2/src/test/java/org/hibernate/test/util/SelectedClassnameClassLoader.java | |||
Method name: void PostDeleteEvent(Object, Serializable, Object[], EntityPersister, EventSource)
|
Method name: void SelectedClassnameClassLoader(String[], String[], String[], ClassLoader)
|
|||
Number of AST nodes: 5 | Number of AST nodes: 5 | |||
1 | super(source);↵ | 1 | super(↵ | |
2 | this.entity = entity;↵ | |||
3 | this.id = id;↵ | |||
4 | this.persister = persister;↵ | |||
5 | this.deletedState = deletedState↵ | 2 | parent);↵ | |
3 | this.includedClasses = includedClasses;↵ | |||
4 | this.excludedClasses = excludedClasses;↵ | |||
5 | this.notFoundClasses = notFoundClasses;↵ | |||
6 | ↵ | |||
6 | ; | 7 | log.debug("created " + this); | |
See real code fragment | See real code fragment |
Number of common nesting structure subtrees | 1 |
Number of refactorable cases | 0 |
Number of non-refactorable cases | 1 |
Time elapsed for finding largest common nesting structure subtrees (ms) | 0.0 |
Clones location | Clones are in different classes |
Number of node comparisons | 22 |
Number of mapped statements | 1 |
Number of unmapped statements in the first code fragment | 4 |
Number of unmapped statements in the second code fragment | 4 |
Time elapsed for statement mapping (ms) | 0.0 |
Clone type | Type 2 |
ID | Statement | ID | Statement | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | super(parent); | |||||||||||||||||
1 | super(source); | | |||||||||||||||||
| 2 | this.includedClasses = includedClasses; | |||||||||||||||||
2 | this.entity = entity; | | |||||||||||||||||
| 3 | this.excludedClasses = excludedClasses; | |||||||||||||||||
3 | this.id = id; | | |||||||||||||||||
4 | this.persister = persister; | | |||||||||||||||||
5 | this.deletedState = deletedState; |
| 4 | this.notFoundClasses = notFoundClasses; | |||||||||||||||
| 5 | log.debug("created " + this); |
Row | Violation |
---|---|
1 | Expression this.deletedState is a field being modified, and thus it cannot be parameterized |
2 | Expression this.notFoundClasses is a field being modified, and thus it cannot be parameterized |