Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
20 | 7 | 5 | 0.970 | namespace_body |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 20 | 7 | src/NHibernate.Test/Events/Collections/Association/Bidirectional/ManyToMany/BidirectionalManyToManySetToSetCollectionEventFixture.cs |
2 | 23 | 6 | src/NHibernate.Test/Events/Collections/Association/Bidirectional/OneToMany/BidirectionalOneToManyBagCollectionEventFixture.cs |
3 | 24 | 7 | src/NHibernate.Test/Events/Collections/Association/Bidirectional/OneToMany/BidirectionalOneToManySetCollectionEventFixture.cs |
4 | 20 | 6 | src/NHibernate.Test/Events/Collections/Association/Unidirectional/ManyToMany/UnidirectionalManyToManyBagCollectionEventFixture.cs |
5 | 20 | 6 | src/NHibernate.Test/Events/Collections/Association/Unidirectional/OneToMany/UnidirectionalOneToManyBagCollectionEventFixture.cs |
6 | 20 | 7 | src/NHibernate.Test/Events/Collections/Association/Unidirectional/OneToMany/UnidirectionalOneToManySetCollectionEventFixture.cs |
7 | 20 | 6 | src/NHibernate.Test/Events/Collections/Values/ValuesBagCollectionEventFixture.cs |
| ||||
{ [TestFixture] public class BidirectionalManyToManySetToSetCollectionEventFixture : AbstractAssociationCollectionEventFixture { protected override IList Mappings { get { return new string[] { "Events.Collections.Association.Bidirectional.ManyToMany.BidirectionalManyToManySetToSetMapping.hbm.xml" } ; } } public override IParentWithCollection CreateParent(string name) { return new ParentWithBidirectionalManyToMany(name); } public override ICollection<IChild> CreateCollection() { return new HashedSet<IChild> (); } } } |
| ||||
{ [TestFixture] public class BidirectionalOneToManyBagCollectionEventFixture : AbstractAssociationCollectionEventFixture { protected override IList Mappings { get { return new string[] { "Events.Collections.Association.Bidirectional.OneToMany.BidirectionalOneToManyBagMapping.hbm.xml" } ; } } public override IParentWithCollection CreateParent(string name) { return new ParentWithBidirectionalOneToMany(name); } public override ICollection<IChild> CreateCollection() { return new List<IChild> (); } } } |
| ||||
{ [TestFixture] public class BidirectionalOneToManySetCollectionEventFixture : AbstractAssociationCollectionEventFixture { protected override IList Mappings { get { return new string[] { "Events.Collections.Association.Bidirectional.OneToMany.BidirectionalOneToManySetMapping.hbm.xml" } ; } } public override IParentWithCollection CreateParent(string name) { return new ParentWithBidirectionalOneToMany(name); } public override ICollection<IChild> CreateCollection() { return new HashedSet<IChild> (); } } } |
| ||||
{ [TestFixture] public class UnidirectionalManyToManyBagCollectionEventFixture : AbstractAssociationCollectionEventFixture { protected override IList Mappings { get { return new string[] { "Events.Collections.Association.Unidirectional.ManyToMany.UnidirectionalManyToManyBagMapping.hbm.xml" } ; } } public override IParentWithCollection CreateParent(string name) { return new ParentWithCollectionOfEntities(name); } public override ICollection<IChild> CreateCollection() { return new List<IChild> (); } } } |
| ||||
{ [TestFixture] public class UnidirectionalOneToManyBagCollectionEventFixture : AbstractAssociationCollectionEventFixture { protected override IList Mappings { get { return new string[] { "Events.Collections.Association.Unidirectional.OneToMany.UnidirectionalOneToManyBagMapping.hbm.xml" } ; } } public override IParentWithCollection CreateParent(string name) { return new ParentWithCollectionOfEntities(name); } public override ICollection<IChild> CreateCollection() { return new List<IChild> (); } } } |
| ||||
{ [TestFixture] public class UnidirectionalOneToManySetCollectionEventFixture : AbstractAssociationCollectionEventFixture { protected override IList Mappings { get { return new string[] { "Events.Collections.Association.Unidirectional.OneToMany.UnidirectionalOneToManySetMapping.hbm.xml" } ; } } public override IParentWithCollection CreateParent(string name) { return new ParentWithCollectionOfEntities(name); } public override ICollection<IChild> CreateCollection() { return new HashedSet<IChild> (); } } } |
| ||||
{ [TestFixture] public class ValuesBagCollectionEventFixture : AbstractCollectionEventFixture { protected override IList Mappings { get { return new string[] { "Events.Collections.Values.ValuesBagMapping.hbm.xml" } ; } } public override IParentWithCollection CreateParent(string name) { return new ParentWithCollectionOfValues(name); } public override ICollection<IChild> CreateCollection() { return new List<IChild> (); } } } |
| |||
{ [TestFixture] public class [[#variable5f24e8e0]]: [[#variable4efcb120]] { protected override IList Mappings { get { return new string[] { [[#variable5f24e800]] } ; } } public override IParentWithCollection CreateParent(string name) { return new [[#variable65269e60]](name); } public override ICollection<IChild> CreateCollection() { return new [[#variable5f24e6c0]]<IChild> (); } } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5f24e8e0]] | BidirectionalManyToManySetToSetCollectionEventFixture |
1 | 2 | [[#5f24e8e0]] | BidirectionalOneToManyBagCollectionEventFixture |
1 | 3 | [[#5f24e8e0]] | BidirectionalOneToManySetCollectionEventFixture |
1 | 4 | [[#5f24e8e0]] | UnidirectionalManyToManyBagCollectionEventFixture |
1 | 5 | [[#5f24e8e0]] | UnidirectionalOneToManyBagCollectionEventFixture |
1 | 6 | [[#5f24e8e0]] | UnidirectionalOneToManySetCollectionEventFixture |
1 | 7 | [[#5f24e8e0]] | ValuesBagCollectionEventFixture |
2 | 1 | [[#4efcb120]] | AbstractAssociationCollectionEventFixture |
2 | 2 | [[#4efcb120]] | AbstractAssociationCollectionEventFixture |
2 | 3 | [[#4efcb120]] | AbstractAssociationCollectionEventFixture |
2 | 4 | [[#4efcb120]] | AbstractAssociationCollectionEventFixture |
2 | 5 | [[#4efcb120]] | AbstractAssociationCollectionEventFixture |
2 | 6 | [[#4efcb120]] | AbstractAssociationCollectionEventFixture |
2 | 7 | [[#4efcb120]] | AbstractCollectionEventFixture |
3 | 1 | [[#5f24e800]] | "Events.Collections.Association.Bidirectional.ManyToMany.BidirectionalManyToManySetToSetMapping.hbm.xml" |
3 | 2 | [[#5f24e800]] | "Events.Collections.Association.Bidirectional.OneToMany.BidirectionalOneToManyBagMapping.hbm.xml" |
3 | 3 | [[#5f24e800]] | "Events.Collections.Association.Bidirectional.OneToMany.BidirectionalOneToManySetMapping.hbm.xml" |
3 | 4 | [[#5f24e800]] | "Events.Collections.Association.Unidirectional.ManyToMany.UnidirectionalManyToManyBagMapping.hbm.xml" |
3 | 5 | [[#5f24e800]] | "Events.Collections.Association.Unidirectional.OneToMany.UnidirectionalOneToManyBagMapping.hbm.xml" |
3 | 6 | [[#5f24e800]] | "Events.Collections.Association.Unidirectional.OneToMany.UnidirectionalOneToManySetMapping.hbm.xml" |
3 | 7 | [[#5f24e800]] | "Events.Collections.Values.ValuesBagMapping.hbm.xml" |
4 | 1 | [[#65269e60]] | ParentWithBidirectionalManyToMany |
4 | 2 | [[#65269e60]] | ParentWithBidirectionalOneToMany |
4 | 3 | [[#65269e60]] | ParentWithBidirectionalOneToMany |
4 | 4 | [[#65269e60]] | ParentWithCollectionOfEntities |
4 | 5 | [[#65269e60]] | ParentWithCollectionOfEntities |
4 | 6 | [[#65269e60]] | ParentWithCollectionOfEntities |
4 | 7 | [[#65269e60]] | ParentWithCollectionOfValues |
5 | 1 | [[#5f24e6c0]] | HashedSet |
5 | 2 | [[#5f24e6c0]] | List |
5 | 3 | [[#5f24e6c0]] | HashedSet |
5 | 4 | [[#5f24e6c0]] | List |
5 | 5 | [[#5f24e6c0]] | List |
5 | 6 | [[#5f24e6c0]] | HashedSet |
5 | 7 | [[#5f24e6c0]] | List |