CloneSet407


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
11620.981non_pp_embedded_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1114998
src/NHibernate.Test/Legacy/FooBarTest.cs
2115022
src/NHibernate.Test/Legacy/FooBarTest.cs
3115037
src/NHibernate.Test/Legacy/FooBarTest.cs
4115056
src/NHibernate.Test/Legacy/FooBarTest.cs
5115080
src/NHibernate.Test/Legacy/FooBarTest.cs
6115095
src/NHibernate.Test/Legacy/FooBarTest.cs
Clone Instance
1
Line Count
11
Source Line
4998
Source File
src/NHibernate.Test/Legacy/FooBarTest.cs

                        if (IsClassicParser)
                        {
                                e =
                                        s.CreateQuery("select baz.StringArray.elements from baz in class NHibernate.DomainModel.Baz").Enumerable().
                                                GetEnumerator();
                        }
                        else
                        {
                                e =
                                        s.CreateQuery("select elements(baz.StringArray) from baz in class NHibernate.DomainModel.Baz").Enumerable().
                                                GetEnumerator();
                        }


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

                        if (IsClassicParser)
                        {
                                e = s.CreateQuery("select distinct baz.StringArray.elements from baz in class NHibernate.DomainModel.Baz").
                                                  Enumerable().
                                                  GetEnumerator();
                        }
                        else
                        {
                                e =
                                        s.CreateQuery("select distinct elements(baz.StringArray) from baz in class NHibernate.DomainModel.Baz").Enumerable().
                                                 GetEnumerator();
                        }


Clone Instance
3
Line Count
11
Source Line
5037
Source File
src/NHibernate.Test/Legacy/FooBarTest.cs

                        if (IsClassicParser)
                        {
                                e = s.CreateQuery("select baz.StringArray.elements from baz in class NHibernate.DomainModel.Baz").
                                                  Enumerable().
                                                  GetEnumerator();
                        }
                        else
                        {
                                e =
                                        s.CreateQuery("select elements(baz.StringArray) from baz in class NHibernate.DomainModel.Baz").Enumerable().
                                                GetEnumerator();
                        }


Clone Instance
4
Line Count
11
Source Line
5056
Source File
src/NHibernate.Test/Legacy/FooBarTest.cs

                        if (IsClassicParser)
                        {
                                e = s.CreateQuery("select foo from baz in class NHibernate.DomainModel.Baz, foo in baz.FooArray.elements").
                                                  Enumerable().
                                                  GetEnumerator();
                        }
                        else
                        {
                                e =
                                        s.CreateQuery("select foo from baz in class NHibernate.DomainModel.Baz, foo in elements(baz.FooArray)").Enumerable().
                                                 GetEnumerator();
                        }


Clone Instance
5
Line Count
11
Source Line
5080
Source File
src/NHibernate.Test/Legacy/FooBarTest.cs

                        if (IsClassicParser)
                        {
                                e = s.CreateQuery("select foo from baz in class NHibernate.DomainModel.Baz, foo in baz.FooArray.elements").
                                                  Enumerable().
                                                  GetEnumerator();
                        }
                        else
                        {
                                e =
                                        s.CreateQuery("select foo from baz in class NHibernate.DomainModel.Baz, foo in elements(baz.FooArray)").Enumerable().
                                                 GetEnumerator();
                        }


Clone Instance
6
Line Count
11
Source Line
5095
Source File
src/NHibernate.Test/Legacy/FooBarTest.cs

                        if (IsClassicParser)
                        {
                                e = s.CreateQuery("select baz.FooArray.elements from baz in class NHibernate.DomainModel.Baz").
                                                  Enumerable().
                                                  GetEnumerator();
                        }
                        else
                        {
                                e =
                                        s.CreateQuery("select elements(baz.FooArray) from baz in class NHibernate.DomainModel.Baz").Enumerable().
                                                GetEnumerator();
                        }


Clone AbstractionParameter Count: 2Parameter Bindings

if (IsClassicParser)
{
   e = s.CreateQuery( [[#variable56f877c0]]).Enumerable().GetEnumerator();
}
else
{
   e = s.CreateQuery( [[#variable56f87720]]).Enumerable().GetEnumerator();
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#56f877c0]]
"select baz.StringArray.elements from baz in class NHibernate.DomainModel.Baz" 
12[[#56f877c0]]
"select foo from baz in class NHibernate.DomainModel.Baz, foo in baz.FooArray.elements" 
13[[#56f877c0]]
"select baz.FooArray.elements from baz in class NHibernate.DomainModel.Baz" 
14[[#56f877c0]]
"select distinct baz.StringArray.elements from baz in class NHibernate.DomainModel.Baz" 
15[[#56f877c0]]
"select foo from baz in class NHibernate.DomainModel.Baz, foo in baz.FooArray.elements" 
16[[#56f877c0]]
"select baz.StringArray.elements from baz in class NHibernate.DomainModel.Baz" 
21[[#56f87720]]
"select elements(baz.StringArray) from baz in class NHibernate.DomainModel.Baz" 
22[[#56f87720]]
"select foo from baz in class NHibernate.DomainModel.Baz, foo in elements(baz.FooArray)" 
23[[#56f87720]]
"select elements(baz.FooArray) from baz in class NHibernate.DomainModel.Baz" 
24[[#56f87720]]
"select distinct elements(baz.StringArray) from baz in class NHibernate.DomainModel.Baz" 
25[[#56f87720]]
"select foo from baz in class NHibernate.DomainModel.Baz, foo in elements(baz.FooArray)" 
26[[#56f87720]]
"select elements(baz.StringArray) from baz in class NHibernate.DomainModel.Baz"