Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 2 | 2 | 0.983 | statement_list[7] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 199 | src/NHibernate.Test/Legacy/SQLFunctionsTest.cs |
2 | 8 | 365 | src/NHibernate.Test/Legacy/SQLFunctionsTest.cs |
| ||||
s.Save(simple, 10L); t.Commit(); s.Close(); s = OpenSession(); t = s.BeginTransaction(); IQuery q = s.CreateQuery("from Simple s where s.Name=?"); q.SetCacheable(true); |
| ||||
s.Save(simple, 10L); t.Commit(); s.Close(); s = OpenSession(); t = s.BeginTransaction(); IQuery q = s.CreateQuery("from Simple s where s.Name=?"); q.SetCacheRegion("foo"); |
| |||
s.Save(simple, 10L); t.Commit(); s.Close(); s = OpenSession(); t = s.BeginTransaction(); IQuery q = s.CreateQuery("from Simple s where s.Name=?"); q. [[#variable27025da0]]( [[#variable27025ce0]]); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#27025da0]] | SetCacheRegion |
1 | 2 | [[#27025da0]] | SetCacheable |
2 | 1 | [[#27025ce0]] | "foo" |
2 | 2 | [[#27025ce0]] | true |