CloneSet612


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

                                ICriteria c = s.CreateCriteria( typeof(Person)).
                                         SetProjection(Projections.ProjectionList().
                                                                         Add(Projections.SubQuery(dc), "Weight").
                                                                         Add(Projections.Property("Name"), "Name")).
                                         Add  (Restrictions.Eq("Name", "Joe"));
                                c.SetResultTransformer(Transformers.AliasToBean( typeof(HeaviestPet)));


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

                                ICriteria c = s.CreateCriteria( typeof(Person)).
                                         SetProjection(Projections.ProjectionList().
                                                                         Add(Projections.SubQuery(dc), "Weight").
                                                                         Add(Projections.Property("Name"), "Name")).
                                         Add  (Restrictions.Eq("Name", "Joe"));

                                c.SetResultTransformer(Transformers.AliasToBean( typeof(HeaviestPet)));


Clone AbstractionParameter Count: 0Parameter Bindings

ICriteria c = s.CreateCriteria( typeof(Person)).SetProjection(Projections.ProjectionList().Add(Projections.SubQuery(dc), "Weight").Add(Projections.Property("Name"), "Name")).Add(Restrictions.Eq("Name", "Joe"));
c.SetResultTransformer(Transformers.AliasToBean( typeof(HeaviestPet)));
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None