CloneSet1324


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3430.955statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
13130
src/NHibernate.Test/Legacy/SQLLoaderTest.cs
23264
src/NHibernate.Test/Legacy/SQLLoaderTest.cs
33270
src/NHibernate.Test/Legacy/SQLLoaderTest.cs
44278
src/NHibernate.Test/Legacy/SQLLoaderTest.cs
Clone Instance
1
Line Count
3
Source Line
130
Source File
src/NHibernate.Test/Legacy/SQLLoaderTest.cs

                        IQuery query =
                                session.CreateSQLQuery("select {category.*} from Category {category} where {category}.Name = :Name").
                                 AddEntity("category", typeof(Category));


Clone Instance
2
Line Count
3
Source Line
264
Source File
src/NHibernate.Test/Legacy/SQLLoaderTest.cs

                        IQuery basicParam =
                                s.CreateSQLQuery("select {category.*} from Category {category} where {category}.Name = 'Best'").
                                 AddEntity("category", typeof(Category));


Clone Instance
3
Line Count
3
Source Line
270
Source File
src/NHibernate.Test/Legacy/SQLLoaderTest.cs

                        IQuery unnamedParam =
                                s.CreateSQLQuery("select {category.*} from Category {category} where {category}.Name = ? or {category}.Name = ?").
                                 AddEntity("category", typeof(Category));


Clone Instance
4
Line Count
4
Source Line
278
Source File
src/NHibernate.Test/Legacy/SQLLoaderTest.cs

                        IQuery namedParam =
                                s.CreateSQLQuery(
                                        "select {category.*} from Category {category} where ({category}.Name=:firstCat or {category}.Name=:secondCat)").
                                         AddEntity("category", typeof(Category));


Clone AbstractionParameter Count: 3Parameter Bindings

IQuery [[#variable4e367340]]= [[#variable4e3672e0]].CreateSQLQuery( [[#variable4e367280]]).AddEntity("category", typeof(Category));
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#4e367340]]
query 
12[[#4e367340]]
basicParam 
13[[#4e367340]]
unnamedParam 
14[[#4e367340]]
namedParam 
21[[#4e3672e0]]
session 
22[[#4e3672e0]]
s 
23[[#4e3672e0]]
s 
24[[#4e3672e0]]
s 
31[[#4e367280]]
"select {category.*} from Category {category} where {category}.Name = :Name" 
32[[#4e367280]]
"select {category.*} from Category {category} where {category}.Name = 'Best'" 
33[[#4e367280]]
"select {category.*} from Category {category} where {category}.Name = ? or {category}.Name = ?" 
34[[#4e367280]]
"select {category.*} from Category {category} where ({category}.Name=:firstCat or {category}.Name=:secondCat)"