| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 42 | 2 | 4 | 0.987 | class_member_declarations[7] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 42 | 26 | src/NHibernate.DomainModel/Simple.cs |
| 2 | 42 | 29 | src/NHibernate.DomainModel/Top.cs |
| ||||
public void Init()
{
name = "Someone with along name";
address = "1234 some street, some city, victoria, 3000, austaya";
count = 69;
date = DateTime.Now;
}
public string Name
{
get { return name;
}
set { name = value;
}
}
public string Address
{
get { return address;
}
set { address = value;
}
}
public int Count
{
get { return count;
}
set { count = value;
}
}
public DateTime Date
{
get { return date;
}
set { date = value;
}
}
public Simple Other
{
get { return other;
}
set { other = value;
}
}
public float Pay
{
get { return pay;
}
set { pay = value;
}
}
|
| ||||
public void Init()
{
name = "Someone with along name";
address = "1234 some street, some city, victoria, 3000, austaya";
count = 69;
date = DateTime.Now;
}
public string Name
{
get { return name;
}
set { name = value;
}
}
public string Address
{
get { return address;
}
set { address = value;
}
}
public int Count
{
get { return count;
}
set { count = value;
}
}
public DateTime Date
{
get { return date;
}
set { date = value;
}
}
public Top Other
{
get { return other;
}
set { other = value;
}
}
public long Id
{
get { return id;
}
set { id = value;
}
}
|
| |||
public void Init()
{
name = "Someone with along name";
address = "1234 some street, some city, victoria, 3000, austaya";
count = 69;
date = DateTime.Now;
}
public string Name
{
get
{
return name;
}
set
{
name = value;
}
}
public string Address
{
get
{
return address;
}
set
{
address = value;
}
}
public int Count
{
get
{
return count;
}
set
{
count = value;
}
}
public DateTime Date
{
get
{
return date;
}
set
{
date = value;
}
}
public [[#variable28daace0]]Other
{
get
{
return other;
}
set
{
other = value;
}
}
public [[#variable6e6d7800]] [[#variable2c057160]]
{
get
{
return [[#variable2c057a80]];
}
set
{
[[#variable2c057a80]]= value;
}
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#28daace0]] | Top |
| 1 | 2 | [[#28daace0]] | Simple |
| 2 | 1 | [[#6e6d7800]] | long |
| 2 | 2 | [[#6e6d7800]] | float |
| 3 | 1 | [[#2c057160]] | Id |
| 3 | 2 | [[#2c057160]] | Pay |
| 4 | 1 | [[#2c057a80]] | id |
| 4 | 2 | [[#2c057a80]] | pay |