| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 11 | 2 | 1 | 0.987 | statement_list[3] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 11 | 421 | src/NHibernate/Impl/AbstractDetachedQuery.cs |
| 2 | 11 | 517 | src/NHibernate/Impl/AbstractDetachedQuery.cs |
| ||||
q.SetMaxResults(selection.MaxRows).
SetFirstResult(selection.FirstRow).
SetCacheable(cacheable).
SetReadOnly(readOnly).
SetTimeout(selection.Timeout).
SetFlushMode(flushMode).
SetFetchSize(selection.FetchSize);
if ( ! string.IsNullOrEmpty(comment))
q.SetComment(comment);
if ( ! string.IsNullOrEmpty(cacheRegion))
q.SetCacheRegion(cacheRegion);
|
| ||||
destination.SetMaxResults(selection.MaxRows).
SetFirstResult(selection.FirstRow).
SetCacheable(cacheable).
SetReadOnly(readOnly).
SetTimeout(selection.Timeout).
SetFlushMode(flushMode).
SetFetchSize(selection.FetchSize);
if ( ! string.IsNullOrEmpty(comment))
destination.SetComment(comment);
if ( ! string.IsNullOrEmpty(cacheRegion))
destination.SetCacheRegion(cacheRegion);
|
| |||
[[#variable56f8e200]].SetMaxResults(selection.MaxRows).SetFirstResult(selection.FirstRow).SetCacheable(cacheable).SetReadOnly(readOnly).SetTimeout(selection.Timeout).SetFlushMode(flushMode).SetFetchSize(selection.FetchSize);
if ( ! string.IsNullOrEmpty(comment))
[[#variable56f8e200]].SetComment(comment);
if ( ! string.IsNullOrEmpty(cacheRegion))
[[#variable56f8e200]].SetCacheRegion(cacheRegion);
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#56f8e200]] | destination |
| 1 | 2 | [[#56f8e200]] | q |