Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 2 | 1 | 0.981 | statement_list[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 37 | src/NHibernate.Test/Generatedkeys/Identity/IdentityGeneratedKeysTest.cs |
2 | 3 | 52 | src/NHibernate.Test/Generatedkeys/Identity/IdentityGeneratedKeysTest.cs |
| ||||
long id = (long)s.Save(myEntity); Assert.IsNotNull(id, "identity column did not force immediate insert"); Assert.AreEqual(id, myEntity.Id); |
| ||||
long id = (long)s.Save(myEntity1); Assert.IsNotNull(id, "identity column did not force immediate insert"); Assert.AreEqual(id, myEntity1.Id); |
| |||
long id = (long)s.Save( [[#variable290b1cc0]]); Assert.IsNotNull(id, "identity column did not force immediate insert"); Assert.AreEqual(id, [[#variable290b1cc0]].Id); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#290b1cc0]] | myEntity1 |
1 | 2 | [[#290b1cc0]] | myEntity |