CloneSet1228


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
23220.979compilation_unit
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1231
src/NHibernate.Test/NHSpecificTest/NH1584/Female.cs
2231
src/NHibernate.Test/NHSpecificTest/NH1584/Male.cs
Clone Instance
1
Line Count
23
Source Line
1
Source File
src/NHibernate.Test/NHSpecificTest/NH1584/Female.cs

namespace NHibernate.Test.NHSpecificTest.NH1584
{
        /// <summary>
        /// This class assumes that all female cats have a calico coat (which is not actually true).
        /// </summary>
        public class Female : Cat
        {
                private Calico _coat;

                public virtual Calico Coat
                {
                        get { return _coat;
                            }
                        set
                        {
                                if (value != null)
                                {
                                        _coat = value;
                                        _coat.Cat = this ;
                                }
                        }
                }

        }
}


Clone Instance
2
Line Count
23
Source Line
1
Source File
src/NHibernate.Test/NHSpecificTest/NH1584/Male.cs

namespace NHibernate.Test.NHSpecificTest.NH1584
{
        /// <summary>
        /// This class assumes that all male cats have a tabby coat pattern (which is not true).
        /// </summary>
        public class Male : Cat
        {
                private Tabby _coat;

                public virtual Tabby Coat
                {
                        get { return _coat;
                            }
                        set
                        {
                                if (value != null)
                                {
                                        _coat = value;
                                        _coat.Cat = this ;
                                }
                        }
                }

        }
}


Clone AbstractionParameter Count: 2Parameter Bindings

namespace NHibernate.Test.NHSpecificTest.NH1584
{
   /// <summary>
   /// This class assumes that all female cats have a calico coat (which is not actually true).
   /// This class assumes that all male cats have a tabby coat pattern (which is not true).
   /// </summary>
   public class [[#variable2813bd60]]: Cat
   {
      private [[#variable2813bce0]]_coat;

      public virtual [[#variable2813bce0]]Coat
      {
         get
         {
            return _coat;
         }
         set
         {
            if (value != null)
            {
               _coat = value;
               _coat.Cat = this ;
            }
         }
      }

   }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#2813bd60]]
Female 
12[[#2813bd60]]
Male 
21[[#2813bce0]]
Calico 
22[[#2813bce0]]
Tabby