Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 10 | 4 | 0.967 | statement_list[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 139 | src/NHibernate.Test/QueryTest/DetachedQueryFixture.cs |
2 | 2 | 141 | src/NHibernate.Test/QueryTest/DetachedQueryFixture.cs |
3 | 2 | 143 | src/NHibernate.Test/QueryTest/DetachedQueryFixture.cs |
4 | 2 | 145 | src/NHibernate.Test/QueryTest/DetachedQueryFixture.cs |
5 | 2 | 149 | src/NHibernate.Test/QueryTest/DetachedQueryFixture.cs |
6 | 2 | 151 | src/NHibernate.Test/QueryTest/DetachedQueryFixture.cs |
7 | 2 | 153 | src/NHibernate.Test/QueryTest/DetachedQueryFixture.cs |
8 | 2 | 155 | src/NHibernate.Test/QueryTest/DetachedQueryFixture.cs |
9 | 2 | 240 | src/NHibernate.Test/QueryTest/DetachedQueryFixture.cs |
10 | 2 | 243 | src/NHibernate.Test/QueryTest/DetachedQueryFixture.cs |
| ||||
Assert.IsTrue(tdq.NamedParams["1"].Type.Equals(NHibernateUtil.AnsiString)); Assert.IsTrue(tdq.NamedParams["2"].Type.Equals(NHibernateUtil.Binary)); |
| ||||
Assert.IsTrue(tdq.NamedParams["3"].Type.Equals(NHibernateUtil.Boolean)); Assert.IsTrue(tdq.NamedParams["4"].Type.Equals(NHibernateUtil.Byte)); |
| ||||
Assert.IsTrue(tdq.NamedParams["5"].Type.Equals(NHibernateUtil.Character)); Assert.IsTrue(tdq.NamedParams["6"].Type.Equals(NHibernateUtil.DateTime)); |
| ||||
Assert.IsTrue(tdq.NamedParams["7"].Type.Equals(NHibernateUtil.Decimal)); Assert.IsTrue(tdq.NamedParams["8"].Type.Equals(NHibernateUtil.Double)); |
| ||||
Assert.IsTrue(tdq.NamedParams["11"].Type.Equals(NHibernateUtil.Int16)); Assert.IsTrue(tdq.NamedParams["12"].Type.Equals(NHibernateUtil.Int32)); |
| ||||
Assert.IsTrue(tdq.NamedParams["13"].Type.Equals(NHibernateUtil.Int64)); Assert.IsTrue(tdq.NamedParams["14"].Type.Equals(NHibernateUtil.Single)); |
| ||||
Assert.IsTrue(tdq.NamedParams["15"].Type.Equals(NHibernateUtil.String)); Assert.IsTrue(tdq.NamedParams["16"].Type.Equals(NHibernateUtil.Time)); |
| ||||
Assert.IsTrue(tdq.NamedParams["17"].Type.Equals(NHibernateUtil.Timestamp)); Assert.IsTrue(tdq.NamedParams["18"].Type.Equals(NHibernateUtil.Guid)); |
| ||||
// merge/override named parameters Assert.IsTrue(tdq.NamedParams["5"].Type.Equals(NHibernateUtil.Character)); Assert.IsTrue(tdq.NamedParams["6"].Type.Equals(NHibernateUtil.DateTime)); |
| ||||
Assert.IsTrue(tdq.NamedParams["7"].Type.Equals(NHibernateUtil.Decimal)); Assert.IsTrue(tdq.NamedParams["8"].Type.Equals(NHibernateUtil.Double)); |
| |||
// merge/override named parameters Assert.IsTrue(tdq.NamedParams[ [[#variable700bef60]]].Type.Equals(NHibernateUtil. [[#variable6e0e2780]])); Assert.IsTrue(tdq.NamedParams[ [[#variable6e0e26a0]]].Type.Equals(NHibernateUtil. [[#variable700bee80]])); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#700bef60]] | "5" |
1 | 2 | [[#700bef60]] | "7" |
1 | 3 | [[#700bef60]] | "1" |
1 | 4 | [[#700bef60]] | "3" |
1 | 5 | [[#700bef60]] | "11" |
1 | 6 | [[#700bef60]] | "13" |
1 | 7 | [[#700bef60]] | "15" |
1 | 8 | [[#700bef60]] | "17" |
1 | 9 | [[#700bef60]] | "5" |
1 | 10 | [[#700bef60]] | "7" |
2 | 1 | [[#6e0e2780]] | Character |
2 | 2 | [[#6e0e2780]] | Decimal |
2 | 3 | [[#6e0e2780]] | AnsiString |
2 | 4 | [[#6e0e2780]] | Boolean |
2 | 5 | [[#6e0e2780]] | Int16 |
2 | 6 | [[#6e0e2780]] | Int64 |
2 | 7 | [[#6e0e2780]] | String |
2 | 8 | [[#6e0e2780]] | Timestamp |
2 | 9 | [[#6e0e2780]] | Character |
2 | 10 | [[#6e0e2780]] | Decimal |
3 | 1 | [[#6e0e26a0]] | "6" |
3 | 2 | [[#6e0e26a0]] | "8" |
3 | 3 | [[#6e0e26a0]] | "2" |
3 | 4 | [[#6e0e26a0]] | "4" |
3 | 5 | [[#6e0e26a0]] | "12" |
3 | 6 | [[#6e0e26a0]] | "14" |
3 | 7 | [[#6e0e26a0]] | "16" |
3 | 8 | [[#6e0e26a0]] | "18" |
3 | 9 | [[#6e0e26a0]] | "6" |
3 | 10 | [[#6e0e26a0]] | "8" |
4 | 1 | [[#700bee80]] | DateTime |
4 | 2 | [[#700bee80]] | Double |
4 | 3 | [[#700bee80]] | Binary |
4 | 4 | [[#700bee80]] | Byte |
4 | 5 | [[#700bee80]] | Int32 |
4 | 6 | [[#700bee80]] | Single |
4 | 7 | [[#700bee80]] | Time |
4 | 8 | [[#700bee80]] | Guid |
4 | 9 | [[#700bee80]] | DateTime |
4 | 10 | [[#700bee80]] | Double |