CloneSet608


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
16201.000statement_list[6]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11638
src/NHibernate.Test/Tools/hbm2ddl/SchemaMetadataUpdaterTest/SchemaMetadataUpdaterFixture.cs
216102
src/NHibernate.Test/Tools/hbm2ddl/SchemaMetadataUpdaterTest/SchemaMetadataUpdaterFixture.cs
Clone Instance
1
Line Count
16
Source Line
38
Source File
src/NHibernate.Test/Tools/hbm2ddl/SchemaMetadataUpdaterTest/SchemaMetadataUpdaterFixture.cs

                        var reservedDb = new HashedSet<string> ();
                        var configuration = TestConfigurationHelper.GetDefaultConfiguration();
                        var dialect = Dialect.Dialect.GetDialect(configuration.Properties);
                        var connectionHelper = new ManagedProviderConnectionHelper(configuration.Properties);
                        connectionHelper.Prepare();
                        try
                        {
                                var metaData = dialect.GetDataBaseSchema(connectionHelper.Connection);
                                foreach ( var rw in metaData.GetReservedWords())
                                {
                                        reservedDb.Add(rw.ToLowerInvariant());
                                }
                        }
                        finally
                        {
                                connectionHelper.Release();
                        }


Clone Instance
2
Line Count
16
Source Line
102
Source File
src/NHibernate.Test/Tools/hbm2ddl/SchemaMetadataUpdaterTest/SchemaMetadataUpdaterFixture.cs

                        var reservedDb = new HashedSet<string> ();
                        var configuration = TestConfigurationHelper.GetDefaultConfiguration();
                        var dialect = Dialect.Dialect.GetDialect(configuration.Properties);
                        var connectionHelper = new ManagedProviderConnectionHelper(configuration.Properties);
                        connectionHelper.Prepare();
                        try
                        {
                                var metaData = dialect.GetDataBaseSchema(connectionHelper.Connection);
                                foreach ( var rw in metaData.GetReservedWords())
                                {
                                        reservedDb.Add(rw.ToLowerInvariant());
                                }
                        }
                        finally
                        {
                                connectionHelper.Release();
                        }


Clone AbstractionParameter Count: 0Parameter Bindings

var reservedDb = new HashedSet<string> ();
var configuration = TestConfigurationHelper.GetDefaultConfiguration();
var dialect = Dialect.Dialect.GetDialect(configuration.Properties);
var connectionHelper = new ManagedProviderConnectionHelper(configuration.Properties);
connectionHelper.Prepare();
try
{
   var metaData = dialect.GetDataBaseSchema(connectionHelper.Connection);
   foreach ( var rw in metaData.GetReservedWords())
   {
      reservedDb.Add(rw.ToLowerInvariant());
   }
}
finally
{
   connectionHelper.Release();
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None