Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
13 | 2 | 4 | 0.959 | statement_list[6] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 12 | 80 | src/NHibernate/SqlCommand/Template.cs |
2 | 13 | 212 | 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; |
| ||||
//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(); |
| |||
//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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#6fccd9c0]] | sqlOrderByString |
1 | 2 | [[#6fccd9c0]] | sqlWhereString |
2 | 1 | [[#51389d20]] | IEnumerator<string> |
2 | 2 | [[#51389d20]] | bool |
3 | 1 | [[#51389cc0]] | tokensEnum |
3 | 2 | [[#51389cc0]] | beforeTable |
4 | 1 | [[#51389c40]] | tokens.GetEnumerator() |
4 | 2 | [[#51389c40]] | false |