Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 2 | 0.964 | non_pp_embedded_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 327 | src/NHibernate.Test/Legacy/MasterDetailTest.cs |
2 | 5 | 334 | src/NHibernate.Test/Legacy/MasterDetailTest.cs |
| ||||
using (ISession s = OpenSession()) using (ITransaction t = s.BeginTransaction()) { sin = (Single) s.Load( typeof(Single), sin); t.Commit(); } |
| ||||
using (ISession s = OpenSession()) using (ITransaction t = s.BeginTransaction()) { sev = (Several) s.Load( typeof(Several), sev); t.Commit(); } |
| |||
using (ISession s = OpenSession()) using (ITransaction t = s.BeginTransaction()) { [[#variable27d9afc0]]= ( [[#variable27d9af00]])s.Load( typeof( [[#variable27d9af00]]), [[#variable27d9afc0]]); t.Commit(); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#27d9afc0]] | sin |
1 | 2 | [[#27d9afc0]] | sev |
2 | 1 | [[#27d9af00]] | Single |
2 | 2 | [[#27d9af00]] | Several |