CloneSet1079


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6220.981class_member_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1612
src/NHibernate.Test/NHSpecificTest/Dates/DateTimeAssert.cs
2632
src/NHibernate.Test/NHSpecificTest/Dates/DateTimeAssert.cs
Clone Instance
1
Line Count
6
Source Line
12
Source File
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));
                }



Clone Instance
2
Line Count
6
Source Line
32
Source File
src/NHibernate.Test/NHSpecificTest/Dates/DateTimeAssert.cs

                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));
                }



Clone AbstractionParameter Count: 2Parameter Bindings

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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#50669020]]
DateTime 
12[[#50669020]]
DateTimeOffset 
21[[#50668fa0]]
DateTimeType 
22[[#50668fa0]]
DateTimeOffsetType