CloneSet2191


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5220.977non_pp_embedded_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15445
src/NHibernate.Test/Legacy/SQLFunctionsTest.cs
25452
src/NHibernate.Test/Legacy/SQLFunctionsTest.cs
Clone Instance
1
Line Count
5
Source Line
445
Source File
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);
                                }


Clone Instance
2
Line Count
5
Source Line
452
Source File
src/NHibernate.Test/Legacy/SQLFunctionsTest.cs

                                if ((Dialect is MsSql2000Dialect))
                                {
                                        Assert.AreEqual(1,
                                                        s.CreateQuery("from s in class Simple where lower( s.Name + ' foo' ) = 'simple 1 foo'").List().
                                                                Count);
                                }


Clone AbstractionParameter Count: 2Parameter Bindings

if ((Dialect is [[#variable6c791240]]))
{
   Assert.AreEqual(1, s.CreateQuery( [[#variable6c7911c0]]).List().Count);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#6c791240]]
MsSql2000Dialect 
12[[#6c791240]]
SybaseDialect 
21[[#6c7911c0]]
"from s in class Simple where lower( s.Name + ' foo' ) = 'simple 1 foo'" 
22[[#6c7911c0]]
"from s in class Simple where lower( concat(s.Name, ' foo') ) = 'simple 1 foo'"