Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 3 | 3 | 0.975 | non_pp_embedded_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 550 | src/NHibernate.Test/Criteria/CriteriaQueryTest.cs |
2 | 8 | 20 | src/NHibernate.Test/NHSpecificTest/NH1064/Fixture.cs |
3 | 7 | 19 | src/NHibernate.Test/NHSpecificTest/NH995/Fixture.cs |
| ||||
using (ISession s = OpenSession()) using (ITransaction tx = s.BeginTransaction()) { s.Delete("from Enrolment"); s.Delete("from Student"); s.Delete("from Course"); tx.Commit(); } |
| ||||
using (ISession s = OpenSession()) using (ITransaction tx = s.BeginTransaction()) { s.Delete("from TypeC"); s.Delete("from TypeB"); s.Delete("from TypeA"); tx.Commit(); } |
| ||||
using (ISession s = OpenSession()) using (ITransaction tx = s.BeginTransaction()) { s.Delete("from ClassC"); s.Delete("from ClassB"); s.Delete("from ClassA"); tx.Commit(); } |
| |||
using (ISession s = OpenSession()) using (ITransaction tx = s.BeginTransaction()) { s.Delete( [[#variable2893a180]]); s.Delete( [[#variable2893a0c0]]); s.Delete( [[#variable2893a080]]); tx.Commit(); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#2893a180]] | "from ClassC" |
1 | 2 | [[#2893a180]] | "from TypeC" |
1 | 3 | [[#2893a180]] | "from Enrolment" |
2 | 1 | [[#2893a0c0]] | "from ClassB" |
2 | 2 | [[#2893a0c0]] | "from TypeB" |
2 | 3 | [[#2893a0c0]] | "from Student" |
3 | 1 | [[#2893a080]] | "from ClassA" |
3 | 2 | [[#2893a080]] | "from TypeA" |
3 | 3 | [[#2893a080]] | "from Course" |