CloneSet805


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3201.000statement_list[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
13111
src/NHibernate/Engine/Query/ParameterParser.cs
23123
src/NHibernate/Engine/Query/ParameterParser.cs
Clone Instance
1
Line Count
3
Source Line
111
Source File
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));


Clone Instance
2
Line Count
3
Source Line
123
Source File
src/NHibernate/Engine/Query/ParameterParser.cs

                                                        // 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));


Clone AbstractionParameter Count: 0Parameter Bindings

// 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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None