Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 4 | 4 | 0.953 | statement_list[5] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 19 | src/NHibernate.Test/SqlCommandTest/SqlInsertBuilderFixture.cs |
2 | 7 | 47 | src/NHibernate.Test/SqlCommandTest/SqlInsertBuilderFixture.cs |
3 | 7 | 65 | src/NHibernate.Test/SqlCommandTest/SqlInsertBuilderFixture.cs |
4 | 7 | 19 | src/NHibernate.Test/SqlCommandTest/SqlSelectBuilderFixture.cs |
| ||||
Configuration cfg = new Configuration(); ISessionFactory factory = cfg.BuildSessionFactory(); ISessionFactoryImplementor factoryImpl = (ISessionFactoryImplementor) factory; SqlInsertBuilder insert = new SqlInsertBuilder(factoryImpl); insert.SetTableName("test_insert_builder"); |
| ||||
Configuration cfg = new Configuration(); ISessionFactory factory = cfg.BuildSessionFactory(); ISessionFactoryImplementor factoryImpl = (ISessionFactoryImplementor)factory; SqlInsertBuilder insert = new SqlInsertBuilder(factoryImpl); insert.SetTableName("test_insert_builder"); |
| ||||
Configuration cfg = new Configuration(); ISessionFactory factory = cfg.BuildSessionFactory(); ISessionFactoryImplementor factoryImpl = (ISessionFactoryImplementor)factory; SqlInsertBuilder insert = new SqlInsertBuilder(factoryImpl); insert.SetTableName("test_insert_builder"); |
| ||||
Configuration cfg = new Configuration(); ISessionFactory factory = cfg.BuildSessionFactory(); ISessionFactoryImplementor factoryImpl = (ISessionFactoryImplementor) factory; SqlSelectBuilder select = new SqlSelectBuilder(factoryImpl); select.SetSelectClause("column1, column2"); |
| |||
Configuration cfg = new Configuration(); ISessionFactory factory = cfg.BuildSessionFactory(); ISessionFactoryImplementor factoryImpl = (ISessionFactoryImplementor)factory; [[#variable5e48fa20]] [[#variable545f4f00]]= new [[#variable5e48fa20]](factoryImpl); [[#variable545f4f00]]. [[#variable54a7cee0]]( [[#variable545f4e40]]); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5e48fa20]] | SqlInsertBuilder |
1 | 2 | [[#5e48fa20]] | SqlSelectBuilder |
1 | 3 | [[#5e48fa20]] | SqlInsertBuilder |
1 | 4 | [[#5e48fa20]] | SqlInsertBuilder |
2 | 1 | [[#545f4f00]] | insert |
2 | 2 | [[#545f4f00]] | select |
2 | 3 | [[#545f4f00]] | insert |
2 | 4 | [[#545f4f00]] | insert |
3 | 1 | [[#54a7cee0]] | SetTableName |
3 | 2 | [[#54a7cee0]] | SetSelectClause |
3 | 3 | [[#54a7cee0]] | SetTableName |
3 | 4 | [[#54a7cee0]] | SetTableName |
4 | 1 | [[#545f4e40]] | "test_insert_builder" |
4 | 2 | [[#545f4e40]] | "column1, column2" |
4 | 3 | [[#545f4e40]] | "test_insert_builder" |
4 | 4 | [[#545f4e40]] | "test_insert_builder" |