| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 4 | 2 | 1 | 0.989 | statement_list[3] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 6 | 544 | src/NHibernate.Test/Legacy/SQLFunctionsTest.cs |
| 2 | 4 | 553 | src/NHibernate.Test/Legacy/SQLFunctionsTest.cs |
| ||||
q.SetFirstResult(0);
Assert.IsTrue(q.Enumerable().GetEnumerator().MoveNext());
q =
s.CreateQuery(
"from s in class Simple where s.Name = :foo and upper(s.Name) = :bar or s.Count=:count or s.Count=:count + 1");
|
| ||||
q.SetFirstResult(0);
Assert.IsTrue(q.Enumerable().GetEnumerator().MoveNext());
q = s.CreateQuery("select s.id from s in class Simple");
|
| |||
q.SetFirstResult(0); Assert.IsTrue(q.Enumerable().GetEnumerator().MoveNext()); q = s.CreateQuery( [[#variable6529a9c0]]); |
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#6529a9c0]] | "select s.id from s in class Simple" |
| 1 | 2 | [[#6529a9c0]] | "from s in class Simple where s.Name = :foo and upper(s.Name) = :bar or s.Count=:count or s.Count=:count + 1" |