public class MoreCrazyIdFieldNameStuffEntity { private Long moreCrazyIdFieldNameStuffEntity; private HeresAnotherCrazyIdFieldName heresAnotherCrazyIdFieldName; // silly ain't it ;) private String name; public MoreCrazyIdFieldNameStuffEntity() { } public MoreCrazyIdFieldNameStuffEntity(String name) { this.name = name; } public Long getMoreCrazyIdFieldNameStuffEntity() { return moreCrazyIdFieldNameStuffEntity; } public void setMoreCrazyIdFieldNameStuffEntity(Long moreCrazyIdFieldNameStuffEntity) { this.moreCrazyIdFieldNameStuffEntity = moreCrazyIdFieldNameStuffEntity; } public HeresAnotherCrazyIdFieldName getHeresAnotherCrazyIdFieldName() { return heresAnotherCrazyIdFieldName; } public void setHeresAnotherCrazyIdFieldName(HeresAnotherCrazyIdFieldName heresAnotherCrazyIdFieldName) { this.heresAnotherCrazyIdFieldName = heresAnotherCrazyIdFieldName; } public String getName() { return name; } public void setName(String name) { this.name = name;
public class ChildInfoAssigned { private Long id; private ChildAssigned owner; private String info; public ChildInfoAssigned() { } public ChildInfoAssigned(Long id, String info) { this.id = id; this.info = info; } public Long getId() { return id; } public ChildAssigned getOwner() { return owner; } public void setOwner(ChildAssigned owner) { this.owner = owner; } public String getInfo() { return info; } public void setInfo(String info) { this.info = info;
Clone fragments detected by clone detection tool
File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/hql/MoreCrazyIdFieldNameStuffEntity.java File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/jpa/cascade/ChildInfoAssigned.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class MoreCrazyIdFieldNameStuffEntity {
1
public class ChildInfoAssigned {
2
	private Long moreCrazyIdFieldNameStuffEntity;
2
	private Long 
3
	private HeresAnotherCrazyIdFieldName heresAnotherCrazyIdFieldName; // silly ain't it ;)
3
id;
4
	private ChildAssigned owner;
4
	private String name;
5
	private String 
6
info;
7

5
	public MoreCrazyIdFieldNameStuffEntity() {
8
	public ChildInfoAssigned() {
6
	}
9
	}
10

7
	public MoreCrazyIdFieldNameStuffEntity(String name) {
11
	public ChildInfoAssigned(Long id, String info) {
8
		this.name = name;
12
		this.
9
	}
10
	public Long getMoreCrazyIdFieldNameStuffEntity() {
11
		return moreCrazyIdFieldNameStuffEntity;
12
	}
13
	public void setMoreCrazyIdFieldNameStuffEntity(Long moreCrazyIdFieldNameStuffEntity
13
id = id;
14
		this.info = info;
15
	}
14
) {
16
	public Long getId() {
15
		this.moreCrazyIdFieldNameStuffEntity = moreCrazyIdFieldNameStuffEntity;
17
		
16
	}
17
	public HeresAnotherCrazyIdFieldName getHeresAnotherCrazyIdFieldName
18
return id;
19
	}
18
() {
20
	public ChildAssigned getOwner() {
19
		return heresAnotherCrazyIdFieldName;
21
		return 
20
	}
22
owner;
23
	}
24

21
	public void setHeresAnotherCrazyIdFieldName(HeresAnotherCrazyIdFieldName heresAnotherCrazyIdFieldName) {
25
	public void setOwner(ChildAssigned owner) {
22
		this.heresAnotherCrazyIdFieldName = heresAnotherCrazyIdFieldName;
26
		this.
23
	}
27
owner = owner;
28
	}
29

24
	public String getName() {
30
	public String getInfo() {
25
		return name;
31
		return 
26
	}
32
info;
33
	}
34

27
	public void setName(String name) {
35
	public void setInfo(String info) {
28
		this.name = name;
36
		this.info = info;
29
	
37
	
Summary
Number of common nesting structure subtrees0
Number of refactorable cases0
Number of non-refactorable cases0
Time elapsed for finding largest common nesting structure subtrees (ms)0.0
Clones location
Number of node comparisons0