Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 2 | 0.981 | class_member_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 12 | src/NHibernate.Test/NHSpecificTest/Dates/DateTimeAssert.cs |
2 | 6 | 32 | src/NHibernate.Test/NHSpecificTest/Dates/DateTimeAssert.cs |
| ||||
public static void AreEqual(DateTime dt1, DateTime dt2) { bool areEqual = new DateTimeType().IsEqual(dt1, dt2); if ( !areEqual) Assert.Fail(string.Format("Expected {0} but was {1}", dt1, dt2)); } |
| ||||
public static void AreEqual(DateTimeOffset dt1, DateTimeOffset dt2) { bool areEqual = new DateTimeOffsetType().IsEqual(dt1, dt2); if ( !areEqual) Assert.Fail(string.Format("Expected {0} but was {1}", dt1, dt2)); } |
| |||
public static void AreEqual( [[#variable50669020]]dt1, [[#variable50669020]]dt2) { bool areEqual = new [[#variable50668fa0]]().IsEqual(dt1, dt2); if ( !areEqual) Assert.Fail(string.Format("Expected {0} but was {1}", dt1, dt2)); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#50669020]] | DateTime |
1 | 2 | [[#50669020]] | DateTimeOffset |
2 | 1 | [[#50668fa0]] | DateTimeType |
2 | 2 | [[#50668fa0]] | DateTimeOffsetType |