Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 1 | 0.996 | statement_list[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 130 | src/NHibernate.Test/NHSpecificTest/NH1394/Fixture.cs |
2 | 6 | 149 | src/NHibernate.Test/NHSpecificTest/NH1394/Fixture.cs |
| ||||
ISQLFunction arithmaticAddition = new VarArgsSQLFunction("(", "+", ")"); ICriteria c = s.CreateCriteria( typeof( Person)).AddOrder( Order.Asc(Projections.SqlFunction(arithmaticAddition, NHibernateUtil.GuessType( typeof( double)), Projections.Property("IQ"), Projections.Property("ShoeSize")))); IList<Person> list = c.List<Person> (); |
| ||||
ISQLFunction arithmaticAddition = new VarArgsSQLFunction("(", "+", ")"); ICriteria c = s.CreateCriteria( typeof( Person)).AddOrder( Order.Desc(Projections.SqlFunction(arithmaticAddition, NHibernateUtil.GuessType( typeof( double)), Projections.Property("IQ"), Projections.Property("ShoeSize")))); IList<Person> list = c.List<Person> (); |
| |||
ISQLFunction arithmaticAddition = new VarArgsSQLFunction("(", "+", ")"); ICriteria c = s.CreateCriteria( typeof(Person)).AddOrder(Order. [[#variable2dba5220]](Projections.SqlFunction(arithmaticAddition, NHibernateUtil.GuessType( typeof(double)), Projections.Property("IQ"), Projections.Property("ShoeSize")))); IList<Person> list = c.List<Person> (); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#2dba5220]] | Asc |
1 | 2 | [[#2dba5220]] | Desc |