| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 7 | 5 | 3 | 0.963 | statement_list |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 7 | 97 | src/NHibernate.Test/Extendshbm/ExtendsFixture.cs |
| 2 | 7 | 109 | src/NHibernate.Test/Extendshbm/ExtendsFixture.cs |
| 3 | 7 | 121 | src/NHibernate.Test/Extendshbm/ExtendsFixture.cs |
| 4 | 7 | 133 | src/NHibernate.Test/Extendshbm/ExtendsFixture.cs |
| 5 | 8 | 158 | src/NHibernate.Test/Extendshbm/ExtendsFixture.cs |
| ||||
Configuration cfg = new Configuration();
cfg.AddResource(BaseForMappings + "Extendshbm.entitynames.hbm.xml", typeof( ExtendsFixture).Assembly);
cfg.BuildMappings();
Assert.That(cfg.GetClassMapping("EntityHasName"), Is.Not.Null);
Assert.That(cfg.GetClassMapping("EntityCompany"), Is.Not.Null);
|
| ||||
Configuration cfg = new Configuration();
cfg.AddResource(BaseForMappings + "Extendshbm.entitynamesWithColl.hbm.xml", typeof(ExtendsFixture).Assembly);
cfg.BuildMappings();
Assert.That(cfg.GetClassMapping("EntityHasName"), Is.Not.Null);
Assert.That(cfg.GetClassMapping("EntityCompany"), Is.Not.Null);
|
| ||||
Configuration cfg = new Configuration();
cfg.AddResource(BaseForMappings + "Extendshbm.packageentitynames.hbm.xml", typeof( ExtendsFixture).Assembly);
cfg.BuildMappings();
Assert.That(cfg.GetClassMapping("EntityHasName"), Is.Not.Null);
Assert.That(cfg.GetClassMapping("EntityCompany"), Is.Not.Null);
|
| ||||
Configuration cfg = new Configuration();
cfg.AddResource(BaseForMappings + "Extendshbm.packageentitynamesWithColl.hbm.xml", typeof(ExtendsFixture).Assembly);
cfg.BuildMappings();
Assert.That(cfg.GetClassMapping("EntityHasName"), Is.Not.Null);
Assert.That(cfg.GetClassMapping("EntityCompany"), Is.Not.Null);
|
| ||||
Configuration cfg = new Configuration();
cfg.AddResource(BaseForMappings + "Extendshbm.unionsubclass.hbm.xml", typeof( ExtendsFixture).Assembly);
cfg.BuildMappings();
Assert.That(cfg.GetClassMapping( typeof( Person).FullName), Is.Not.Null);
Assert.That(cfg.GetClassMapping( typeof( Customer).FullName), Is.Not.Null);
|
| |||
Configuration cfg = new Configuration(); cfg.AddResource(BaseForMappings + [[#variable6be05da0]], typeof(ExtendsFixture).Assembly); cfg.BuildMappings(); Assert.That(cfg.GetClassMapping( [[#variable6be042e0]]), Is.Not.Null); Assert.That(cfg.GetClassMapping( [[#variable6be05c80]]), Is.Not.Null); |
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#6be05da0]] | "Extendshbm.entitynames.hbm.xml" |
| 1 | 2 | [[#6be05da0]] | "Extendshbm.entitynamesWithColl.hbm.xml" |
| 1 | 3 | [[#6be05da0]] | "Extendshbm.packageentitynames.hbm.xml" |
| 1 | 4 | [[#6be05da0]] | "Extendshbm.packageentitynamesWithColl.hbm.xml" |
| 1 | 5 | [[#6be05da0]] | "Extendshbm.unionsubclass.hbm.xml" |
| 2 | 1 | [[#6be042e0]] | "EntityHasName" |
| 2 | 2 | [[#6be042e0]] | "EntityHasName" |
| 2 | 3 | [[#6be042e0]] | "EntityHasName" |
| 2 | 4 | [[#6be042e0]] | "EntityHasName" |
| 2 | 5 | [[#6be042e0]] | typeof(Person).FullName |
| 3 | 1 | [[#6be05c80]] | "EntityCompany" |
| 3 | 2 | [[#6be05c80]] | "EntityCompany" |
| 3 | 3 | [[#6be05c80]] | "EntityCompany" |
| 3 | 4 | [[#6be05c80]] | "EntityCompany" |
| 3 | 5 | [[#6be05c80]] | typeof(Customer).FullName |