Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
11 | 3 | 3 | 0.952 | statement_list[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 11 | 5223 | src/NHibernate.Test/Legacy/FooBarTest.cs |
2 | 12 | 5257 | src/NHibernate.Test/Legacy/FooBarTest.cs |
3 | 11 | 1137 | src/NHibernate.Test/Legacy/MasterDetailTest.cs |
| ||||
try { s.Load( typeof(Foo), id); } //catch (ObjectDeletedException ode) Changed to have same behavior of H3.2 catch (ObjectNotFoundException ode) { Assert.IsNotNull(ode); //getting ride of 'ode' is never used compile warning err = true; } Assert.IsTrue(err); |
| ||||
try { s.Load( typeof(Fo), id); } //catch (ObjectDeletedException ode) Changed to have same behavior of H3.2 catch (ObjectNotFoundException ode) { Assert.IsNotNull(ode); //getting ride of 'ode' is never used compile warning err = true; } Assert.IsTrue(err); |
| ||||
try { s.Load( typeof(Custom), id); } catch (ObjectNotFoundException onfe) { Assert.IsNotNull(onfe); //getting ride of 'onfe' is never used compile warning none = true; } Assert.IsTrue(none); |
| |||
try { s.Load( typeof( [[#variable46bbbd40]]), id); } //catch (ObjectDeletedException ode) Changed to have same behavior of H3.2 catch (ObjectNotFoundException [[#variable46bbbcc0]]) { Assert.IsNotNull( [[#variable46bbbcc0]]); //getting ride of 'onfe' is never used compile warning //getting ride of 'ode' is never used compile warning [[#variable46bbbd20]]= true; } Assert.IsTrue( [[#variable46bbbd20]]); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#46bbbd40]] | Custom |
1 | 2 | [[#46bbbd40]] | Foo |
1 | 3 | [[#46bbbd40]] | Fo |
2 | 1 | [[#46bbbcc0]] | onfe |
2 | 2 | [[#46bbbcc0]] | ode |
2 | 3 | [[#46bbbcc0]] | ode |
3 | 1 | [[#46bbbd20]] | none |
3 | 2 | [[#46bbbd20]] | err |
3 | 3 | [[#46bbbd20]] | err |