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 Continent { private Integer id; private String name; private Set countries; public Integer getId() { return id; } public void setId(Integer id) { this.id = id; } public String getName() { return name; } public void setName(String name) { this.name = name; } public Set getCountries() { return countries; } public void setCountries(Set countries) { this.countries = countries
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/stats/Continent.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class Immutable {
1
public class Continent {
2
	private String foo;
2
	private Integer id;
3
	private String bar;
3
	private String name;
4
	private String id;
4
	private Set countries;
5
	
6
	public String getFoo() {
5
	public Integer getId() {
7
		return foo;
6
		return id;
8
	}
7
	}
9
	
10
	public void setFoo(String foo) {
8
	public void setId(Integer id) {
11
		this.foo = foo;
9
		this.id = id;
12
	}
10
	}
13
	
14
	public String getBar() {
11
	public String getName() {
15
		return bar;
12
		return name;
16
	}
13
	}
17
	
18
	public void setBar(String bar) {
14
	public void setName(String name) {
19
		this.bar = bar;
15
		this.name = name;
20
	}
16
	}
21
	
22
	public String getId() {
17
	public Set getCountries() {
23
		return id;
18
		return countries;
24
	}
19
	}
25
	
26
	public void setId(String id) {
20
	public void set
27
		this.id = id
21
Countries(Set countries) {
22
		this.countries = countries
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