CloneSet1391


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

                        list1 = s.CreateQuery("from foo in class NHibernate.DomainModel.Foo where foo.class='B'").List();
                        Assert.AreEqual(2, list1.Count, "class special property");


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

                        list1 =
                                s.CreateQuery("from foo in class NHibernate.DomainModel.Foo where foo.class=NHibernate.DomainModel.Bar").List();
                        Assert.AreEqual(2, list1.Count, "class special property");


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

                        list1 = s.CreateQuery("from foo in class NHibernate.DomainModel.Foo where foo.String='foo bar'").List();
                        Assert.AreEqual(1, list1.Count, "find count");


Clone AbstractionParameter Count: 3Parameter Bindings

list1 = s.CreateQuery( [[#variable2da58f40]]).List();
Assert.AreEqual( [[#variable2c79a740]], list1.Count, [[#variable2da595e0]]);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#2da58f40]]
"from foo in class NHibernate.DomainModel.Foo where foo.String='foo bar'" 
12[[#2da58f40]]
"from foo in class NHibernate.DomainModel.Foo where foo.class=NHibernate.DomainModel.Bar" 
13[[#2da58f40]]
"from foo in class NHibernate.DomainModel.Foo where foo.class='B'" 
21[[#2c79a740]]
1 
22[[#2c79a740]]
2 
23[[#2c79a740]]
2 
31[[#2da595e0]]
"find count" 
32[[#2da595e0]]
"class special property" 
33[[#2da595e0]]
"class special property"