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.979 | statement_list[5] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 3656 | src/NHibernate.Test/Legacy/FooBarTest.cs |
2 | 5 | 3677 | src/NHibernate.Test/Legacy/FooBarTest.cs |
| ||||
g2 = (GlarchProxy) s.Load( typeof(Glarch), g2id); // Versions are initialized to 1 in NH (not to 0 like in Hibernate) Assert.AreEqual(2, g.Version, "version"); Assert.AreEqual(2, g.DerivedVersion, "version"); Assert.AreEqual(1, g2.Version, "version"); g.Name = "foo"; |
| ||||
g2 = (GlarchProxy) s.Load( typeof(Glarch), g2id); Assert.AreEqual(4, g.Version, "version"); Assert.AreEqual(4, g.DerivedVersion, "version"); Assert.AreEqual(1, g2.Version, "version"); g.Next = null; |
| |||
g2 = (GlarchProxy)s.Load( typeof(Glarch), g2id); // Versions are initialized to 1 in NH (not to 0 like in Hibernate) Assert.AreEqual( [[#variable54a669a0]], g.Version, "version"); Assert.AreEqual( [[#variable54a669a0]], g.DerivedVersion, "version"); Assert.AreEqual(1, g2.Version, "version"); g. [[#variable5066d9a0]]= [[#variable54a66d00]]; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#54a669a0]] | 4 |
1 | 2 | [[#54a669a0]] | 2 |
2 | 1 | [[#5066d9a0]] | Next |
2 | 2 | [[#5066d9a0]] | Name |
3 | 1 | [[#54a66d00]] | null |
3 | 2 | [[#54a66d00]] | "foo" |