public class Point implements Serializable { private BigDecimal x; private BigDecimal y; private String description; private Object row; Point() {} public Point(BigDecimal x, BigDecimal y) { this.x = x; this.y = y; } public BigDecimal getX() { return x; } void setX(BigDecimal x) { this.x = x; } public BigDecimal getY() { return y; } void setY(BigDecimal y) { this.y = y; } public String getDescription() { return description; } public void setDescription(String description) { this.description = description; } public Object getRow() { return row; } public void setRow(Object row) { this.row = row;
public class Employee { private String name; private Date hireDate; private Map managerBySite = new HashMap(); private Set underlings = new HashSet(); Employee() {} public Employee(String name) { this.name=name; } public Map getManagerBySite() { return managerBySite; } public void setManagerBySite(Map managerBySite) { this.managerBySite = managerBySite; } public String getName() { return name; } public void setName(String name) { this.name = name; } public Set getUnderlings() { return underlings; } public void setUnderlings(Set underlings) { this.underlings = underlings; } public Date getHireDate() { return hireDate; } public void setHireDate(Date hireDate) { this.hireDate = hireDate;
Clone fragments detected by clone detection tool
File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/rowid/Point.java File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/ternary/Employee.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class Point implements Serializable {
1
public class Employee {
2
	private BigDecimal x;
2
	private 
3
	private BigDecimal y;
4
	private String description;
5
	private Object row
3
String name;
4
	private Date hireDate;
5
	private Map managerBySite = new HashMap();
6
;
6
	private Set underlings = new HashSet();
7
	
7
	Point() {}
8
	Employee() {}
8
	
9
	
9
	public Point(BigDecimal x, BigDecimal y) {
10
public 
10
		this.x = x;
11
		this.y = y
11
Employee(String name) {
12
;
12
		this.name=name;
13
	}
13
	}
14
	public BigDecimal getX() {
14
	public Map getManagerBySite() {
15
		return x;
15
		return 
16
	}
17
	void setX(BigDecimal x) {
18
		this.x = x
16
managerBySite;
17
	}
18
	public void setManagerBySite(Map managerBySite) {
19
;
19
		this.managerBySite = managerBySite;
20
	}
20
	}
21
	public BigDecimal getY() {
21
	public String getName() {
22
		return y;
22
		return name;
23
	}
23
	}
24
	void setY(BigDecimal y) {
25
		this.y = y
24
	public void setName(String name) {
26
;
25
		this.name = name;
27
	}
26
	}
28
	public String getDescription() {
27
	public Set getUnderlings() {
29
		return description;
28
		return underlings;
30
	}
29
	}
31
	public void setDescription(String description) {
30
	public void set
32
		this.description = description
31
Underlings(Set underlings) {
33
;
32
		this.underlings = underlings;
34
	}
33
	}
35
	public Object getRow() {
34
	public Date getHireDate() {
36
		return row;
35
		return hireDate;
37
	}
36
	}
38
	public void setRow(Object row) {
37
	public void setHireDate(Date hireDate) {
39
		this.row = row;
38
		this.hireDate = hireDate;
40
	
39
	
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