public class Part implements Serializable { private String name; private String description; public String getDescription() { return description; } public void setDescription(String description) { this.description = description; } public String getName() { return name; } public void setName(String name) { this.name = name
public class Person { private Long id; private Identity identity; public Long getId() { return id; } public void setId(Long id) { this.id = id; } public Identity getIdentity() { return identity; } public void setIdentity(Identity identity) { this.identity = identity
Clone fragments detected by clone detection tool
File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/orphan/Part.java File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/propertyref/component/partial/Person.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class Part implements Serializable {
1
public class Person {
2
	private String name;
2
	private 
3
	private String description;
3
Long id;
4
	private Identity identity;
5
	
4
	public String getDescription() {
6
	public Long getId() {
5
		return description;
7
		return id;
6
	}
8
	}
7
	public void setDescription(String description) {
9
	public void setId(Long id) {
8
		this.description = description;
10
		this.id = id;
9
	}
11
	}
10
	public String getName() {
12
	public Identity getIdentity() {
11
		return name;
13
		return identity;
12
	}
14
	}
13
	public void setName(String name) {
15
	public void setIdentity(Identity identity) {
14
		this.name = name
16
		this.identity = identity
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