Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 3 | 2 | 0.971 | class_member_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 65 | src/NHibernate/Driver/OdbcDriver.cs |
2 | 8 | 153 | src/NHibernate/Driver/SqlClientDriver.cs |
3 | 9 | 90 | src/NHibernate/Driver/SqlServerCeDriver.cs |
| ||||
public override IDbCommand GenerateCommand(CommandType type, SqlString sqlString, SqlType[] parameterTypes) { IDbCommand command = base.GenerateCommand(type, sqlString, parameterTypes); if (IsPrepareSqlEnabled) { SetParameterSizes(command.Parameters, parameterTypes); } return command; } |
| ||||
public override IDbCommand GenerateCommand(CommandType type, SqlString sqlString, SqlType[] parameterTypes) { IDbCommand command = base.GenerateCommand(type, sqlString, parameterTypes); if (IsPrepareSqlEnabled) { SetParameterSizes(command.Parameters, parameterTypes); } return command; } |
| ||||
public override IDbCommand GenerateCommand(CommandType type, SqlString sqlString, SqlType[] parameterTypes) { IDbCommand command = base.GenerateCommand(type, sqlString, parameterTypes); if (prepareSql) { SqlClientDriver.SetParameterSizes(command.Parameters, parameterTypes); } return command; } |
| |||
public override IDbCommand GenerateCommand(CommandType type, SqlString sqlString, SqlType[] parameterTypes) { IDbCommand command = base.GenerateCommand(type, sqlString, parameterTypes); if ( [[#variable5e484f20]]) { [[#variable5e484ec0]](command.Parameters, parameterTypes); } return command; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5e484f20]] | IsPrepareSqlEnabled |
1 | 2 | [[#5e484f20]] | prepareSql |
1 | 3 | [[#5e484f20]] | IsPrepareSqlEnabled |
2 | 1 | [[#5e484ec0]] | SetParameterSizes |
2 | 2 | [[#5e484ec0]] | SqlClientDriver.SetParameterSizes |
2 | 3 | [[#5e484ec0]] | SetParameterSizes |