Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 1 | 0.990 | non_pp_embedded_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 174 | src/NHibernate.Test/IdTest/AssignedFixture.cs |
2 | 6 | 213 | src/NHibernate.Test/IdTest/AssignedFixture.cs |
| ||||
using (ISession s = OpenSession()) { ITransaction t = s.BeginTransaction(); s.Save(new Child() { Id = "detachedChild" } ); t.Commit(); } |
| ||||
using (ISession s = OpenSession()) { ITransaction t = s.BeginTransaction(); s.Save(new Child() { Id = "persistedChild" } ); t.Commit(); } |
| |||
using (ISession s = OpenSession()) { ITransaction t = s.BeginTransaction(); s.Save(new Child() { Id = [[#variable54b464e0]] } ); t.Commit(); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#54b464e0]] | "detachedChild" |
1 | 2 | [[#54b464e0]] | "persistedChild" |