public class Group { private String name; Group() {} public Group(String name) { this.name = name; } public String getName() { return name; } void setName(String name) { this.name = name
public class Employee { private String id; public Employee() { } public Employee(String id) { this.id = id; } public String getId() { return id; } public void setId(String id) { this.id = id
Clone fragments detected by clone detection tool
File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/idbag/Group.java File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/unconstrained/Employee.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class Group {
1
public class Employee {
2
	
2
	private String name;
3
	private String id;
3
	
4
	Group() {
4
	public Employee() {
5
}
5
	}
6
	
7
	public Group(String name) {
6
	public Employee(String id) {
8
		this.name = name;
7
		this.id = id;
9
	}
8
	}
10
	
11
	public String getName() {
9
	public String getId() {
12
		return name;
10
		return id;
13
	}
11
	}
14
	
12
	
15
	
16
void setName(String name) {
13
	public void setId(String id) {
17
		this.name = name
14
		this.id = id
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