Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
13 | 3 | 4 | 0.974 | class_member_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 13 | 49 | src/NHibernate.Test/NHSpecificTest/NH1159/Contact.cs |
2 | 13 | 65 | src/NHibernate.Test/NHSpecificTest/NH1159/Contact.cs |
3 | 13 | 78 | src/NHibernate.Test/NHSpecificTest/NH1159/ContactTitle.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; } } |
| ||||
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; } } |
| ||||
/// <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; } } |
| |||
/// <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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#47e2efa0]] | Descr |
1 | 2 | [[#47e2efa0]] | Forename |
1 | 3 | [[#47e2efa0]] | Surname |
2 | 1 | [[#47e2eee0]] | descr |
2 | 2 | [[#47e2eee0]] | forename |
2 | 3 | [[#47e2eee0]] | surname |
3 | 1 | [[#47e2ee80]] | "Null value not allowed for Descr" |
3 | 2 | [[#47e2ee80]] | "Null value not allowed for Forename" |
3 | 3 | [[#47e2ee80]] | "Null value not allowed for Surname" |
4 | 1 | [[#47e2ee20]] | "Invalid value for Descr" |
4 | 2 | [[#47e2ee20]] | "Invalid value for Forename" |
4 | 3 | [[#47e2ee20]] | "Invalid value for Surname" |