CloneSet588


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
35230.952compilation_unit
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1351
src/NHibernate.Test/Any/IntegerPropertyValue.cs
2321
src/NHibernate.Test/Any/StringPropertyValue.cs
Clone Instance
1
Line Count
35
Source Line
1
Source File
src/NHibernate.Test/Any/IntegerPropertyValue.cs

namespace NHibernate.Test.Any
{
        public class IntegerPropertyValue : IPropertyValue
        {
                private long id;

                private int value;

                public IntegerPropertyValue() {
                                              }

                public IntegerPropertyValue(int value)
                {
                        this.value = value;
                }

                public virtual long Id
                {
                        get { return id;
                            }
                        set { id = value;
                            }
                }

                public virtual int Value
                {
                        get { return value;
                            }
                        set { this.value = value;
                            }
                }

                #region IPropertyValue Members
                public virtual string AsString()
                {
                        return value.ToString();
                }

                #endregion
        }
}


Clone Instance
2
Line Count
32
Source Line
1
Source File
src/NHibernate.Test/Any/StringPropertyValue.cs

namespace NHibernate.Test.Any
{
        public class StringPropertyValue: IPropertyValue
        {
                private long id;

                private string value;

                public StringPropertyValue() {
                                             }

                public StringPropertyValue(string value)
                {
                        this.value = value;
                }

                public virtual long Id
                {
                        get { return id;
                            }
                        set { id = value;
                            }
                }

                public virtual string Value
                {
                        get { return value;
                            }
                        set { this.value = value;
                            }
                }

                public virtual string AsString()
                {
                        return value;
                }

        }
}


Clone AbstractionParameter Count: 3Parameter Bindings

namespace NHibernate.Test.Any
{
   public class [[#variable2c4de020]]: IPropertyValue
   {
      private long id;

      private [[#variable282e3f80]]value;

      public [[#variable2c4de020]]()
      {
      }

      public [[#variable2c4de020]]( [[#variable282e3f80]]value)
      {
         this.value = value;
      }

      public virtual long Id
      {
         get
         {
            return id;
         }
         set
         {
            id = value;
         }
      }

      public virtual [[#variable282e3f80]]Value
      {
         get
         {
            return value;
         }
         set
         {
            this.value = value;
         }
      }

      #region IPropertyValue Members
      public virtual string AsString()
      {
         return [[#variable282e3f00]];
      }

   #endregion
   }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#2c4de020]]
IntegerPropertyValue 
12[[#2c4de020]]
StringPropertyValue 
21[[#282e3f80]]
int 
22[[#282e3f80]]
string 
31[[#282e3f00]]
value.ToString() 
32[[#282e3f00]]
value