public class Alien { private Long id; private String identity; private String planet; private String species; public void setIdentity(String identity) { this.identity = identity; } public String getIdentity() { return identity; } public void setSpecies(String species) { this.species = species; } public String getSpecies() { return species; } public void setPlanet(String planet) { this.planet = planet; } public String getPlanet() { return planet; } public void setId(Long id) { this.id = id; } public Long getId() { return id;
public class Customer implements Serializable { private String name; private String customerId; private Address billingAddress; private Address shippingAddress; public Address getBillingAddress() { return billingAddress; } public void setBillingAddress(Address billingAddress) { this.billingAddress = billingAddress; } public String getCustomerId() { return customerId; } public void setCustomerId(String customerId) { this.customerId = customerId; } public String getName() { return name; } public void setName(String name) { this.name = name; } public Address getShippingAddress() { return shippingAddress; } public void setShippingAddress(Address shippingAddress) { this.shippingAddress = shippingAddress;
Clone fragments detected by clone detection tool
File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/subselect/Alien.java File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/typedmanytoone/Customer.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class Alien {
1
public class Customer implements Serializable {
2
	private Long id;
2
	private String name;
3
	private String identity;
3
	private String customerId;
4
	private String planet;
4
	private 
5
	private String specie
5
Address billingAddress;
6
	private Address shippingAddress;
7
	public Address getBillingAddress() {
6
s;
8
		return billingAddress;
7
	
9
	}
8
	public void setIdentity(String identity) {
10
	public void set
9
		this.identity = identity
11
BillingAddress(Address billingAddress) {
10
;
12
		this.billingAddress = billingAddress;
11
	}
13
	}
12
	public String getIdentity() {
14
	public String getCustomerId() {
13
		return identity;
15
		return customerId;
14
	}
16
	}
15
	public void setSpecies(String species) {
17
	public void set
16
		this.species = species
18
CustomerId(String customerId) {
17
;
19
		this.customerId = customerId;
18
	}
20
	}
19
	public String getSpecies() {
21
	public String getName() {
20
		return species;
22
		return name;
21
	}
23
	}
22
	public void setPlanet(String planet) {
24
	public void setName(String name) {
23
		this.planet = planet;
25
		this.
24
	}
25
	public String getPlanet() {
26
		return planet;
27
	}
28
	public void setId(Long id) {
29
		this.id = id;
30
	}
31
	public Long getId() {
32
		return id
26
name = name;
27
	}
28
	public Address getShippingAddress() {
29
		return shippingAddress;
30
	}
31
	public void setShippingAddress(Address shippingAddress) {
33
;
32
		this.shippingAddress = shippingAddress;
34
	
33
	
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