Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
12 | 3 | 2 | 0.969 | class_member_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 12 | 27 | src/NHibernate/Impl/QueryImpl.cs |
2 | 12 | 57 | src/NHibernate/Impl/QueryImpl.cs |
3 | 12 | 113 | src/NHibernate/Impl/QueryImpl.cs |
| ||||
public override IEnumerable Enumerable() { VerifyParameters(); IDictionary<string, TypedValue> namedParams = NamedParams; Before(); try { return Session.Enumerable(ExpandParameterLists(namedParams), GetQueryParameters(namedParams)); } finally { After(); } } |
| ||||
public override IList List() { VerifyParameters(); IDictionary<string, TypedValue> namedParams = NamedParams; Before(); try { return Session.List(ExpandParameterLists(namedParams), GetQueryParameters(namedParams)); } finally { After(); } } |
| ||||
public override int ExecuteUpdate() { VerifyParameters(); IDictionary<string, TypedValue> namedParams = NamedParams; Before(); try { return Session.ExecuteUpdate(ExpandParameterLists(namedParams), GetQueryParameters(namedParams)); } finally { After(); } } |
| |||
public override [[#variable550ea6a0]] [[#variable550ea640]]() { VerifyParameters(); IDictionary<string, TypedValue> namedParams = NamedParams; Before(); try { return Session. [[#variable550ea640]](ExpandParameterLists(namedParams), GetQueryParameters(namedParams)); } finally { After(); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#550ea6a0]] | IEnumerable |
1 | 2 | [[#550ea6a0]] | IList |
1 | 3 | [[#550ea6a0]] | int |
2 | 1 | [[#550ea640]] | Enumerable |
2 | 2 | [[#550ea640]] | List |
2 | 3 | [[#550ea640]] | ExecuteUpdate |