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.978 | statement_list[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 238 | src/NHibernate.Test/HQL/Ast/BulkManipulation.cs |
2 | 5 | 287 | src/NHibernate.Test/HQL/Ast/BulkManipulation.cs |
| ||||
var created = (IntegerVersioned) s.CreateQuery("from IntegerVersioned where id <> :initialId").SetInt64("initialId", initialId).UniqueResult(); t.Commit(); s.Close(); |
| ||||
var created = (TimestampVersioned) s.CreateQuery("from TimestampVersioned where id <> :initialId").SetInt64("initialId", initialId).UniqueResult(); t.Commit(); s.Close(); |
| |||
var created = ( [[#variable6bdf7aa0]])s.CreateQuery( [[#variable6c56dcc0]]).SetInt64("initialId", initialId).UniqueResult(); t.Commit(); s.Close(); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#6bdf7aa0]] | TimestampVersioned |
1 | 2 | [[#6bdf7aa0]] | IntegerVersioned |
2 | 1 | [[#6c56dcc0]] | "from TimestampVersioned where id <> :initialId" |
2 | 2 | [[#6c56dcc0]] | "from IntegerVersioned where id <> :initialId" |