CloneSet208


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7530.963statement_list
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1797
src/NHibernate.Test/Extendshbm/ExtendsFixture.cs
27109
src/NHibernate.Test/Extendshbm/ExtendsFixture.cs
37121
src/NHibernate.Test/Extendshbm/ExtendsFixture.cs
47133
src/NHibernate.Test/Extendshbm/ExtendsFixture.cs
58158
src/NHibernate.Test/Extendshbm/ExtendsFixture.cs
Clone Instance
1
Line Count
7
Source Line
97
Source File
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);


Clone Instance
2
Line Count
7
Source Line
109
Source File
src/NHibernate.Test/Extendshbm/ExtendsFixture.cs

                        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);


Clone Instance
3
Line Count
7
Source Line
121
Source File
src/NHibernate.Test/Extendshbm/ExtendsFixture.cs

                        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);


Clone Instance
4
Line Count
7
Source Line
133
Source File
src/NHibernate.Test/Extendshbm/ExtendsFixture.cs

                        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);


Clone Instance
5
Line Count
8
Source Line
158
Source File
src/NHibernate.Test/Extendshbm/ExtendsFixture.cs

                        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);


Clone AbstractionParameter Count: 3Parameter Bindings

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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#6be05da0]]
"Extendshbm.entitynames.hbm.xml" 
12[[#6be05da0]]
"Extendshbm.entitynamesWithColl.hbm.xml" 
13[[#6be05da0]]
"Extendshbm.packageentitynames.hbm.xml" 
14[[#6be05da0]]
"Extendshbm.packageentitynamesWithColl.hbm.xml" 
15[[#6be05da0]]
"Extendshbm.unionsubclass.hbm.xml" 
21[[#6be042e0]]
"EntityHasName" 
22[[#6be042e0]]
"EntityHasName" 
23[[#6be042e0]]
"EntityHasName" 
24[[#6be042e0]]
"EntityHasName" 
25[[#6be042e0]]
typeof(Person).FullName 
31[[#6be05c80]]
"EntityCompany" 
32[[#6be05c80]]
"EntityCompany" 
33[[#6be05c80]]
"EntityCompany" 
34[[#6be05c80]]
"EntityCompany" 
35[[#6be05c80]]
typeof(Customer).FullName