CloneSet2033


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5210.989non_pp_embedded_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1531
src/NHibernate.Test/NHSpecificTest/NH1632/Fixture.cs
2552
src/NHibernate.Test/NHSpecificTest/NH1632/Fixture.cs
Clone Instance
1
Line Count
5
Source Line
31
Source File
src/NHibernate.Test/NHSpecificTest/NH1632/Fixture.cs

                        using ( var session = sessions.OpenSession())
                        using ( var command = session.Connection.CreateCommand())
                        {
                                command.CommandText = "select next_hi from hibernate_unique_key with (updlock, rowlock)";
                                scalar1 = command.ExecuteScalar();
                        }


Clone Instance
2
Line Count
5
Source Line
52
Source File
src/NHibernate.Test/NHSpecificTest/NH1632/Fixture.cs

                        using ( var session = sessions.OpenSession())
                        using ( var command = session.Connection.CreateCommand())
                        {
                                command.CommandText = "select next_hi from hibernate_unique_key with (updlock, rowlock)";
                                scalar2 = command.ExecuteScalar();
                        }


Clone AbstractionParameter Count: 1Parameter Bindings

using ( var session = sessions.OpenSession())
   using ( var command = session.Connection.CreateCommand())
   {
      command.CommandText = "select next_hi from hibernate_unique_key with (updlock, rowlock)";
       [[#variable54b29e20]]= command.ExecuteScalar();
   }
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#54b29e20]]
scalar1 
12[[#54b29e20]]
scalar2