| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 1 | 2 | 2 | 0.970 | class_member_declaration |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 1 | 251 | src/NHibernate/Hql/Classic/SelectParser.cs |
| 2 | 1 | 252 | src/NHibernate/Hql/Classic/SelectParser.cs |
| ||||
#region RegExs
private static readonly Regex pathExpressionRegEx = new Regex(@"\A[A-Za-z_][A-Za-z_0-9]*[.][A-Za-z_][A-Za-z_0-9]*\z", RegexOptions.Singleline | RegexOptions.Compiled);
|
| ||||
private static readonly Regex stringCostantRegEx = new Regex(@"\A'('{2})*([^'\r\n]*)('{2})*([^'\r\n]*)('{2})*'\z", RegexOptions.Singleline | RegexOptions.Compiled);
|
| |||
#region RegExs private static readonly Regex [[#variable6f5c5de0]]= new Regex( [[#variable6f5c5d60]], RegexOptions.Singleline | RegexOptions.Compiled); |
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#6f5c5de0]] | pathExpressionRegEx |
| 1 | 2 | [[#6f5c5de0]] | stringCostantRegEx |
| 2 | 1 | [[#6f5c5d60]] | @"\A[A-Za-z_][A-Za-z_0-9]*[.][A-Za-z_][A-Za-z_0-9]*\z" |
| 2 | 2 | [[#6f5c5d60]] | @"\A'('{2})*([^'\r\n]*)('{2})*([^'\r\n]*)('{2})*'\z" |