CloneSet594


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
13240.959statement_list[6]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11280
src/NHibernate/SqlCommand/Template.cs
213212
src/NHibernate/SqlCommand/Template.cs
Clone Instance
1
Line Count
12
Source Line
80
Source File
src/NHibernate/SqlCommand/Template.cs

                        //TODO: make this a bit nicer
                        string symbols = new StringBuilder().
                                 Append  ("=><!+-*/()',|&`").
                                 Append  (ParserHelper.Whitespace).
                                 Append  (dialect.OpenQuote).
                                 Append  (dialect.CloseQuote).
                                 ToString();
                        StringTokenizer tokens = new StringTokenizer(sqlWhereString, symbols, true);

                        StringBuilder result = new StringBuilder();
                        bool quoted = false;
                        bool quotedIdentifier = false;
                        bool beforeTable = false;


Clone Instance
2
Line Count
13
Source Line
212
Source File
src/NHibernate/SqlCommand/Template.cs

                        //TODO: make this a bit nicer
                        string symbols = new StringBuilder().
                                 Append  ("=><!+-*/()',|&`").
                                 Append  (ParserHelper.Whitespace).
                                 Append  (dialect.OpenQuote).
                                 Append  (dialect.CloseQuote).
                                 ToString();
                        StringTokenizer tokens = new StringTokenizer(sqlOrderByString, symbols, true);

                        StringBuilder result = new StringBuilder();
                        bool quoted = false;
                        bool quotedIdentifier = false;

                        IEnumerator<string> tokensEnum = tokens.GetEnumerator();


Clone AbstractionParameter Count: 4Parameter Bindings

//TODO: make this a bit nicer
string symbols = new StringBuilder().Append("=><!+-*/()',|&`").Append(ParserHelper.Whitespace).Append(dialect.OpenQuote).Append(dialect.CloseQuote).ToString();
StringTokenizer tokens = new StringTokenizer( [[#variable6fccd9c0]], symbols, true);
StringBuilder result = new StringBuilder();
bool quoted = false;
bool quotedIdentifier = false;
 [[#variable51389d20]] [[#variable51389cc0]]= [[#variable51389c40]];
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#6fccd9c0]]
sqlOrderByString 
12[[#6fccd9c0]]
sqlWhereString 
21[[#51389d20]]
IEnumerator<string> 
22[[#51389d20]]
bool 
31[[#51389cc0]]
tokensEnum 
32[[#51389cc0]]
beforeTable 
41[[#51389c40]]
tokens.GetEnumerator() 
42[[#51389c40]]
false