public class PropertySet { private Long id; private String name; private PropertyValue someSpecificProperty; private Map generalProperties = new HashMap(); public PropertySet() { } public PropertySet(String name) { this.name = name; } public Long getId() { return id; } public void setId(Long id) { this.id = id; } public String getName() { return name; } public void setName(String name) { this.name = name; } public PropertyValue getSomeSpecificProperty() { return someSpecificProperty; } public void setSomeSpecificProperty(PropertyValue someSpecificProperty) { this.someSpecificProperty = someSpecificProperty; } public Map getGeneralProperties() { return generalProperties; } public void setGeneralProperties(Map generalProperties) { this.generalProperties = generalProperties;
public class Entity { private Long id; private String name; private Entity child; private Entity sibling; public Entity() { } public Entity(String name) { this.name = name; } public Long getId() { return id; } public void setId(Long id) { this.id = id; } public String getName() { return name; } public void setName(String name) { this.name = name; } public Entity getChild() { return child; } public void setChild(Entity child) { this.child = child; } public Entity getSibling() { return sibling; } public void setSibling(Entity sibling) { this.sibling = sibling;
Clone fragments detected by clone detection tool
File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/any/PropertySet.java File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/instrument/domain/Entity.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class PropertySet {
1
public class Entity {
2
	private Long id;
2
	private Long id;
3
	private String name;
3
	private String name;
4
	private PropertyValue someSpecificProperty;
4
	private 
5
	private Map generalProperties = new HashMap()
5
Entity child;
6
;
6
	private Entity sibling;
7
	public PropertySet() {
7
	public Entity() {
8
	}
8
	}
9
	public PropertySet(String name) {
9
	public Entity(String name) {
10
		this.name = name;
10
		this.name = name;
11
	}
11
	}
12
	public Long getId() {
12
	public Long getId() {
13
		return id;
13
		return id;
14
	}
14
	}
15
	public void setId(Long id) {
15
	public void setId(Long id) {
16
		this.id = id;
16
		this.id = id;
17
	}
17
	}
18
	public String getName() {
18
	public String getName() {
19
		return name;
19
		return name;
20
	}
20
	}
21
	public void setName(String name) {
21
	public void setName(String name) {
22
		this.name = name;
22
		this.name = name;
23
	}
23
	}
24
	public PropertyValue getSomeSpecificProperty() {
24
	public 
25
		return someSpecificProperty;
26
	}
27
	public void setSomeSpecificProperty(PropertyValue someSpecificProperty) {
28
		this.someSpecificProperty = someSpecificProperty;
29
	}
30
	public Map getGeneralProperties() {
31
		return generalProperties;
32
	}
33
	public void setGeneralProperties(Map generalProperties) {
34
		this.generalProperties = generalProperties
25
Entity getChild() {
26
		return child;
27
	}
28
	public void setChild(Entity child) {
29
		this.child = child;
30
	}
31
	public Entity getSibling() {
32
		return sibling;
33
	}
34
	public void setSibling(Entity sibling) {
35
;
35
		this.sibling = sibling;
36
	
36
	
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