Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
23 | 2 | 2 | 0.979 | compilation_unit |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 23 | 1 | src/NHibernate.Test/NHSpecificTest/NH1584/Female.cs |
2 | 23 | 1 | src/NHibernate.Test/NHSpecificTest/NH1584/Male.cs |
| ||||
namespace NHibernate.Test.NHSpecificTest.NH1584 { /// <summary> /// This class assumes that all female cats have a calico coat (which is not actually true). /// </summary> public class Female : Cat { private Calico _coat; public virtual Calico Coat { get { return _coat; } set { if (value != null) { _coat = value; _coat.Cat = this ; } } } } } |
| ||||
namespace NHibernate.Test.NHSpecificTest.NH1584 { /// <summary> /// This class assumes that all male cats have a tabby coat pattern (which is not true). /// </summary> public class Male : Cat { private Tabby _coat; public virtual Tabby Coat { get { return _coat; } set { if (value != null) { _coat = value; _coat.Cat = this ; } } } } } |
| |||
namespace NHibernate.Test.NHSpecificTest.NH1584 { /// <summary> /// This class assumes that all female cats have a calico coat (which is not actually true). /// This class assumes that all male cats have a tabby coat pattern (which is not true). /// </summary> public class [[#variable2813bd60]]: Cat { private [[#variable2813bce0]]_coat; public virtual [[#variable2813bce0]]Coat { get { return _coat; } set { if (value != null) { _coat = value; _coat.Cat = this ; } } } } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#2813bd60]] | Female |
1 | 2 | [[#2813bd60]] | Male |
2 | 1 | [[#2813bce0]] | Calico |
2 | 2 | [[#2813bce0]] | Tabby |