public class Valuation { private Long id; private Stock stock; private Date valuationDate; private Double value; public Long getId() { return id; } public void setId(Long id) { this.id = id; } public Stock getStock() { return stock; } public void setStock(Stock stock) { this.stock = stock; } public Date getValuationDate() { return valuationDate; } public void setValuationDate(Date valuationDate) { this.valuationDate = valuationDate; } public Double getValue() { return value; } public void setValue(Double value) { this.value = value
public class User { private Long id; private String userName; private Human human; private List permissions; public Long getId() { return id; } public void setId(Long id) { this.id = id; } public String getUserName() { return userName; } public void setUserName(String userName) { this.userName = userName; } public Human getHuman() { return human; } public void setHuman(Human human) { this.human = human; } public List getPermissions() { return permissions; } public void setPermissions(List permissions) { this.permissions = permissions
Clone fragments detected by clone detection tool
File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/entitymode/multi/Valuation.java File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/hql/User.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class Valuation {
1
public class User {
2
	private Long id;
2
	private Long id;
3
	private Stock stock;
3
	private St
4
	private Date valuationDate;
5
	private Double value
4
ring userName;
5
	private Human human;
6
;
6
	private List permissions;
7
	public Long getId() {
7
	public Long getId() {
8
		return id;
8
		return id;
9
	}
9
	}
10
	public void setId(Long id) {
10
	public void setId(Long id) {
11
		this.id = id;
11
		this.id = id;
12
	}
12
	}
13
	public Stock getStock() {
13
	public String getUserName() {
14
		return stock;
14
		return userName;
15
	}
15
	}
16
	public void setStock(Stock stock) {
16
	public void setUserName(String userName) {
17
		this.stock = stock;
17
		this.userName = userName;
18
	}
18
	}
19
	public Date getValuationDate() {
19
	public Human getHuman() {
20
		return valuationDate;
20
		return human;
21
	}
21
	}
22
	public void setValuationDate(Date valuationDate) {
22
	public void set
23
		this.valuationDate = valuationDate;
24
	}
25
	public Double getValue
23
Human(Human human) {
24
		this.human = human;
25
	}
26
() {
26
	public List getPermissions() {
27
		return value;
27
		return permissions;
28
	}
28
	}
29
	
29
	public void setValue(Double value) {
30
	public void set
30
		this.value = value
31
Permissions(List permissions) {
32
		this.permissions = permissions
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