CloneSet1560


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
2220.983statement_list[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12580
src/NHibernate.Test/Legacy/FooBarTest.cs
22583
src/NHibernate.Test/Legacy/FooBarTest.cs
Clone Instance
1
Line Count
2
Source Line
580
Source File
src/NHibernate.Test/Legacy/FooBarTest.cs

                        list = s.CreateQuery("from foo in class Foo where foo.id=?").SetString(0, foo.Key).List();
                        Assert.AreEqual(1, list.Count, "id query");


Clone Instance
2
Line Count
2
Source Line
583
Source File
src/NHibernate.Test/Legacy/FooBarTest.cs

                        list = s.CreateQuery("from foo in class Foo where foo.Key=?").SetString(0, foo.Key).List();
                        Assert.AreEqual(1, list.Count, "named id query");


Clone AbstractionParameter Count: 2Parameter Bindings

list = s.CreateQuery( [[#variable2bcfe500]]).SetString(0, foo.Key).List();
Assert.AreEqual(1, list.Count, [[#variable2bcfe520]]);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#2bcfe500]]
"from foo in class Foo where foo.Key=?" 
12[[#2bcfe500]]
"from foo in class Foo where foo.id=?" 
21[[#2bcfe520]]
"named id query" 
22[[#2bcfe520]]
"id query"