Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 4 | 2 | 0.968 | statement_list[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 1609 | src/NHibernate.Test/Legacy/FooBarTest.cs |
2 | 2 | 931 | src/NHibernate.Test/Legacy/ParentChildTest.cs |
3 | 3 | 961 | src/NHibernate.Test/Legacy/ParentChildTest.cs |
4 | 2 | 982 | src/NHibernate.Test/Legacy/ParentChildTest.cs |
| ||||
Assert.AreEqual(LockMode.None, s.GetCurrentLockMode(b)); tx.Commit(); |
| ||||
Assert.AreEqual(LockMode.Write, s.GetCurrentLockMode(s1)); tx.Commit(); |
| ||||
Assert.AreEqual(LockMode.UpgradeNoWait, s.GetCurrentLockMode(s4)); tx.Commit(); |
| ||||
Assert.AreEqual(LockMode.Write, s.GetCurrentLockMode(s4)); tx.Commit(); |
| |||
Assert.AreEqual(LockMode. [[#variable284a1ec0]], s.GetCurrentLockMode( [[#variable283d8c00]])); tx.Commit(); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#284a1ec0]] | UpgradeNoWait |
1 | 2 | [[#284a1ec0]] | None |
1 | 3 | [[#284a1ec0]] | Write |
1 | 4 | [[#284a1ec0]] | Write |
2 | 1 | [[#283d8c00]] | s4 |
2 | 2 | [[#283d8c00]] | b |
2 | 3 | [[#283d8c00]] | s4 |
2 | 4 | [[#283d8c00]] | s1 |