Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
11 | 3 | 2 | 0.970 | non_pp_embedded_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 11 | 843 | src/NHibernate.Test/Legacy/FooBarTest.cs |
2 | 7 | 616 | src/NHibernate.Test/Legacy/FumTest.cs |
3 | 7 | 179 | src/NHibernate.Test/Legacy/MultiTableTest.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(); } |
| ||||
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(); } |
| ||||
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(); } |
| |||
if (IsClassicParser) { s.CreateQuery( [[#variable57f49ac0]]).List(); } else { s.CreateQuery( [[#variable5f77a200]]).List(); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#57f49ac0]] | "from Baz baz where 'b' in baz.CollectionComponent.Nested.Foos.elements and 1.0 in baz.CollectionComponent.Nested.Floats.elements" |
1 | 2 | [[#57f49ac0]] | "select fum1.Friends.elements from fum1 in class Fum" |
1 | 3 | [[#57f49ac0]] | "select ls.Bag.elements, ls.Set.elements from ls in class Lower" |
2 | 1 | [[#5f77a200]] | "from Baz baz where 'b' in elements(baz.CollectionComponent.Nested.Foos) and 1.0 in elements(baz.CollectionComponent.Nested.Floats)" |
2 | 2 | [[#5f77a200]] | "select elements(fum1.Friends) from fum1 in class Fum" |
2 | 3 | [[#5f77a200]] | "select elements(ls.Bag), elements(ls.Set) from ls in class Lower" |