Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
11 | 6 | 2 | 0.981 | non_pp_embedded_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 11 | 4998 | src/NHibernate.Test/Legacy/FooBarTest.cs |
2 | 11 | 5022 | src/NHibernate.Test/Legacy/FooBarTest.cs |
3 | 11 | 5037 | src/NHibernate.Test/Legacy/FooBarTest.cs |
4 | 11 | 5056 | src/NHibernate.Test/Legacy/FooBarTest.cs |
5 | 11 | 5080 | src/NHibernate.Test/Legacy/FooBarTest.cs |
6 | 11 | 5095 | 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(); } |
| ||||
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(); } |
| ||||
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(); } |
| ||||
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(); } |
| ||||
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(); } |
| ||||
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(); } |
| |||
if (IsClassicParser) { e = s.CreateQuery( [[#variable56f877c0]]).Enumerable().GetEnumerator(); } else { e = s.CreateQuery( [[#variable56f87720]]).Enumerable().GetEnumerator(); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#56f877c0]] | "select baz.StringArray.elements from baz in class NHibernate.DomainModel.Baz" |
1 | 2 | [[#56f877c0]] | "select foo from baz in class NHibernate.DomainModel.Baz, foo in baz.FooArray.elements" |
1 | 3 | [[#56f877c0]] | "select baz.FooArray.elements from baz in class NHibernate.DomainModel.Baz" |
1 | 4 | [[#56f877c0]] | "select distinct baz.StringArray.elements from baz in class NHibernate.DomainModel.Baz" |
1 | 5 | [[#56f877c0]] | "select foo from baz in class NHibernate.DomainModel.Baz, foo in baz.FooArray.elements" |
1 | 6 | [[#56f877c0]] | "select baz.StringArray.elements from baz in class NHibernate.DomainModel.Baz" |
2 | 1 | [[#56f87720]] | "select elements(baz.StringArray) from baz in class NHibernate.DomainModel.Baz" |
2 | 2 | [[#56f87720]] | "select foo from baz in class NHibernate.DomainModel.Baz, foo in elements(baz.FooArray)" |
2 | 3 | [[#56f87720]] | "select elements(baz.FooArray) from baz in class NHibernate.DomainModel.Baz" |
2 | 4 | [[#56f87720]] | "select distinct elements(baz.StringArray) from baz in class NHibernate.DomainModel.Baz" |
2 | 5 | [[#56f87720]] | "select foo from baz in class NHibernate.DomainModel.Baz, foo in elements(baz.FooArray)" |
2 | 6 | [[#56f87720]] | "select elements(baz.StringArray) from baz in class NHibernate.DomainModel.Baz" |