Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 2 | 3 | 0.952 | class_member_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 35 | src/NHibernate.Test/Join/NH1059Fixture.cs |
2 | 8 | 46 | src/NHibernate.Test/Join/NH1059Fixture.cs |
| ||||
[Test] public void FetchJoin_ForNH1059() { using (ISession s = OpenSession()) using (ITransaction tx = s.BeginTransaction()) { // This line would fail before the fix s.CreateQuery("from Worker").List<Worker> (); } } |
| ||||
[Test] public void FetchJoinWithCriteria_ForNH1059() { using (ISession s = OpenSession()) using (ITransaction tx = s.BeginTransaction()) { // This line would fail before the fix s.CreateCriteria( typeof(Worker)).List<Worker> (); } } |
| |||
[Test] public void [[#variable27207c00]]() { using (ISession s = OpenSession()) using (ITransaction tx = s.BeginTransaction()) { // This line would fail before the fix s. [[#variable27207b40]]( [[#variable27207b20]]).List<Worker> (); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#27207c00]] | FetchJoin_ForNH1059 |
1 | 2 | [[#27207c00]] | FetchJoinWithCriteria_ForNH1059 |
2 | 1 | [[#27207b40]] | CreateQuery |
2 | 2 | [[#27207b40]] | CreateCriteria |
3 | 1 | [[#27207b20]] | "from Worker" |
3 | 2 | [[#27207b20]] | typeof(Worker) |