Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 3 | 2 | 0.956 | class_member_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 8 | src/NHibernate.Test/NHibernateUtilTest.cs |
2 | 5 | 14 | src/NHibernate.Test/NHibernateUtilTest.cs |
3 | 5 | 21 | src/NHibernate.Test/NHibernateUtilTest.cs |
| ||||
[Test] public void CanGuessTypeOfInt32ByValue() { Assert.AreEqual(NHibernateUtil.Int32, NHibernateUtil.GuessType(15)); } |
| ||||
[Test] public void CanGuessTypeOfInt32ByType() { Assert.AreEqual(NHibernateUtil.Int32, NHibernateUtil.GuessType( typeof(int))); } |
| ||||
[Test] public void CanGuessTypeOfNullableInt32ByType() { Assert.AreEqual(NHibernateUtil.Int32, NHibernateUtil.GuessType( typeof(int ? ))); } |
| |||
[Test] public void [[#variable28db34a0]]() { Assert.AreEqual(NHibernateUtil.Int32, NHibernateUtil.GuessType( [[#variable28db3420]])); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#28db34a0]] | CanGuessTypeOfInt32ByValue |
1 | 2 | [[#28db34a0]] | CanGuessTypeOfInt32ByType |
1 | 3 | [[#28db34a0]] | CanGuessTypeOfNullableInt32ByType |
2 | 1 | [[#28db3420]] | 15 |
2 | 2 | [[#28db3420]] | typeof(int) |
2 | 3 | [[#28db3420]] | typeof(int ? ) |