Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 3 | 4 | 0.974 | statement_list[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 613 | src/NHibernate.Test/Legacy/ParentChildTest.cs |
2 | 4 | 638 | src/NHibernate.Test/Legacy/ParentChildTest.cs |
3 | 4 | 682 | src/NHibernate.Test/Legacy/ParentChildTest.cs |
| ||||
Assert.AreEqual(3, c.Components.Count); Assert.AreEqual(1, c.Composites.Count); Assert.AreEqual(3, c.OneToMany.Count); Assert.AreEqual(3, c.ManyToMany.Count); |
| ||||
Assert.AreEqual(1, c.Components.Count); //WAS: 2 - h2.0.3 comment Assert.AreEqual(2, c.Composites.Count); Assert.AreEqual(2, c.OneToMany.Count); Assert.AreEqual(3, c.ManyToMany.Count); |
| ||||
Assert.AreEqual(0, c.Components.Count); Assert.AreEqual(0, c.Composites.Count); Assert.AreEqual(0, c.OneToMany.Count); Assert.AreEqual(0, c.ManyToMany.Count); |
| |||
Assert.AreEqual( [[#variable5f47c580]], c.Components.Count); //WAS: 2 - h2.0.3 comment Assert.AreEqual( [[#variable5f47c620]], c.Composites.Count); Assert.AreEqual( [[#variable66368ce0]], c.OneToMany.Count); Assert.AreEqual( [[#variable68430400]], c.ManyToMany.Count); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5f47c580]] | 1 |
1 | 2 | [[#5f47c580]] | 3 |
1 | 3 | [[#5f47c580]] | 0 |
2 | 1 | [[#5f47c620]] | 2 |
2 | 2 | [[#5f47c620]] | 1 |
2 | 3 | [[#5f47c620]] | 0 |
3 | 1 | [[#66368ce0]] | 2 |
3 | 2 | [[#66368ce0]] | 3 |
3 | 3 | [[#66368ce0]] | 0 |
4 | 1 | [[#68430400]] | 3 |
4 | 2 | [[#68430400]] | 3 |
4 | 3 | [[#68430400]] | 0 |