Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 2 | 0.967 | class_member_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 48 | src/NHibernate.Test/NHSpecificTest/NH1025/Fixture.cs |
2 | 7 | 42 | src/NHibernate.Test/QueryTest/DetachedQueryFixture.cs |
| ||||
protected override void OnTearDown() { using ( var s = OpenSession()) using ( var t = s.BeginTransaction()) { s.Delete("from Entity"); t.Commit(); } } |
| ||||
protected override void OnTearDown() { using ( var s = OpenSession()) using ( var tx = s.BeginTransaction()) { s.Delete("from Foo"); tx.Commit(); } } |
| |||
protected override void OnTearDown() { using ( var s = OpenSession()) using ( var [[#variable6c56cbc0]]= s.BeginTransaction()) { s.Delete( [[#variable6c56cb40]]); [[#variable6c56cbc0]].Commit(); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#6c56cbc0]] | t |
1 | 2 | [[#6c56cbc0]] | tx |
2 | 1 | [[#6c56cb40]] | "from Entity" |
2 | 2 | [[#6c56cb40]] | "from Foo" |