public class ChildInfo { private Long id; private Child owner; private String info; public ChildInfo() { } public ChildInfo(String info) { this.info = info; } public Long getId() { return id; } public Child getOwner() { return owner; } public void setOwner(Child owner) { this.owner = owner; } public String getInfo() { return info; } public void setInfo(String info) { this.info = info;
public class Being { private long id; private String identity; private String location; private String species; public void setLocation(String location) { this.location = location; } public String getLocation() { return location; } public void setSpecies(String species) { this.species = species; } public String getSpecies() { return species; } public void setIdentity(String identity) { this.identity = identity; } public String getIdentity() { return identity;
Clone fragments detected by clone detection tool
File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/jpa/cascade/ChildInfo.java File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/subselect/Being.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class ChildInfo {
1
public class Being {
2
	private Long id;
2
	private long id;
3
	private Child owner;
3
	private String identity;
4
	private String info;
4
	private String 
5
	public ChildInfo() {
6
	}
7
	public ChildInfo(String info
5
location;
6
	private String species;
7
	
8
) {
8
	public void setLocation(String location) {
9
		this.info = info;
9
		this.
10
	}
11

10
location = location;
11
	}
12
	public Long getId() {
12
	public String get
13
		return id;
14
	}
15
	public Child getOwner() {
13
Location() {
16
		return owner;
14
		return 
17
	}
18

15
location;
16
	}
19
	public void setOwner(Child owner) {
17
	public void setSpecies(String species) {
20
		this.owner = owner;
18
		this.
21
	}
22

19
species = species;
20
	}
23
	public String getInfo() {
21
	public String getSpecies() {
24
		return info;
22
		return 
25
	}
26

23
species;
24
	}
27
	public void setInfo(String info) {
25
	public void setIdentity(String identity) {
28
		this.info = info;
26
		this.identity = identity;
27
	}
28
	public String getIdentity() {
29
		return identity;
29
	
30
	
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