Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
12 | 2 | 2 | 0.981 | class_member_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 12 | 42 | src/NHibernate/Impl/QueryImpl.cs |
2 | 12 | 87 | src/NHibernate/Impl/QueryImpl.cs |
| ||||
public override IEnumerable<T> Enumerable<T>() { VerifyParameters(); IDictionary<string, TypedValue> namedParams = NamedParams; Before(); try { return Session.Enumerable<T> (ExpandParameterLists(namedParams), GetQueryParameters(namedParams)); } finally { After(); } } |
| ||||
public override IList<T> List<T>() { VerifyParameters(); IDictionary<string, TypedValue> namedParams = NamedParams; Before(); try { return Session.List<T> (ExpandParameterLists(namedParams), GetQueryParameters(namedParams)); } finally { After(); } } |
| |||
public override [[#variable583afac0]]<T> [[#variable2d692900]]<T>() { VerifyParameters(); IDictionary<string, TypedValue> namedParams = NamedParams; Before(); try { return Session. [[#variable2d692900]]<T> (ExpandParameterLists(namedParams), GetQueryParameters(namedParams)); } finally { After(); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#583afac0]] | IEnumerable |
1 | 2 | [[#583afac0]] | IList |
2 | 1 | [[#2d692900]] | Enumerable |
2 | 2 | [[#2d692900]] | List |