CloneSet1780


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3330.957non_pp_embedded_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
13519
src/NHibernate.Test/Legacy/FooBarTest.cs
24526
src/NHibernate.Test/Legacy/FooBarTest.cs
33369
src/NHibernate.Test/Legacy/FumTest.cs
Clone Instance
1
Line Count
3
Source Line
519
Source File
src/NHibernate.Test/Legacy/FooBarTest.cs

                                                list =
                                                                s.CreateQuery("from foo in class NHibernate.DomainModel.Foo where ? = some foo.Component.ImportantDates.elements").
                                                                                 SetDateTime(0, DateTime.Today).List();


Clone Instance
2
Line Count
4
Source Line
526
Source File
src/NHibernate.Test/Legacy/FooBarTest.cs

                                                list =
                                                        s.CreateQuery(
                                                                "from foo in class NHibernate.DomainModel.Foo where ? = some elements(foo.Component.ImportantDates)").
                                                                SetDateTime(0, DateTime.Today).List();


Clone Instance
3
Line Count
3
Source Line
369
Source File
src/NHibernate.Test/Legacy/FumTest.cs

                        // 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();


Clone AbstractionParameter Count: 3Parameter Bindings

 [[#variable27044020]]= s.CreateQuery( [[#variable2703bfa0]]).SetDateTime(0, DateTime. [[#variable2703bf00]]).List();
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#27044020]]
// make sure we can return all of the objects by searching by the date id
vList 
12[[#27044020]]
list 
13[[#27044020]]
list 
21[[#2703bfa0]]
"from fum in class NHibernate.DomainModel.Fum where fum.Id.Date <= ? and not fum.FumString='FRIEND'" 
22[[#2703bfa0]]
"from foo in class NHibernate.DomainModel.Foo where ? = some foo.Component.ImportantDates.elements" 
23[[#2703bfa0]]
"from foo in class NHibernate.DomainModel.Foo where ? = some elements(foo.Component.ImportantDates)" 
31[[#2703bf00]]
Now 
32[[#2703bf00]]
Today 
33[[#2703bf00]]
Today