public class Transaction { private Long id; private String description; private MonetoryAmount value; public String getDescription() { return description; } public void setDescription(String description) { this.description = description; } public Long getId() { return id; } public void setId(Long id) { this.id = id; } public MonetoryAmount getValue() { return value; } public void setValue(MonetoryAmount value) { this.value = value
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
Clone fragments detected by clone detection tool
File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/cut/Transaction.java File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/jpa/cascade/ChildInfo.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class Transaction {
1
public class ChildInfo {
2

2
	private Long id;
3
	private Long id;
3
	private String description;
4
	private 
4
	private MonetoryAmount value;
5
	
6
	public String getDescription() {
7
		return description;
8
	}
9
	
10
	public void setDescription(String description
5
Child owner;
6
	private String info;
7
	public ChildInfo() {
8
	}
11
) {
9
	public ChildInfo(String info) {
12
		this.description = description;
10
		this.
13
	}
14
	
11
info = info;
12
	}
13

15
	public Long getId() {
14
	public Long getId() {
16
		return id;
15
		return id;
17
	}
16
	}
18
	
19
	public void setId(Long id
17
	public Child getOwner() {
18
		return owner;
19
	}
20
) {
20
	public void setOwner(Child owner) {
21
		this.id = id;
21
		this.
22
	}
23
	
24
	public MonetoryAmount getValue
22
owner = owner;
23
	}
25
() {
24
	public String getInfo() {
26
		return value;
25
		return 
27
	}
28
	
26
info;
27
	}
28

29
	public void setValue(MonetoryAmount value) {
29
	public void setInfo(String info) {
30
		this.value = value
30
		this.info = info
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