CloneSet781


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
26330.957class_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1279
src/NHibernate.ByteCode.Castle.Tests/ProxyInterface/CastleProxyImpl.cs
2265
src/NHibernate.ByteCode.LinFu.Tests/ProxyInterface/MyProxyImpl.cs
3265
src/NHibernate.ByteCode.Spring.Tests/ProxyInterface/MyProxyImpl.cs
Clone Instance
1
Line Count
27
Source Line
9
Source File
src/NHibernate.ByteCode.Castle.Tests/ProxyInterface/CastleProxyImpl.cs

        /// <summary>
        /// Summary description for CastleProxyImpl.
        /// </summary>
        [Serializable]
        public class CastleProxyImpl : CastleProxy
        {
                private static void Level1()
                {
                        Level2();
                }

                private static void Level2()
                {
                        throw new ArgumentException("thrown from Level2");
                }

                #region CastleProxy Members

                public int Id
                {               get ; set ;
                }

                public string Name
                {                    get ; set ;
                }

                public void ThrowDeepException()
                {
                        Level1();
                }

                #endregion
        }


Clone Instance
2
Line Count
26
Source Line
5
Source File
src/NHibernate.ByteCode.LinFu.Tests/ProxyInterface/MyProxyImpl.cs

        public class MyProxyImpl: IMyProxy
        {
                private static void Level1()
                {
                        Level2();
                }

                private static void Level2()
                {
                        throw new ArgumentException("thrown from Level2");
                }

                #region CastleProxy Members

                public int Id
                {               get ; set ;
                }

                public string Name
                {                    get ; set ;
                }

                public void ThrowDeepException()
                {
                        Level1();
                }

                #endregion
        }


Clone Instance
3
Line Count
26
Source Line
5
Source File
src/NHibernate.ByteCode.Spring.Tests/ProxyInterface/MyProxyImpl.cs

        public class MyProxyImpl: IMyProxy
        {
                private static void Level1()
                {
                        Level2();
                }

                private static void Level2()
                {
                        throw new ArgumentException("thrown from Level2");
                }

                #region IMyProxy Members

                public int Id
                {               get ; set ;
                }

                public string Name
                {                    get ; set ;
                }

                public void ThrowDeepException()
                {
                        Level1();
                }

                #endregion
        }


Clone AbstractionParameter Count: 3Parameter Bindings

 [[#variable66c59040]]
public class [[#variable66c58f80]]: [[#variable66c58ee0]]
{
   private static void Level1()
   {
      Level2();
   }

   private static void Level2()
   {
      throw new ArgumentException("thrown from Level2");
   }

   #region IMyProxy Members
   #region CastleProxy Members
   public int Id
   {
      get ;
      set ;
   }

   public string Name
   {
      get ;
      set ;
   }

   public void ThrowDeepException()
   {
      Level1();
   }

#endregion
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#66c59040]]
12[[#66c59040]]
/// <summary>
/// Summary description for CastleProxyImpl.
/// </summary>
[Serializable] 
13[[#66c59040]]
21[[#66c58f80]]
MyProxyImpl 
22[[#66c58f80]]
CastleProxyImpl 
23[[#66c58f80]]
MyProxyImpl 
31[[#66c58ee0]]
IMyProxy 
32[[#66c58ee0]]
CastleProxy 
33[[#66c58ee0]]
IMyProxy