Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 3 | 3 | 0.957 | non_pp_embedded_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 519 | src/NHibernate.Test/Legacy/FooBarTest.cs |
2 | 4 | 526 | src/NHibernate.Test/Legacy/FooBarTest.cs |
3 | 3 | 369 | src/NHibernate.Test/Legacy/FumTest.cs |
| ||||
list = s.CreateQuery("from foo in class NHibernate.DomainModel.Foo where ? = some foo.Component.ImportantDates.elements"). SetDateTime(0, DateTime.Today).List(); |
| ||||
list = s.CreateQuery( "from foo in class NHibernate.DomainModel.Foo where ? = some elements(foo.Component.ImportantDates)"). SetDateTime(0, DateTime.Today).List(); |
| ||||
// make sure we can return all of the objects by searching by the date id vList = s.CreateQuery("from fum in class NHibernate.DomainModel.Fum where fum.Id.Date <= ? and not fum.FumString='FRIEND'"). SetDateTime(0, DateTime.Now).List(); |
| |||
[[#variable27044020]]= s.CreateQuery( [[#variable2703bfa0]]).SetDateTime(0, DateTime. [[#variable2703bf00]]).List(); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#27044020]] | // make sure we can return all of the objects by searching by the date id vList |
1 | 2 | [[#27044020]] | list |
1 | 3 | [[#27044020]] | list |
2 | 1 | [[#2703bfa0]] | "from fum in class NHibernate.DomainModel.Fum where fum.Id.Date <= ? and not fum.FumString='FRIEND'" |
2 | 2 | [[#2703bfa0]] | "from foo in class NHibernate.DomainModel.Foo where ? = some foo.Component.ImportantDates.elements" |
2 | 3 | [[#2703bfa0]] | "from foo in class NHibernate.DomainModel.Foo where ? = some elements(foo.Component.ImportantDates)" |
3 | 1 | [[#2703bf00]] | Now |
3 | 2 | [[#2703bf00]] | Today |
3 | 3 | [[#2703bf00]] | Today |