CloneSet151


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
12301.000non_pp_embedded_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
112115
src/NHibernate.Test/Extralazy/ExtraLazyFixture.cs
212157
src/NHibernate.Test/Extralazy/ExtraLazyFixture.cs
312209
src/NHibernate.Test/Extralazy/ExtraLazyFixture.cs
Clone Instance
1
Line Count
12
Source Line
115
Source File
src/NHibernate.Test/Extralazy/ExtraLazyFixture.cs

                        using ( var s = OpenSession())
                        using ( var t = s.BeginTransaction())
                        {
                                gavin = new User("gavin", "secret");
                                turin = new User("turin", "tiger");
                                g = new Group("developers");
                                g.Users.Add("gavin", gavin);
                                g.Users.Add("turin", turin);
                                s.Persist(g);
                                gavin.Session.Add("foo", new SessionAttribute("foo", "foo bar baz"));
                                gavin.Session.Add("bar", new SessionAttribute("bar", "foo bar baz 2"));
                                t.Commit();
                        }


Clone Instance
2
Line Count
12
Source Line
157
Source File
src/NHibernate.Test/Extralazy/ExtraLazyFixture.cs

                        using ( var s = OpenSession())
                        using ( var t = s.BeginTransaction())
                        {
                                gavin = new User("gavin", "secret");
                                turin = new User("turin", "tiger");
                                g = new Group("developers");
                                g.Users.Add("gavin", gavin);
                                g.Users.Add("turin", turin);
                                s.Persist(g);
                                gavin.Session.Add("foo", new SessionAttribute("foo", "foo bar baz"));
                                gavin.Session.Add("bar", new SessionAttribute("bar", "foo bar baz 2"));
                                t.Commit();
                        }


Clone Instance
3
Line Count
12
Source Line
209
Source File
src/NHibernate.Test/Extralazy/ExtraLazyFixture.cs

                        using ( var s = OpenSession())
                        using ( var t = s.BeginTransaction())
                        {
                                gavin = new User("gavin", "secret");
                                turin = new User("turin", "tiger");
                                g = new Group("developers");
                                g.Users.Add("gavin", gavin);
                                g.Users.Add("turin", turin);
                                s.Persist(g);
                                gavin.Session.Add("foo", new SessionAttribute("foo", "foo bar baz"));
                                gavin.Session.Add("bar", new SessionAttribute("bar", "foo bar baz 2"));
                                t.Commit();
                        }


Clone AbstractionParameter Count: 0Parameter Bindings

using ( var s = OpenSession())
   using ( var t = s.BeginTransaction())
   {
      gavin = new User("gavin", "secret");
      turin = new User("turin", "tiger");
      g = new Group("developers");
      g.Users.Add("gavin", gavin);
      g.Users.Add("turin", turin);
      s.Persist(g);
      gavin.Session.Add("foo", new SessionAttribute("foo", "foo bar baz"));
      gavin.Session.Add("bar", new SessionAttribute("bar", "foo bar baz 2"));
      t.Commit();
   }
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None