Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 2 | 1 | 0.985 | non_pp_embedded_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 13 | src/NHibernate.Test/NHSpecificTest/NH1488/Fixture.cs |
2 | 9 | 42 | src/NHibernate.Test/NHSpecificTest/NH1488/Fixture.cs |
| ||||
using (ISession s = OpenSession()) using (ITransaction tx = s.BeginTransaction()) { s.Save(new CustomerNoSmart("Somebody")); CustomerNoSmart c = new CustomerNoSmart("Somebody else"); c.Category = new CustomerCategory("User"); s.Save(c.Category); s.Save(c); tx.Commit(); } |
| ||||
using (ISession s = OpenSession()) using (ITransaction tx = s.BeginTransaction()) { s.Save(new Customer("Somebody")); Customer c = new Customer("Somebody else"); c.Category = new CustomerCategory("User"); s.Save(c.Category); s.Save(c); tx.Commit(); } |
| |||
using (ISession s = OpenSession()) using (ITransaction tx = s.BeginTransaction()) { s.Save(new [[#variable26d3baa0]]("Somebody")); [[#variable26d3baa0]]c = new [[#variable26d3baa0]]("Somebody else"); c.Category = new CustomerCategory("User"); s.Save(c.Category); s.Save(c); tx.Commit(); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#26d3baa0]] | CustomerNoSmart |
1 | 2 | [[#26d3baa0]] | Customer |