public class Speech { private Integer id; private String name; private Double length; public Integer getId() { return id; } public void setId(Integer id) { this.id = id; } public Double getLength() { return length; } public void setLength(Double length) { this.length = length; } public String getName() { return name; } public void setName(String name) { this.name = name
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/sql/hand/Speech.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 Speech {
1
public class Being {
2
	private Integer id;
2
	private long id;
3
	private String name;
3
	private String identity;
4
	private Double length;
4
	private 
5
	public Integer getId() {
6
		return id;
7
	}
8
	public void setId(Integer id
5
String location;
6
	private String species;
7
	
9
) {
8
	public void setLocation(String location) {
10
		this.id = id;
9
		this.
11
	}
12
	public Double getLength
10
location = location;
11
	}
13
() {
12
	public String getLocation() {
14
		return length;
13
		return l
15
	}
16

14
ocation;
15
	}
17
	public void setLength(Double length) {
16
	public void setSpecies(String species) {
18
		this.length = length;
17
		this.
19
	}
20

18
species = species;
19
	}
21
	public String getName() {
20
	public String getSpecies() {
22
		return name;
21
		return 
23
	}
24

22
species;
23
	}
25
	public void setName(String name) {
24
	public void setIdentity(String identity) {
26
		this.name = name
25
		this.identity = identity;
26
	}
27
	public String getIdentity() {
28
		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