Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 2 | 0 | 1.000 | statement_list[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 111 | src/NHibernate/Engine/Query/ParameterParser.cs |
2 | 3 | 123 | src/NHibernate/Engine/Query/ParameterParser.cs |
| ||||
// named parameter int right = StringHelper.FirstIndexOfChar(sqlString, ParserHelper.HqlSeparators, indx + 1); int chopLocation = right < 0 ? sqlString.Length: right; string param = sqlString.Substring(indx + 1, chopLocation - (indx + 1)); |
| ||||
// a peek ahead showed this as an ejb3-positional parameter int right = StringHelper.FirstIndexOfChar(sqlString, ParserHelper.HqlSeparators, indx + 1); int chopLocation = right < 0 ? sqlString.Length: right; string param = sqlString.Substring(indx + 1, chopLocation - (indx + 1)); |
| |||
// a peek ahead showed this as an ejb3-positional parameter // named parameter int right = StringHelper.FirstIndexOfChar(sqlString, ParserHelper.HqlSeparators, indx + 1); int chopLocation = right < 0 ? sqlString.Length: right; string param = sqlString.Substring(indx + 1, chopLocation - (indx + 1)); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |