Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
17 | 3 | 2 | 0.983 | compilation_unit |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 17 | 1 | src/NHibernate/AdoNet/NonBatchingBatcherFactory.cs |
2 | 12 | 1 | src/NHibernate/AdoNet/OracleDataClientBatchingBatcherFactory.cs |
3 | 12 | 1 | src/NHibernate/AdoNet/SqlClientBatchingBatcherFactory.cs |
| ||||
using NHibernate.Engine; namespace NHibernate.AdoNet { /// <summary> /// A BatcherFactory implementation which constructs Batcher instances /// that do not perform batch operations. /// </summary> public class NonBatchingBatcherFactory : IBatcherFactory { public virtual IBatcher CreateBatcher(ConnectionManager connectionManager, IInterceptor interceptor) { return new NonBatchingBatcher(connectionManager, interceptor); } } } |
| ||||
using NHibernate.Engine; namespace NHibernate.AdoNet { public class OracleDataClientBatchingBatcherFactory : IBatcherFactory { public virtual IBatcher CreateBatcher(ConnectionManager connectionManager, IInterceptor interceptor) { return new OracleDataClientBatchingBatcher(connectionManager, interceptor); } } } |
| ||||
using NHibernate.Engine; namespace NHibernate.AdoNet { public class SqlClientBatchingBatcherFactory : IBatcherFactory { public virtual IBatcher CreateBatcher(ConnectionManager connectionManager, IInterceptor interceptor) { return new SqlClientBatchingBatcher(connectionManager, interceptor); } } } |
| |||
using NHibernate.Engine; namespace NHibernate.AdoNet { /// <summary> /// A BatcherFactory implementation which constructs Batcher instances /// that do not perform batch operations. /// </summary> public class [[#variable583e8a20]]: IBatcherFactory { public virtual IBatcher CreateBatcher(ConnectionManager connectionManager, IInterceptor interceptor) { return new [[#variable5844c020]](connectionManager, interceptor); } } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#583e8a20]] | NonBatchingBatcherFactory |
1 | 2 | [[#583e8a20]] | OracleDataClientBatchingBatcherFactory |
1 | 3 | [[#583e8a20]] | SqlClientBatchingBatcherFactory |
2 | 1 | [[#5844c020]] | NonBatchingBatcher |
2 | 2 | [[#5844c020]] | OracleDataClientBatchingBatcher |
2 | 3 | [[#5844c020]] | SqlClientBatchingBatcher |