Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 5 | 2 | 0.968 | statement_list[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 73 | src/NHibernate.Test/QueryTest/DetachedQueryFixture.cs |
2 | 2 | 75 | src/NHibernate.Test/QueryTest/DetachedQueryFixture.cs |
3 | 2 | 220 | src/NHibernate.Test/QueryTest/DetachedQueryFixture.cs |
4 | 2 | 222 | src/NHibernate.Test/QueryTest/DetachedQueryFixture.cs |
5 | 2 | 300 | src/NHibernate.Test/QueryTest/DetachedQueryFixture.cs |
| ||||
Assert.IsTrue(tdq.LockModes.ContainsKey("LM1")); Assert.AreEqual(LockMode.Upgrade, tdq.LockModes["LM1"]); |
| ||||
Assert.IsTrue(tdq.LockModes.ContainsKey("LM2")); Assert.AreEqual(LockMode.Write, tdq.LockModes["LM2"]); |
| ||||
Assert.IsTrue(tdq.LockModes.ContainsKey("LM1")); Assert.AreEqual(LockMode.Upgrade, tdq.LockModes["LM1"]); |
| ||||
Assert.IsTrue(tdq.LockModes.ContainsKey("LM2")); Assert.AreEqual(LockMode.Write, tdq.LockModes["LM2"]); |
| ||||
Assert.IsTrue(tdq.LockModes.ContainsKey("LM1")); Assert.AreEqual(LockMode.Upgrade, tdq.LockModes["LM1"]); |
| |||
Assert.IsTrue(tdq.LockModes.ContainsKey( [[#variable4fac5d40]])); Assert.AreEqual(LockMode. [[#variable6951b1e0]], tdq.LockModes[ [[#variable4fac5d40]]]); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#4fac5d40]] | "LM1" |
1 | 2 | [[#4fac5d40]] | "LM2" |
1 | 3 | [[#4fac5d40]] | "LM1" |
1 | 4 | [[#4fac5d40]] | "LM2" |
1 | 5 | [[#4fac5d40]] | "LM1" |
2 | 1 | [[#6951b1e0]] | Upgrade |
2 | 2 | [[#6951b1e0]] | Write |
2 | 3 | [[#6951b1e0]] | Upgrade |
2 | 4 | [[#6951b1e0]] | Write |
2 | 5 | [[#6951b1e0]] | Upgrade |