public class Customer { public Customer() { super(); } public Customer(String orgName, String custName, String add) { this.orgName = orgName; this.customerName = custName; this.address = add; } private String orgName; private String customerName; private String address; public String getAddress() { return address; } public void setAddress(String address) { this.address = address; } public String getCustomerName() { return customerName; } public void setCustomerName(String customerName) { this.customerName = customerName; } public String getOrgName() { return orgName; } public void setOrgName(String orgName) { this.orgName = orgName
public class ChildAssigned { private Long id; private String name; private ParentAssigned parent; private ChildInfoAssigned info; public ChildAssigned() { } public ChildAssigned(Long id, String name) { this.id = id; this.name = name; } public Long getId() { return id; } public String getName() { return name; } public void setName(String name) { this.name = name; } public ParentAssigned getParent() { return parent; } public void setParent(ParentAssigned parent) { this.parent = parent; } public ChildInfoAssigned getInfo() { return info; } public void setInfo(ChildInfoAssigned 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/idclass/Customer.java File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/jpa/cascade/ChildAssigned.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class Customer {
1
public class C
2
	public Customer() {
3
		super();
4
	}
5
	public Customer(String orgName, String custName, String add
2
hildAssigned {
3
	private Long id;
4
	private String name;
5
	private ParentAssigned parent;
6
	private ChildInfoAssigned info;
7
	public ChildAssigned() {
8
	}
6
) {
9
	public ChildAssigned(Long id, String name) {
10

7
		this.orgName = orgName;
11
		this.
8
		this.customerName = custName;
9
		this.address = add;
10
	}
11
	private String orgName;
12
	private String customerName;
13
	private String address;
12
id = id;
13
		this.name = name;
14
	}
15
	public Long getId() {
16
		return id;
17
	}
18

14
	public String getAddress() {
19
	public String getName() {
20

15
		return address;
21
		return 
16
	}
22
name;
23
	}
24

17
	public void setAddress(String address) {
25
	public void setName(String name) {
26

18
		this.address = address;
27
		this.
19
	}
20
	public String getCustomerName
28
name = name;
29
	}
21
() {
30
	public ParentAssigned getParent() {
31

22
		return customerName;
32
		return 
23
	}
24
	public void setCustomerName(String customerName
33
parent;
34
	}
25
) {
35
	public void setParent(ParentAssigned parent) {
36

26
		this.customerName = customerName;
37
		this.
27
	}
28
	public String getOrgName
38
parent = parent;
39
	}
29
() {
40
	public ChildInfoAssigned getInfo() {
41

30
		return orgName;
42
		return 
31
	}
43
info;
44
	}
45

32
	public void setOrgName(String orgName) {
46
	public void setInfo(ChildInfoAssigned info) {
47

33
		this.orgName = orgName
48
		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