Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 1 | 0.989 | non_pp_embedded_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 31 | src/NHibernate.Test/NHSpecificTest/NH1632/Fixture.cs |
2 | 5 | 52 | 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(); } |
| ||||
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(); } |
| |||
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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#54b29e20]] | scalar1 |
1 | 2 | [[#54b29e20]] | scalar2 |