CloneSet1884


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
11320.970non_pp_embedded_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
111843
src/NHibernate.Test/Legacy/FooBarTest.cs
27616
src/NHibernate.Test/Legacy/FumTest.cs
37179
src/NHibernate.Test/Legacy/MultiTableTest.cs
Clone Instance
1
Line Count
11
Source Line
843
Source File
src/NHibernate.Test/Legacy/FooBarTest.cs

                                if (IsClassicParser)
                                {
                                        s.CreateQuery(
                                                        "from Baz baz where 'b' in baz.CollectionComponent.Nested.Foos.elements and 1.0 in baz.CollectionComponent.Nested.Floats.elements").
                                                         List();
                                }
                                else
                                {
                                        s.CreateQuery(
                                                "from Baz baz where 'b' in elements(baz.CollectionComponent.Nested.Foos) and 1.0 in elements(baz.CollectionComponent.Nested.Floats)").
                                                 List();
                                }


Clone Instance
2
Line Count
7
Source Line
616
Source File
src/NHibernate.Test/Legacy/FumTest.cs

                if (IsClassicParser)
                {
                    s.CreateQuery("select fum1.Friends.elements from fum1 in class Fum").List();
                }
                else
                {
                    s.CreateQuery("select elements(fum1.Friends) from fum1 in class Fum").List();
                }


Clone Instance
3
Line Count
7
Source Line
179
Source File
src/NHibernate.Test/Legacy/MultiTableTest.cs

            if (IsClassicParser)
            {
                s.CreateQuery("select ls.Bag.elements, ls.Set.elements from ls in class Lower").List();
            }
            else
            {
                s.CreateQuery("select elements(ls.Bag), elements(ls.Set) from ls in class Lower").List();
            }


Clone AbstractionParameter Count: 2Parameter Bindings

if (IsClassicParser)
{
   s.CreateQuery( [[#variable57f49ac0]]).List();
}
else
{
   s.CreateQuery( [[#variable5f77a200]]).List();
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#57f49ac0]]
"from Baz baz where 'b' in baz.CollectionComponent.Nested.Foos.elements and 1.0 in baz.CollectionComponent.Nested.Floats.elements" 
12[[#57f49ac0]]
"select fum1.Friends.elements from fum1 in class Fum" 
13[[#57f49ac0]]
"select ls.Bag.elements, ls.Set.elements from ls in class Lower" 
21[[#5f77a200]]
"from Baz baz where 'b' in elements(baz.CollectionComponent.Nested.Foos) and 1.0 in elements(baz.CollectionComponent.Nested.Floats)" 
22[[#5f77a200]]
"select elements(fum1.Friends) from fum1 in class Fum" 
23[[#5f77a200]]
"select elements(ls.Bag), elements(ls.Set) from ls in class Lower"