Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 2 | 1 | 0.984 | non_pp_embedded_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 56 | src/NHibernate/Hql/Ast/ANTLR/Util/SyntheticAndFactory.cs |
2 | 3 | 155 | src/NHibernate/Hql/Ast/ANTLR/Util/SyntheticAndFactory.cs |
| ||||
// Forcefully remove leading ands from where fragments; the grammar will // handle adding them if (whereFragment.StartsWithCaseInsensitive("and")) { whereFragment = whereFragment.Substring(4); } |
| ||||
if (whereFragment.StartsWith("and")) { whereFragment = whereFragment.Substring(4); } |
| |||
// Forcefully remove leading ands from where fragments; the grammar will // handle adding them if (whereFragment. [[#variable47065c60]]("and")) { whereFragment = whereFragment.Substring(4); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#47065c60]] | StartsWith |
1 | 2 | [[#47065c60]] | StartsWithCaseInsensitive |