Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
22 | 2 | 4 | 0.979 | namespace_member_declarations |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 22 | 6 | src/NHibernate.Test/MultipleCollectionFetchTest/MultipleListFetchFixture.cs |
2 | 22 | 8 | src/NHibernate.Test/MultipleCollectionFetchTest/MultipleSetFetchFixture.cs |
| ||||
namespace NHibernate.Test.MultipleCollectionFetchTest { [TestFixture] public class MultipleListFetchFixture : AbstractMultipleCollectionFetchFixture { protected override IList Mappings { get { return new string[] { "MultipleCollectionFetchTest.PersonList.hbm.xml" } ; } } protected override void AddToCollection(ICollection collection, Person person) { ((ArrayList) collection).Add(person); } protected override ICollection CreateCollection() { return new ArrayList(); } } } |
| ||||
namespace NHibernate.Test.MultipleCollectionFetchTest { [TestFixture] public class MultipleSetFetchFixture : AbstractMultipleCollectionFetchFixture { protected override IList Mappings { get { return new string[] { "MultipleCollectionFetchTest.PersonSet.hbm.xml" } ; } } protected override void AddToCollection(ICollection collection, Person person) { ((ISet) collection).Add(person); } protected override ICollection CreateCollection() { return new HashedSet(); } } } |
| |||
namespace NHibernate.Test.MultipleCollectionFetchTest { [TestFixture] public class [[#variable70c18d80]]: AbstractMultipleCollectionFetchFixture { protected override IList Mappings { get { return new string[] { [[#variable70c18dc0]] } ; } } protected override void AddToCollection(ICollection collection, Person person) { (( [[#variable70c18e00]])collection).Add(person); } protected override ICollection CreateCollection() { return new [[#variable70c18de0]](); } } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#70c18d80]] | MultipleListFetchFixture |
1 | 2 | [[#70c18d80]] | MultipleSetFetchFixture |
2 | 1 | [[#70c18dc0]] | "MultipleCollectionFetchTest.PersonList.hbm.xml" |
2 | 2 | [[#70c18dc0]] | "MultipleCollectionFetchTest.PersonSet.hbm.xml" |
3 | 1 | [[#70c18e00]] | ArrayList |
3 | 2 | [[#70c18e00]] | ISet |
4 | 1 | [[#70c18de0]] | ArrayList |
4 | 2 | [[#70c18de0]] | HashedSet |