public class Employee extends Person { private String title; private BigDecimal salary; private Employee manager; /** * @return Returns the title. */ public String getTitle() { return title; } /** * @param title The title to set. */ public void setTitle(String title) { this.title = title; } /** * @return Returns the manager. */ public Employee getManager() { return manager; } /** * @param manager The manager to set. */ public void setManager(Employee manager) { this.manager = manager; } /** * @return Returns the salary. */ public BigDecimal getSalary() { return salary; } /** * @param salary The salary to set. */ public void setSalary(BigDecimal salary) { this.salary = salary;
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;
Clone fragments detected by clone detection tool
File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/joinedsubclass/Employee.java File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/sql/hand/Speech.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class Employee extends Person {
1
public class Speech {
2
	private String title;
2
	private 
3
	private BigDecimal salary;
4
	private Employee manager;
5
	/**
6
	 * @return Returns the title.
7
	 */
8
	public String getTitle
3
Integer id;
4
	private String name;
5
	private Double length;
9
() {
6
	public Integer getId() {
10
		return title;
7
		return 
11
	}
12
	/**
13
	 * @param title The title to set.
14
	 */
15
	public void setTitle(String title
8
id;
9
	}
16
) {
10
	public void setId(Integer id) {
17
		this.title = title;
11
		this.
18
	}
19
	/**
20
	 * @return Returns the manager.
21
	 */
12
id = id;
13
	}
14

22
	public Employee getManager() {
15
	public Double getLength() {
23
		return manager;
16
		return 
24
	}
25
	/**
26
	 * @param manager The manager to set.
27
	 */
28
	public void setManager(Employee manager
17
length;
18
	}
29
) {
19
	public void setLength(Double length) {
30
		this.manager = manager;
20
		this.
31
	}
32
	/**
33
	 * @return Returns the salary.
34
	 */
35
	public BigDecimal getSalary
21
length = length;
22
	}
36
() {
23
	public String getName() {
37
		return salary;
24
		return 
38
	}
39
	/**
40
	 * @param salary The salary to set.
41
	 */
42
	public void setSalary(BigDecimal salary
25
name;
26
	}
43
) {
27
	public void setName(String name) {
44
		this.salary = salary;
28
		this.name = name;
45
	
29
	
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