Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
11 | 2 | 1 | 0.996 | statement_list[10] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 11 | 25 | src/NHibernate.Test/Interceptor/InterceptorFixture.cs |
2 | 11 | 44 | src/NHibernate.Test/Interceptor/InterceptorFixture.cs |
| ||||
ISession s = OpenSession(new CollectionInterceptor()); ITransaction t = s.BeginTransaction(); User u = new User("Gavin", "nivag"); s.Persist(u); u.Password = "vagni"; t.Commit(); s.Close(); s = OpenSession(); t = s.BeginTransaction(); u = s.Get < User > ("Gavin"); |
| ||||
ISession s = OpenSession(new PropertyInterceptor()); ITransaction t = s.BeginTransaction(); User u = new User("Gavin", "nivag"); s.Persist(u); u.Password = "vagni"; t.Commit(); s.Close(); s = OpenSession(); t = s.BeginTransaction(); u = s.Get < User > ("Gavin"); |
| |||
ISession s = OpenSession(new [[#variable584a8f40]]()); ITransaction t = s.BeginTransaction(); User u = new User("Gavin", "nivag"); s.Persist(u); u.Password = "vagni"; t.Commit(); s.Close(); s = OpenSession(); t = s.BeginTransaction(); u = s.Get < User > ("Gavin"); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#584a8f40]] | PropertyInterceptor |
1 | 2 | [[#584a8f40]] | CollectionInterceptor |