Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 3 | 0.962 | statement_list[5] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 1757 | src/NHibernate.Test/Legacy/FooBarTest.cs |
2 | 6 | 1155 | src/NHibernate.Test/Legacy/MasterDetailTest.cs |
| ||||
object id = s.Save(new Baz()); s.Flush(); s.Close(); s = OpenSession(); Baz baz = (Baz) s.Load( typeof(Baz), id); |
| ||||
object id = s.Save(new BasicNameable()); s.Flush(); s.Close(); s = OpenSession(); INameable n = (INameable) s.Load( typeof(INameable), id); |
| |||
object id = s.Save(new [[#variable2cd35740]]()); s.Flush(); s.Close(); s = OpenSession(); [[#variable2cd35520]] [[#variable2cd35500]]= ( [[#variable2cd35520]])s.Load( typeof( [[#variable2cd35520]]), id); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#2cd35740]] | Baz |
1 | 2 | [[#2cd35740]] | BasicNameable |
2 | 1 | [[#2cd35520]] | Baz |
2 | 2 | [[#2cd35520]] | INameable |
3 | 1 | [[#2cd35500]] | baz |
3 | 2 | [[#2cd35500]] | n |