Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 3 | 3 | 0.959 | non_pp_embedded_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 594 | src/NHibernate.Test/Legacy/FooBarTest.cs |
2 | 3 | 607 | src/NHibernate.Test/Legacy/FooBarTest.cs |
3 | 4 | 613 | src/NHibernate.Test/Legacy/FooBarTest.cs |
| ||||
list = s.CreateQuery("select foo.TheFoo from foo in class Foo where foo.TheFoo.id=?"). SetString(0, foo.TheFoo.Key).List(); |
| ||||
enumerable = s.CreateQuery( "select foo.Component.Name, foo.Component.ImportantDates.elements from foo in class Foo where foo.TheFoo.id=?"). SetString(0, foo.TheFoo.Key).Enumerable(); |
| ||||
enumerable = s.CreateQuery( "select foo.Component.Name, elements(foo.Component.ImportantDates) from foo in class Foo where foo.TheFoo.id=?"). SetString(0, foo.TheFoo.Key).Enumerable(); |
| |||
[[#variable2857bec0]]= s.CreateQuery( [[#variable28988aa0]]).SetString(0, foo.TheFoo.Key). [[#variable289895a0]](); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#2857bec0]] | list |
1 | 2 | [[#2857bec0]] | enumerable |
1 | 3 | [[#2857bec0]] | enumerable |
2 | 1 | [[#28988aa0]] | "select foo.TheFoo from foo in class Foo where foo.TheFoo.id=?" |
2 | 2 | [[#28988aa0]] | "select foo.Component.Name, foo.Component.ImportantDates.elements from foo in class Foo where foo.TheFoo.id=?" |
2 | 3 | [[#28988aa0]] | "select foo.Component.Name, elements(foo.Component.ImportantDates) from foo in class Foo where foo.TheFoo.id=?" |
3 | 1 | [[#289895a0]] | List |
3 | 2 | [[#289895a0]] | Enumerable |
3 | 3 | [[#289895a0]] | Enumerable |