Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 6 | 6 | 0.967 | statement_list[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 103 | src/NHibernate.Test/QueryTest/DetachedQueryFixture.cs |
2 | 3 | 106 | src/NHibernate.Test/QueryTest/DetachedQueryFixture.cs |
3 | 3 | 112 | src/NHibernate.Test/QueryTest/DetachedQueryFixture.cs |
4 | 3 | 115 | src/NHibernate.Test/QueryTest/DetachedQueryFixture.cs |
5 | 3 | 231 | src/NHibernate.Test/QueryTest/DetachedQueryFixture.cs |
6 | 3 | 234 | src/NHibernate.Test/QueryTest/DetachedQueryFixture.cs |
| ||||
Assert.IsTrue(tdq.PosParams[2].Type.Equals(NHibernateUtil.Binary)); Assert.IsTrue(tdq.PosParams[3].Type.Equals(NHibernateUtil.Boolean)); Assert.IsTrue(tdq.PosParams[4].Type.Equals(NHibernateUtil.Byte)); |
| ||||
Assert.IsTrue(tdq.PosParams[5].Type.Equals(NHibernateUtil.Character)); Assert.IsTrue(tdq.PosParams[6].Type.Equals(NHibernateUtil.DateTime)); Assert.IsTrue(tdq.PosParams[7].Type.Equals(NHibernateUtil.Decimal)); |
| ||||
Assert.IsTrue(tdq.PosParams[11].Type.Equals(NHibernateUtil.Int16)); Assert.IsTrue(tdq.PosParams[12].Type.Equals(NHibernateUtil.Int32)); Assert.IsTrue(tdq.PosParams[13].Type.Equals(NHibernateUtil.Int64)); |
| ||||
Assert.IsTrue(tdq.PosParams[14].Type.Equals(NHibernateUtil.Single)); Assert.IsTrue(tdq.PosParams[15].Type.Equals(NHibernateUtil.String)); Assert.IsTrue(tdq.PosParams[16].Type.Equals(NHibernateUtil.Time)); |
| ||||
// merge/override positional parameters Assert.IsTrue(tdq.PosParams[1].Type.Equals(NHibernateUtil.Int64)); Assert.IsTrue(tdq.PosParams[2].Type.Equals(NHibernateUtil.Binary)); Assert.IsTrue(tdq.PosParams[3].Type.Equals(NHibernateUtil.Boolean)); |
| ||||
Assert.IsTrue(tdq.PosParams[4].Type.Equals(NHibernateUtil.Byte)); Assert.IsTrue(tdq.PosParams[5].Type.Equals(NHibernateUtil.Character)); Assert.IsTrue(tdq.PosParams[6].Type.Equals(NHibernateUtil.DateTime)); |
| |||
// merge/override positional parameters Assert.IsTrue(tdq.PosParams[ [[#variable55417640]]].Type.Equals(NHibernateUtil. [[#variable554174a0]])); Assert.IsTrue(tdq.PosParams[ [[#variable554173e0]]].Type.Equals(NHibernateUtil. [[#variable55417180]])); Assert.IsTrue(tdq.PosParams[ [[#variable55417340]]].Type.Equals(NHibernateUtil. [[#variable554170a0]])); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#55417640]] | 1 |
1 | 2 | [[#55417640]] | 2 |
1 | 3 | [[#55417640]] | 5 |
1 | 4 | [[#55417640]] | 11 |
1 | 5 | [[#55417640]] | 14 |
1 | 6 | [[#55417640]] | 4 |
2 | 1 | [[#554174a0]] | Int64 |
2 | 2 | [[#554174a0]] | Binary |
2 | 3 | [[#554174a0]] | Character |
2 | 4 | [[#554174a0]] | Int16 |
2 | 5 | [[#554174a0]] | Single |
2 | 6 | [[#554174a0]] | Byte |
3 | 1 | [[#554173e0]] | 2 |
3 | 2 | [[#554173e0]] | 3 |
3 | 3 | [[#554173e0]] | 6 |
3 | 4 | [[#554173e0]] | 12 |
3 | 5 | [[#554173e0]] | 15 |
3 | 6 | [[#554173e0]] | 5 |
4 | 1 | [[#55417180]] | Binary |
4 | 2 | [[#55417180]] | Boolean |
4 | 3 | [[#55417180]] | DateTime |
4 | 4 | [[#55417180]] | Int32 |
4 | 5 | [[#55417180]] | String |
4 | 6 | [[#55417180]] | Character |
5 | 1 | [[#55417340]] | 3 |
5 | 2 | [[#55417340]] | 4 |
5 | 3 | [[#55417340]] | 7 |
5 | 4 | [[#55417340]] | 13 |
5 | 5 | [[#55417340]] | 16 |
5 | 6 | [[#55417340]] | 6 |
6 | 1 | [[#554170a0]] | Boolean |
6 | 2 | [[#554170a0]] | Byte |
6 | 3 | [[#554170a0]] | Decimal |
6 | 4 | [[#554170a0]] | Int64 |
6 | 5 | [[#554170a0]] | Time |
6 | 6 | [[#554170a0]] | DateTime |