Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 6 | 3 | 0.952 | statement_list[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 72 | src/NHibernate.Test/QueryTest/AggregateReturnTypesFixture.cs |
2 | 2 | 82 | src/NHibernate.Test/QueryTest/AggregateReturnTypesFixture.cs |
3 | 3 | 84 | src/NHibernate.Test/QueryTest/AggregateReturnTypesFixture.cs |
4 | 3 | 87 | src/NHibernate.Test/QueryTest/AggregateReturnTypesFixture.cs |
5 | 3 | 102 | src/NHibernate.Test/QueryTest/AggregateReturnTypesFixture.cs |
6 | 3 | 117 | src/NHibernate.Test/QueryTest/AggregateReturnTypesFixture.cs |
| ||||
CheckType("sum(a.ADouble)", typeof(Double)); CheckType("sum(a.ADecimal)", typeof(Decimal)); |
| ||||
CheckType("avg(a.AShort)", typeof(Double)); CheckType("avg(a.AnInt)", typeof(Double)); |
| ||||
CheckType("avg(a.ALong)", typeof(Double)); CheckType("avg(a.AFloat)", typeof(Double)); |
| ||||
CheckType("avg(a.ADouble)", typeof(Double)); CheckType("avg(a.ADecimal)", typeof(Double)); |
| ||||
CheckType("min(a.ADouble)", typeof(Double)); CheckType("min(a.ADecimal)", typeof(Decimal)); |
| ||||
CheckType("max(a.ADouble)", typeof(Double)); CheckType("max(a.ADecimal)", typeof(Decimal)); |
| |||
CheckType( [[#variable2ac71040]], typeof(Double)); CheckType( [[#variable2d290960]], typeof( [[#variable2bf82f00]])); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#2ac71040]] | "max(a.ADouble)" |
1 | 2 | [[#2ac71040]] | "min(a.ADouble)" |
1 | 3 | [[#2ac71040]] | "avg(a.ADouble)" |
1 | 4 | [[#2ac71040]] | "avg(a.ALong)" |
1 | 5 | [[#2ac71040]] | "avg(a.AShort)" |
1 | 6 | [[#2ac71040]] | "sum(a.ADouble)" |
2 | 1 | [[#2d290960]] | "max(a.ADecimal)" |
2 | 2 | [[#2d290960]] | "min(a.ADecimal)" |
2 | 3 | [[#2d290960]] | "avg(a.ADecimal)" |
2 | 4 | [[#2d290960]] | "avg(a.AFloat)" |
2 | 5 | [[#2d290960]] | "avg(a.AnInt)" |
2 | 6 | [[#2d290960]] | "sum(a.ADecimal)" |
3 | 1 | [[#2bf82f00]] | Decimal |
3 | 2 | [[#2bf82f00]] | Decimal |
3 | 3 | [[#2bf82f00]] | Double |
3 | 4 | [[#2bf82f00]] | Double |
3 | 5 | [[#2bf82f00]] | Double |
3 | 6 | [[#2bf82f00]] | Decimal |