Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
12 | 2 | 2 | 0.982 | statement_list[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 12 | 12 | src/NHibernate.Test/NHSpecificTest/NH1069/ImproveLazyExceptionFixture.cs |
2 | 12 | 44 | src/NHibernate.Test/NHSpecificTest/NH1069/ImproveLazyExceptionFixture.cs |
| ||||
object savedId = 1; using (ISession s = OpenSession()) using (ITransaction t = s.BeginTransaction()) { s.Save(new LazyE(), 1); t.Commit(); } LazyE le; using (ISession s = OpenSession()) { le = s.Load < LazyE > (savedId); } |
| ||||
object savedId = 1; using (ISession s = OpenSession()) using (ITransaction t = s.BeginTransaction()) { s.Save(new LazyE(), savedId); t.Commit(); } LazyE le; using (ISession s = OpenSession()) { le = s.Get < LazyE > (savedId); } |
| |||
object savedId = 1; using (ISession s = OpenSession()) using (ITransaction t = s.BeginTransaction()) { s.Save(new LazyE(), [[#variable4ff81940]]); t.Commit(); } LazyE le; using (ISession s = OpenSession()) { le = s. [[#variable4ff81800]]< LazyE > (savedId); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#4ff81940]] | savedId |
1 | 2 | [[#4ff81940]] | 1 |
2 | 1 | [[#4ff81800]] | Get |
2 | 2 | [[#4ff81800]] | Load |