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 Immutable { private String foo; private String bar; private String id; public String getFoo() { return foo; } public void setFoo(String foo) { this.foo = foo; } public String getBar() { return bar; } public void setBar(String bar) { this.bar = bar; } public String getId() { return id; } public void setId(String id) { this.id = id;
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/legacy/Immutable.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class Transaction {
1
public class Immutable {
2
	private Long id;
2
	private String foo;
3
	private String description;
3
	private String 
4
	private MonetoryAmount value
4
bar;
5
;
5
	private String id;
6
	
6
	
7
	public String getDescription() {
7
	public String getFoo() {
8
		return description;
8
		return foo;
9
	}
9
	}
10
	
10
	
11
	public void setDescription(String description) {
11
	public void set
12
		this.description = description
12
Foo(String foo) {
13
;
13
		this.foo = foo;
14
	}
14
	}
15
	
15
	
16
	public Long getId() {
16
	public String getBar() {
17
		return id;
17
		return bar;
18
	}
18
	}
19
	
19
	
20
	public void setId(Long id) {
20
	public void setBar(String bar) {
21
		this.id = id;
21
		this.bar = bar;
22
	}
22
	}
23
	
23
	
24
	public MonetoryAmount getValue() {
24
	public String getId() {
25
		return value;
25
		return id;
26
	}
26
	}
27
	
27
	
28
	public void setValue(MonetoryAmount value) {
28
	public void set
29
		this.value = value
29
Id(String id) {
30
;
30
		this.id = id;
31
	
31
	
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