public class Item { private String name; Item() {} public Item(String n) { name = n; } public String getName() { return name; } public 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/iterate/Item.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 Item {
1
public class Employee {
2
	
2
	private String name;
3
	private String 
3
	Item() {}
4
id;
5
	public Employee() {
6
	}
4
	public Item(String n) {
7
	public Employee(String id) {
5
		name = n;
8
		this.id = id;
6
	}
9
	}
7
	public String getName() {
10
	public String getId() {
8
		return name;
11
		return id;
9
	}
12
	}
13
	
10
	public void setName(String name) {
14
	public void setId(String id) {
11
		this.name = name;
15
		this.id = id;
12
	
16
	
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