public class MoreCrazyIdFieldNameStuffEntity { private Long moreCrazyIdFieldNameStuffEntity; private HeresAnotherCrazyIdFieldName heresAnotherCrazyIdFieldName; // silly ain't it ;) private String name; public MoreCrazyIdFieldNameStuffEntity() { } public MoreCrazyIdFieldNameStuffEntity(String name) { this.name = name; } public Long getMoreCrazyIdFieldNameStuffEntity() { return moreCrazyIdFieldNameStuffEntity; } public void setMoreCrazyIdFieldNameStuffEntity(Long moreCrazyIdFieldNameStuffEntity) { this.moreCrazyIdFieldNameStuffEntity = moreCrazyIdFieldNameStuffEntity; } public HeresAnotherCrazyIdFieldName getHeresAnotherCrazyIdFieldName() { return heresAnotherCrazyIdFieldName; } public void setHeresAnotherCrazyIdFieldName(HeresAnotherCrazyIdFieldName heresAnotherCrazyIdFieldName) { this.heresAnotherCrazyIdFieldName = heresAnotherCrazyIdFieldName; } public String getName() { return name; } public void setName(String name) { this.name = name
public class Person { private String name; private String employeeId; private Employee employee; public Person() {} public Person(String name) { this.name = name; } public Employee getEmployee() { return employee; } public void setEmployee(Employee employee) { this.employee = employee; } public String getEmployeeId() { return employeeId; } public void setEmployeeId(String employeeId) { this.employeeId = employeeId; } 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/hql/MoreCrazyIdFieldNameStuffEntity.java File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/unconstrained/Person.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class MoreCrazyIdFieldNameStuffEntity {
1
public class Person {
2
	
2
	
3
private Long moreCrazyIdFieldNameStuffEntity;
3
	private 
4
	private HeresAnotherCrazyIdFieldName heresAnotherCrazyIdFieldName; // silly ain't it ;)
5
	private String name;
6
	public MoreCrazyIdFieldNameStuffEntity() {
7
	}
8
	public MoreCrazyIdFieldNameStuffEntity
4
String name;
5
	private String employeeId;
6
	private Employee employee;
7
	public Person() {}
9
(String name) {
8
	public Person(String name) {
10
		this.name = name;
9
		this.name = name;
11
	}
10
	}
11
	
12
	public Long getMoreCrazyIdFieldNameStuffEntity() {
12
	public 
13
		return moreCrazyIdFieldNameStuffEntity
13
Employee getEmployee() {
14
;
14
		return employee;
15
	}
15
	}
16
	
16
	public void setMoreCrazyIdFieldNameStuffEntity(Long moreCrazyIdFieldNameStuffEntity) {
17
	public void set
17
		this.moreCrazyIdFieldNameStuffEntity = moreCrazyIdFieldNameStuffEntity
18
Employee(Employee employee) {
18
;
19
		this.employee = employee;
19
	}
20
	}
21
	
20
	public HeresAnotherCrazyIdFieldName getHeresAnotherCrazyIdFieldName() {
22
	public 
21
		return heresAnotherCrazyIdFieldName
23
String getEmployeeId() {
22
;
24
		return employeeId;
23
	}
25
	}
26
	
24
	public void setHeresAnotherCrazyIdFieldName(HeresAnotherCrazyIdFieldName heresAnotherCrazyIdFieldName) {
27
	public void set
25
		this.heresAnotherCrazyIdFieldName = heresAnotherCrazyIdFieldName
28
EmployeeId(String employeeId) {
26
;
29
		this.employeeId = employeeId;
27
	}
30
	}
31
	
28
	public String getName() {
32
	public String getName() {
29
		return name;
33
		return name;
30
	}
34
	}
35
	
31
	public void setName(String name) {
36
	public void setName(String name) {
32
		this.name = name
37
		this.name = name
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