Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 3 | 3 | 0.966 | statement_list[5] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 20 | src/NHibernate.Test/SqlCommandTest/SqlDeleteBuilderFixture.cs |
2 | 7 | 20 | src/NHibernate.Test/SqlCommandTest/SqlSimpleSelectBuilderFixture.cs |
3 | 7 | 21 | src/NHibernate.Test/SqlCommandTest/SqlUpdateBuilderFixture.cs |
| ||||
Configuration cfg = new Configuration(); ISessionFactory factory = cfg.BuildSessionFactory(); ISessionFactoryImplementor factoryImpl = (ISessionFactoryImplementor) factory; SqlDeleteBuilder delete = new SqlDeleteBuilder(factoryImpl.Dialect, factoryImpl); delete.SetTableName("test_delete_builder"); |
| ||||
Configuration cfg = new Configuration(); ISessionFactory factory = cfg.BuildSessionFactory(); ISessionFactoryImplementor factoryImpl = (ISessionFactoryImplementor) factory; SqlSimpleSelectBuilder select = new SqlSimpleSelectBuilder(factoryImpl.Dialect, factoryImpl); select.SetTableName("test_simple_select_builder"); |
| ||||
Configuration cfg = new Configuration(); ISessionFactory factory = cfg.BuildSessionFactory(); ISessionFactoryImplementor factoryImpl = (ISessionFactoryImplementor) factory; SqlUpdateBuilder update = new SqlUpdateBuilder(factoryImpl.Dialect, factoryImpl); update.SetTableName("test_update_builder"); |
| |||
Configuration cfg = new Configuration(); ISessionFactory factory = cfg.BuildSessionFactory(); ISessionFactoryImplementor factoryImpl = (ISessionFactoryImplementor)factory; [[#variable5f74a620]] [[#variable53ac64e0]]= new [[#variable5f74a620]](factoryImpl.Dialect, factoryImpl); [[#variable53ac64e0]].SetTableName( [[#variable517cc860]]); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5f74a620]] | SqlUpdateBuilder |
1 | 2 | [[#5f74a620]] | SqlSimpleSelectBuilder |
1 | 3 | [[#5f74a620]] | SqlDeleteBuilder |
2 | 1 | [[#53ac64e0]] | update |
2 | 2 | [[#53ac64e0]] | select |
2 | 3 | [[#53ac64e0]] | delete |
3 | 1 | [[#517cc860]] | "test_update_builder" |
3 | 2 | [[#517cc860]] | "test_simple_select_builder" |
3 | 3 | [[#517cc860]] | "test_delete_builder" |