Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 1 | 0.980 | statement_list[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 414 | src/NHibernate/Hql/Ast/ANTLR/Loader/QueryLoader.cs |
2 | 4 | 1304 | src/NHibernate/Hql/Classic/QueryTranslator.cs |
| ||||
IDbCommand cmd = PrepareQueryCommand(queryParameters, false, session); // This IDataReader is disposed of in EnumerableImpl.Dispose IDataReader rs = GetResultSet(cmd, queryParameters.HasAutoDiscoverScalarTypes, false, queryParameters.RowSelection, session); |
| ||||
IDbCommand cmd = PrepareQueryCommand(parameters, false, session); // This IDataReader is disposed of in EnumerableImpl.Dispose IDataReader rs = GetResultSet(cmd, parameters.HasAutoDiscoverScalarTypes, false, parameters.RowSelection, session); |
| |||
IDbCommand cmd = PrepareQueryCommand( [[#variable2b55a320]], false, session); // This IDataReader is disposed of in EnumerableImpl.Dispose IDataReader rs = GetResultSet(cmd, [[#variable2b55a320]].HasAutoDiscoverScalarTypes, false, [[#variable2b55a320]].RowSelection, session); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#2b55a320]] | queryParameters |
1 | 2 | [[#2b55a320]] | parameters |