public class Immutable { private String foo; private String bar; private String id; public String getFoo() { return foo; } public void setFoo(String foo) { this.foo = foo; } public String getBar() { return bar; } public void setBar(String bar) { this.bar = bar; } public String getId() { return id; } public void setId(String id) { this.id = id;
public class Being { private long id; private String identity; private String location; private String species; public void setLocation(String location) { this.location = location; } public String getLocation() { return location; } public void setSpecies(String species) { this.species = species; } public String getSpecies() { return species; } public void setIdentity(String identity) { this.identity = identity; } public String getIdentity() { return identity;
Clone fragments detected by clone detection tool
File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/legacy/Immutable.java File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/subselect/Being.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class Immutable {
1
public class Being {
2
	private String foo;
2
	private long id;
3
	private String bar;
3
	private String identity;
4
	private String id;
4
	private String 
5
	
6
	public String getFoo() {
7
		return foo;
8
	}
5
location;
6
	private String species;
9
	
7
	
10
	public void setFoo(String foo) {
8
	public void setLocation(String location) {
11
		this.foo = foo;
9
		this.location = location;
12
	}
10
	}
13
	
11
	
14
	public String getBar() {
12
public String getLocation() {
15
		return bar;
13
		return location;
16
	}
14
	}
17
	
15
	
18
	public void setBar(String bar) {
16
public void setSpecies(String species) {
19
		this.bar = bar;
17
		this.species = species;
20
	}
18
	}
21
	
19
	
22
	public String getId() {
20
public String getSpecies() {
23
		return id;
21
		return species;
24
	}
22
	}
25
	
23
	
26
	public void setId(String id) {
24
public void setIdentity(String identity) {
27
		this.id = id
25
		this.identity = identity;
26
	}
27
	public String getIdentity() {
28
;
28
		return identity;
29
	
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