CloneSet521


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6210.996statement_list[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16114
src/NHibernate.Test/NHSpecificTest/NH1359/Fixture.cs
26183
src/NHibernate.Test/NHSpecificTest/NH1359/Fixture.cs
Clone Instance
1
Line Count
6
Source Line
114
Source File
src/NHibernate.Test/NHSpecificTest/NH1359/Fixture.cs

                                DetachedCriteria dc = DetachedCriteria.For<Person> ().Add(Restrictions.Eq("Name", "Joe")).
                                         SetProjection(Projections.Max("Name"));
                                ICriteria c = s.CreateCriteria( typeof(Person)).
                                         SetProjection(Projections.ProjectionList().
                                                                         Add(Projections.SubQuery(dc), "Name")).
                                                                         Add(Restrictions.Eq("Name", "Joe"));


Clone Instance
2
Line Count
6
Source Line
183
Source File
src/NHibernate.Test/NHSpecificTest/NH1359/Fixture.cs

                                DetachedCriteria dc = DetachedCriteria.For<Person> ().Add(Restrictions.Eq("Name", "Joe")).
                                         SetProjection(Projections.Max("Name"));
                                ICriteria c = s.CreateCriteria( typeof(Person)).
                                         SetProjection(Projections.ProjectionList().
                                                                         Add(Projections.SubQuery(dc), "NameSubquery")).
                                                                         Add(Restrictions.Eq("Name", "Joe"));


Clone AbstractionParameter Count: 1Parameter Bindings

DetachedCriteria dc = DetachedCriteria.For<Person> ().Add(Restrictions.Eq("Name", "Joe")).SetProjection(Projections.Max("Name"));
ICriteria c = s.CreateCriteria( typeof(Person)).SetProjection(Projections.ProjectionList().Add(Projections.SubQuery(dc), [[#variable6ad208c0]])).Add(Restrictions.Eq("Name", "Joe"));
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#6ad208c0]]
"NameSubquery" 
12[[#6ad208c0]]
"Name"