public class Item { private Long id; private String name; private String description; public String getDescription() { return description; } public void setDescription(String description) { this.description = description; } 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 class Person { private Long id; private String name; private BankAccount bankAccount; /** * @return Returns the id. */ public Long getId() { return id; } /** * @param id The id to set. */ public void setId(Long id) { this.id = id; } /** * @return Returns the name. */ public String getName() { return name; } /** * @param name The name to set. */ public void setName(String name) { this.name = name; } public BankAccount getBankAccount() { return bankAccount; } public void setBankAccount(BankAccount bankAccount) { this.bankAccount = bankAccount
Clone fragments detected by clone detection tool
File path: /hibernate-distribution-3.3.2.GA/project/cache-jbosscache2/src/test/java/org/hibernate/test/cache/jbc2/functional/Item.java File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/propertyref/inheritence/joined/Person.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class Item {
1
public class 
2
    
2
Person {
3
private Long id;
3
	private Long id;
4
    
5
private String name;
4
	private String name;
6
    
7
private String description;
5
	private 
8
    
6
BankAccount bankAccount;
7
	/**
8
	 * @return Returns the id.
9
	 */
9
public String getDescription() {
10
	public Long get
10
        return description;
11
    }
12
    public void setDescription(String description) {
13
        this.description = description;
14
    }
15
    
11
Id() {
12
		return id;
13
	}
14
	/**
15
	 * @param id The id to set.
16
	 */
17
	public void setId(Long id) {
18
		this.id = id;
19
	}
20
	/**
21
	 * @return Returns the name.
22
	 */
16
public Long getId() {
23
	public String get
17
        return id;
18
    }
19
    public void setId(Long id) {
20
        this.id = id;
21
    }
22
    public String getName() {
23
        return name;
24
    }
25
    public void setName(String name) {
26
        this.name = name
24
Name() {
25
		return name;
26
	}
27
	/**
28
	 * @param name The name to set.
29
	 */
30
	public void setName(String name) {
31
		this.name = name;
32
	}
33
	public BankAccount getBankAccount() {
34
		return bankAccount;
35
	}
36
	public void setBankAccount(BankAccount bankAccount) {
37
		this.bankAccount = bankAccount
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