Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 4 | 3 | 0.965 | non_pp_embedded_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 326 | src/NHibernate/Impl/MultiCriteriaImpl.cs |
2 | 7 | 349 | src/NHibernate/Impl/MultiCriteriaImpl.cs |
3 | 7 | 678 | src/NHibernate/Impl/MultiQueryImpl.cs |
4 | 7 | 717 | src/NHibernate/Impl/MultiQueryImpl.cs |
| ||||
for (int i = 0; i < loaders.Count; i++) { QueryParameters parameter = parameters[i]; RowSelection selection = parameter.RowSelection; if (Loader.Loader.UseLimit(selection, dialect) && !dialect.BindLimitParametersFirst) { colIndex += Loader.Loader.BindLimitParameters(command, colIndex, selection, session); } } |
| ||||
for (int i = 0; i < loaders.Count; i++) { QueryParameters parameter = parameters[i]; RowSelection selection = parameter.RowSelection; if (Loader.Loader.UseLimit(selection, dialect) && dialect.BindLimitParametersFirst) { colIndex += Loader.Loader.BindLimitParameters(command, colIndex, selection, session); } } |
| ||||
for (int i = 0; i < queries.Count; i++) { QueryParameters parameter = parameters[i]; RowSelection selection = parameter.RowSelection; if (Loader.Loader.UseLimit(selection, dialect) && !dialect.BindLimitParametersFirst) { colIndex += Loader.Loader.BindLimitParameters(command, colIndex, selection, session); } } |
| ||||
for (int i = 0; i < queries.Count; i++) { QueryParameters parameter = Parameters[i]; RowSelection selection = parameter.RowSelection; if (Loader.Loader.UseLimit(selection, dialect) && dialect.BindLimitParametersFirst) { colIndex += Loader.Loader.BindLimitParameters(command, colIndex, selection, session); } } |
| |||
for (int i = 0; i < [[#variable54a6b7e0]].Count; i++) { QueryParameters parameter = [[#variable5539c880]][i]; RowSelection selection = parameter.RowSelection; if (Loader.Loader.UseLimit(selection, dialect) && [[#variable5539c840]]) { colIndex += Loader.Loader.BindLimitParameters(command, colIndex, selection, session); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#54a6b7e0]] | loaders |
1 | 2 | [[#54a6b7e0]] | loaders |
1 | 3 | [[#54a6b7e0]] | queries |
1 | 4 | [[#54a6b7e0]] | queries |
2 | 1 | [[#5539c880]] | parameters |
2 | 2 | [[#5539c880]] | parameters |
2 | 3 | [[#5539c880]] | Parameters |
2 | 4 | [[#5539c880]] | parameters |
3 | 1 | [[#5539c840]] | dialect.BindLimitParametersFirst |
3 | 2 | [[#5539c840]] | !dialect.BindLimitParametersFirst |
3 | 3 | [[#5539c840]] | dialect.BindLimitParametersFirst |
3 | 4 | [[#5539c840]] | !dialect.BindLimitParametersFirst |