CloneSet113


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4620.991statement_list[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1595
src/NHibernate.Test/IdGen/Enhanced/SequenceStyleConfigUnitFixture.cs
25109
src/NHibernate.Test/IdGen/Enhanced/SequenceStyleConfigUnitFixture.cs
34128
src/NHibernate.Test/IdGen/Enhanced/SequenceStyleConfigUnitFixture.cs
44136
src/NHibernate.Test/IdGen/Enhanced/SequenceStyleConfigUnitFixture.cs
54151
src/NHibernate.Test/IdGen/Enhanced/SequenceStyleConfigUnitFixture.cs
64165
src/NHibernate.Test/IdGen/Enhanced/SequenceStyleConfigUnitFixture.cs
Clone Instance
1
Line Count
5
Source Line
95
Source File
src/NHibernate.Test/IdGen/Enhanced/SequenceStyleConfigUnitFixture.cs

                        generator.Configure(NHibernateUtil.Int64, props, dialect);

                        Assert.That(generator.DatabaseStructure, Is.AssignableFrom( typeof( SequenceStructure)));
                        Assert.That(generator.Optimizer, Is.AssignableFrom( typeof( OptimizerFactory.NoopOptimizer)));
                        Assert.That(generator.DatabaseStructure.Name, Is.EqualTo(SequenceStyleGenerator.DefaultSequenceName));


Clone Instance
2
Line Count
5
Source Line
109
Source File
src/NHibernate.Test/IdGen/Enhanced/SequenceStyleConfigUnitFixture.cs

                        generator.Configure(NHibernateUtil.Int64, props, dialect);

                        Assert.That(generator.DatabaseStructure, Is.AssignableFrom( typeof( TableStructure)));
                        Assert.That(generator.Optimizer, Is.AssignableFrom( typeof( OptimizerFactory.NoopOptimizer)));
                        Assert.That(generator.DatabaseStructure.Name, Is.EqualTo(SequenceStyleGenerator.DefaultSequenceName));


Clone Instance
3
Line Count
4
Source Line
128
Source File
src/NHibernate.Test/IdGen/Enhanced/SequenceStyleConfigUnitFixture.cs

                        generator.Configure(NHibernateUtil.Int64, props, dialect);
                        Assert.That(generator.DatabaseStructure, Is.AssignableFrom( typeof( SequenceStructure)));
                        Assert.That(generator.Optimizer, Is.AssignableFrom( typeof( OptimizerFactory.HiLoOptimizer)));
                        Assert.That(generator.DatabaseStructure.Name, Is.EqualTo(SequenceStyleGenerator.DefaultSequenceName));


Clone Instance
4
Line Count
4
Source Line
136
Source File
src/NHibernate.Test/IdGen/Enhanced/SequenceStyleConfigUnitFixture.cs

                        generator.Configure(NHibernateUtil.Int64, props, dialect);
                        Assert.That(generator.DatabaseStructure, Is.AssignableFrom( typeof( SequenceStructure)));
                        Assert.That(generator.Optimizer, Is.AssignableFrom( typeof( OptimizerFactory.PooledOptimizer)));
                        Assert.That(generator.DatabaseStructure.Name, Is.EqualTo(SequenceStyleGenerator.DefaultSequenceName));


Clone Instance
5
Line Count
4
Source Line
151
Source File
src/NHibernate.Test/IdGen/Enhanced/SequenceStyleConfigUnitFixture.cs

                        generator.Configure(NHibernateUtil.Int64, props, dialect);
                        Assert.That(generator.DatabaseStructure, Is.AssignableFrom( typeof( TableStructure)));
                        Assert.That(generator.Optimizer, Is.AssignableFrom( typeof( OptimizerFactory.PooledOptimizer)));
                        Assert.That(generator.DatabaseStructure.Name, Is.EqualTo(SequenceStyleGenerator.DefaultSequenceName));


Clone Instance
6
Line Count
4
Source Line
165
Source File
src/NHibernate.Test/IdGen/Enhanced/SequenceStyleConfigUnitFixture.cs

                        generator.Configure(NHibernateUtil.Int64, props, dialect);
                        Assert.That(generator.DatabaseStructure, Is.AssignableFrom( typeof( TableStructure)));
                        Assert.That(generator.Optimizer, Is.AssignableFrom( typeof( OptimizerFactory.NoopOptimizer)));
                        Assert.That(generator.DatabaseStructure.Name, Is.EqualTo(SequenceStyleGenerator.DefaultSequenceName));


Clone AbstractionParameter Count: 2Parameter Bindings

generator.Configure(NHibernateUtil.Int64, props, dialect);
Assert.That(generator.DatabaseStructure, Is.AssignableFrom( typeof( [[#variable6b97d920]])));
Assert.That(generator.Optimizer, Is.AssignableFrom( typeof(OptimizerFactory. [[#variable702302a0]])));
Assert.That(generator.DatabaseStructure.Name, Is.EqualTo(SequenceStyleGenerator.DefaultSequenceName));
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#6b97d920]]
TableStructure 
12[[#6b97d920]]
TableStructure 
13[[#6b97d920]]
SequenceStructure 
14[[#6b97d920]]
SequenceStructure 
15[[#6b97d920]]
SequenceStructure 
16[[#6b97d920]]
TableStructure 
21[[#702302a0]]
NoopOptimizer 
22[[#702302a0]]
PooledOptimizer 
23[[#702302a0]]
PooledOptimizer 
24[[#702302a0]]
HiLoOptimizer 
25[[#702302a0]]
NoopOptimizer 
26[[#702302a0]]
NoopOptimizer