Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 6 | 2 | 0.991 | statement_list[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 95 | src/NHibernate.Test/IdGen/Enhanced/SequenceStyleConfigUnitFixture.cs |
2 | 5 | 109 | src/NHibernate.Test/IdGen/Enhanced/SequenceStyleConfigUnitFixture.cs |
3 | 4 | 128 | src/NHibernate.Test/IdGen/Enhanced/SequenceStyleConfigUnitFixture.cs |
4 | 4 | 136 | src/NHibernate.Test/IdGen/Enhanced/SequenceStyleConfigUnitFixture.cs |
5 | 4 | 151 | src/NHibernate.Test/IdGen/Enhanced/SequenceStyleConfigUnitFixture.cs |
6 | 4 | 165 | 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)); |
| ||||
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)); |
| ||||
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)); |
| ||||
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)); |
| ||||
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)); |
| ||||
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)); |
| |||
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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#6b97d920]] | TableStructure |
1 | 2 | [[#6b97d920]] | TableStructure |
1 | 3 | [[#6b97d920]] | SequenceStructure |
1 | 4 | [[#6b97d920]] | SequenceStructure |
1 | 5 | [[#6b97d920]] | SequenceStructure |
1 | 6 | [[#6b97d920]] | TableStructure |
2 | 1 | [[#702302a0]] | NoopOptimizer |
2 | 2 | [[#702302a0]] | PooledOptimizer |
2 | 3 | [[#702302a0]] | PooledOptimizer |
2 | 4 | [[#702302a0]] | HiLoOptimizer |
2 | 5 | [[#702302a0]] | NoopOptimizer |
2 | 6 | [[#702302a0]] | NoopOptimizer |