CloneSet1392


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

                        list2 =
                                s.CreateQuery(
                                        "select bar from bar in class NHibernate.DomainModel.Bar, foo in class NHibernate.DomainModel.Foo where bar.String = foo.String and not bar=foo").
                                         List();

                        Assert.AreEqual(2, list1.Count, "class special property");


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

                        list2 = s.CreateQuery("select foo from foo in class NHibernate.DomainModel.Foo").List();
                        Assert.AreEqual(5, list2.Count, "find count");


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

                        list2 = s.CreateQuery("from foo in class NHibernate.DomainModel.Foo").List();
                        Assert.AreEqual(0, list2.Count, "find deleted");


Clone AbstractionParameter Count: 4Parameter Bindings

list2 = s.CreateQuery( [[#variable45ef6760]]).List();
Assert.AreEqual( [[#variable45ef6780]], [[#variable2da59d40]].Count, [[#variable45ef66c0]]);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#45ef6760]]
"from foo in class NHibernate.DomainModel.Foo" 
12[[#45ef6760]]
"select foo from foo in class NHibernate.DomainModel.Foo" 
13[[#45ef6760]]
"select bar from bar in class NHibernate.DomainModel.Bar, foo in class NHibernate.DomainModel.Foo where bar.String = foo.String and not bar=foo" 
21[[#45ef6780]]
0 
22[[#45ef6780]]
5 
23[[#45ef6780]]
2 
31[[#2da59d40]]
list2 
32[[#2da59d40]]
list2 
33[[#2da59d40]]
list1 
41[[#45ef66c0]]
"find deleted" 
42[[#45ef66c0]]
"find count" 
43[[#45ef66c0]]
"class special property"