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 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/cut/Transaction.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 Transaction {
1
public class Being {
2
	private Long id;
2
	private long id;
3
	private String description;
3
	private String identity;
4
	private MonetoryAmount value;
4
	private 
5
	
6
	public String getDescription() {
7
		return description;
8
	}
5
String location;
6
	private String species;
9
	
7
	
10
	public void setDescription(String description) {
8
	public void setLocation(String location) {
11
		this.description = description;
9
		this.location = location;
12
	}
10
	}
13
	
11
	
14
	public Long getId() {
12
public String getLocation() {
15
		return id;
13
		return location;
16
	}
14
	}
17
	
15
	
18
	public void setId(Long id) {
16
public void set
19
		this.id = id
17
Species(String species) {
20
;
18
		this.species = species;
21
	}
19
	}
22
	
20
	
23
	public MonetoryAmount getValue() {
21
public String getSpecies() {
24
		return value;
22
		return species;
25
	}
23
	}
26
	
24
	
27
	public void setValue(MonetoryAmount value) {
25
public void set
28
		this.value = value
26
Identity(String identity) {
27
		this.identity = identity;
28
	}
29
	public String getIdentity() {
30
		return identity
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