Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 2 | 2 | 0.985 | statement_list[8] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 241 | src/NHibernate.Test/Legacy/SQLFunctionsTest.cs |
2 | 9 | 397 | src/NHibernate.Test/Legacy/SQLFunctionsTest.cs |
| ||||
s.Update(simple, 10L); s.Delete(simple); t.Commit(); s.Close(); s = OpenSession(); t = s.BeginTransaction(); q = s.CreateQuery("from Simple s where s.Name=?"); q.SetCacheable(true); |
| ||||
s.Update(simple, 10L); s.Delete(simple); t.Commit(); s.Close(); s = OpenSession(); t = s.BeginTransaction(); q = s.CreateQuery("from Simple s where s.Name=?"); q.SetCacheRegion("foo"); |
| |||
s.Update(simple, 10L); s.Delete(simple); t.Commit(); s.Close(); s = OpenSession(); t = s.BeginTransaction(); q = s.CreateQuery("from Simple s where s.Name=?"); q. [[#variable2ba77240]]( [[#variable2ba52020]]); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#2ba77240]] | SetCacheRegion |
1 | 2 | [[#2ba77240]] | SetCacheable |
2 | 1 | [[#2ba52020]] | "foo" |
2 | 2 | [[#2ba52020]] | true |