Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 2 | 0.977 | non_pp_embedded_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 445 | src/NHibernate.Test/Legacy/SQLFunctionsTest.cs |
2 | 5 | 452 | src/NHibernate.Test/Legacy/SQLFunctionsTest.cs |
| ||||
if ((Dialect is SybaseDialect)) { Assert.AreEqual(1, s.CreateQuery("from s in class Simple where lower( concat(s.Name, ' foo') ) = 'simple 1 foo'").List(). Count); } |
| ||||
if ((Dialect is MsSql2000Dialect)) { Assert.AreEqual(1, s.CreateQuery("from s in class Simple where lower( s.Name + ' foo' ) = 'simple 1 foo'").List(). Count); } |
| |||
if ((Dialect is [[#variable6c791240]])) { Assert.AreEqual(1, s.CreateQuery( [[#variable6c7911c0]]).List().Count); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#6c791240]] | MsSql2000Dialect |
1 | 2 | [[#6c791240]] | SybaseDialect |
2 | 1 | [[#6c7911c0]] | "from s in class Simple where lower( s.Name + ' foo' ) = 'simple 1 foo'" |
2 | 2 | [[#6c7911c0]] | "from s in class Simple where lower( concat(s.Name, ' foo') ) = 'simple 1 foo'" |