CloneSet348


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
13340.974class_member_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11349
src/NHibernate.Test/NHSpecificTest/NH1159/Contact.cs
21365
src/NHibernate.Test/NHSpecificTest/NH1159/Contact.cs
31378
src/NHibernate.Test/NHSpecificTest/NH1159/ContactTitle.cs
Clone Instance
1
Line Count
13
Source Line
49
Source File
src/NHibernate.Test/NHSpecificTest/NH1159/Contact.cs

                public virtual string Forename
                {
                        get { return forename;
                            }
                        set
                        {
                                if (value == null)
                                        throw new ArgumentOutOfRangeException("Null value not allowed for Forename", value, "null");

                                if (value.Length > 50)
                                        throw new ArgumentOutOfRangeException("Invalid value for Forename", value, value.ToString());

                                isChanged |= (forename != value); forename = value;
                        }
                }



Clone Instance
2
Line Count
13
Source Line
65
Source File
src/NHibernate.Test/NHSpecificTest/NH1159/Contact.cs

                public virtual string Surname
                {
                        get { return surname;
                            }
                        set
                        {
                                if (value == null)
                                        throw new ArgumentOutOfRangeException("Null value not allowed for Surname", value, "null");

                                if (value.Length > 50)
                                        throw new ArgumentOutOfRangeException("Invalid value for Surname", value, value.ToString());

                                isChanged |= (surname != value); surname = value;
                        }
                }



Clone Instance
3
Line Count
13
Source Line
78
Source File
src/NHibernate.Test/NHSpecificTest/NH1159/ContactTitle.cs

                /// <summary>
                /// 
                /// </summary>
                public virtual string Descr
                {
                        get { return descr;
                            }
                        set
                        {
                                if (value == null)
                                        throw new ArgumentOutOfRangeException("Null value not allowed for Descr", value, "null");

                                if (value.Length > 50)
                                        throw new ArgumentOutOfRangeException("Invalid value for Descr", value, value.ToString());

                                isChanged |= (descr != value); descr = value;
                        }
                }



Clone AbstractionParameter Count: 4Parameter Bindings

/// <summary>
/// 
/// </summary>
public virtual string [[#variable47e2efa0]]
{
   get
   {
      return [[#variable47e2eee0]];
   }
   set
   {
      if (value == null)
         throw new ArgumentOutOfRangeException( [[#variable47e2ee80]], value, "null");
      if (value.Length > 50)
         throw new ArgumentOutOfRangeException( [[#variable47e2ee20]], value, value.ToString());
      isChanged |= ( [[#variable47e2eee0]]!= value);
       [[#variable47e2eee0]]= value;
   }
}

 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#47e2efa0]]
Descr 
12[[#47e2efa0]]
Forename 
13[[#47e2efa0]]
Surname 
21[[#47e2eee0]]
descr 
22[[#47e2eee0]]
forename 
23[[#47e2eee0]]
surname 
31[[#47e2ee80]]
"Null value not allowed for Descr" 
32[[#47e2ee80]]
"Null value not allowed for Forename" 
33[[#47e2ee80]]
"Null value not allowed for Surname" 
41[[#47e2ee20]]
"Invalid value for Descr" 
42[[#47e2ee20]]
"Invalid value for Forename" 
43[[#47e2ee20]]
"Invalid value for Surname"