Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 3 | 2 | 0.963 | statement_list[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 41 | src/NHibernate.Test/NHSpecificTest/NH1734/Fixture.cs |
2 | 5 | 45 | src/NHibernate.Test/NHSpecificTest/NH1734/Fixture.cs |
3 | 5 | 50 | src/NHibernate.Test/NHSpecificTest/NH1734/Fixture.cs |
| ||||
Assert.That(result, Is.InstanceOf( typeof( double))); Assert.That(result, Is.EqualTo(43.2 * 3 * 2)); query = session.CreateQuery("select sum(Price*Amount) from Product"); result = query.UniqueResult(); |
| ||||
Assert.That(result, Is.InstanceOf( typeof(double))); Assert.That(result, Is.EqualTo(43.2 * 3 * 2)); query = session.CreateQuery("select sum(Price) from Product"); result = query.UniqueResult(); |
| ||||
Assert.That(result, Is.InstanceOf( typeof(double))); Assert.That(result, Is.EqualTo(43.2 * 2)); query = session.CreateQuery("select sum(Amount) from Product"); result = query.UniqueResult(); |
| |||
Assert.That(result, Is.InstanceOf( typeof(double))); Assert.That(result, Is.EqualTo( [[#variable2d060860]]* 2)); query = session.CreateQuery( [[#variable2d061660]]); result = query.UniqueResult(); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#2d060860]] | 43.2 |
1 | 2 | [[#2d060860]] | 43.2 * 3 |
1 | 3 | [[#2d060860]] | 43.2 * 3 |
2 | 1 | [[#2d061660]] | "select sum(Amount) from Product" |
2 | 2 | [[#2d061660]] | "select sum(Price) from Product" |
2 | 3 | [[#2d061660]] | "select sum(Price*Amount) from Product" |