| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 36 | 3 | 1 | 0.997 | compilation_unit |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 36 | 1 | src/NHibernate.Test/NHSpecificTest/CriteriaFromHql/Person.cs |
| 2 | 36 | 1 | src/NHibernate.Test/NHSpecificTest/Futures/Person.cs |
| 3 | 36 | 1 | src/NHibernate.Test/NHSpecificTest/Logs/Person.cs |
| ||||
using System.Collections.Generic;
namespace NHibernate.Test.NHSpecificTest.CriteriaFromHql
{
public class Person
{
private IList<Person> children = new List<Person> ();
private IList<Person> friends = new List<Person> ();
private int id;
private Person parent;
public virtual Person Parent
{
get { return parent;
}
set { parent = value;
}
}
public virtual IList<Person> Friends
{
get { return friends;
}
set { friends = value;
}
}
public virtual IList<Person> Children
{
get { return children;
}
set { children = value;
}
}
public virtual int Id
{
get { return id;
}
set { id = value;
}
}
}
}
|
| ||||
using System.Collections.Generic;
namespace NHibernate.Test.NHSpecificTest.Futures
{
public class Person
{
private IList<Person> children = new List<Person> ();
private IList<Person> friends = new List<Person> ();
private int id;
private Person parent;
public virtual Person Parent
{
get { return parent;
}
set { parent = value;
}
}
public virtual IList<Person> Friends
{
get { return friends;
}
set { friends = value;
}
}
public virtual IList<Person> Children
{
get { return children;
}
set { children = value;
}
}
public virtual int Id
{
get { return id;
}
set { id = value;
}
}
}
}
|
| ||||
using System.Collections.Generic;
namespace NHibernate.Test.NHSpecificTest.Logs
{
public class Person
{
private IList<Person> children = new List<Person> ();
private IList<Person> friends = new List<Person> ();
private int id;
private Person parent;
public virtual Person Parent
{
get { return parent;
}
set { parent = value;
}
}
public virtual IList<Person> Friends
{
get { return friends;
}
set { friends = value;
}
}
public virtual IList<Person> Children
{
get { return children;
}
set { children = value;
}
}
public virtual int Id
{
get { return id;
}
set { id = value;
}
}
}
}
|
| |||
using System.Collections.Generic;
namespace NHibernate.Test.NHSpecificTest. [[#variable545945a0]]
{
public class Person
{
private IList<Person> children = new List<Person> ();
private IList<Person> friends = new List<Person> ();
private int id;
private Person parent;
public virtual Person Parent
{
get
{
return parent;
}
set
{
parent = value;
}
}
public virtual IList<Person> Friends
{
get
{
return friends;
}
set
{
friends = value;
}
}
public virtual IList<Person> Children
{
get
{
return children;
}
set
{
children = value;
}
}
public virtual int Id
{
get
{
return id;
}
set
{
id = value;
}
}
}
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#545945a0]] | CriteriaFromHql |
| 1 | 2 | [[#545945a0]] | Futures |
| 1 | 3 | [[#545945a0]] | Logs |