CloneSet1581


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
15240.966class_member_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
115476
src/NHibernate/Stat/StatisticsImpl.cs
215494
src/NHibernate/Stat/StatisticsImpl.cs
Clone Instance
1
Line Count
15
Source Line
476
Source File
src/NHibernate/Stat/StatisticsImpl.cs

                #endregion
                #region IStatisticsImplementor Members
                [MethodImpl(MethodImplOptions.Synchronized)]
                public void OpenSession()
                {
                        lock (SyncRoot)
                        {
                                sessionOpenCount++;
                        }
                }

                [MethodImpl(MethodImplOptions.Synchronized)]
                public void CloseSession()
                {
                        lock (SyncRoot)
                        {
                                sessionCloseCount++;
                        }
                }



Clone Instance
2
Line Count
15
Source Line
494
Source File
src/NHibernate/Stat/StatisticsImpl.cs

                [MethodImpl(MethodImplOptions.Synchronized)]
                public void Flush()
                {
                        lock (SyncRoot)
                        {
                                flushCount++;
                        }
                }

                [MethodImpl(MethodImplOptions.Synchronized)]
                public void Connect()
                {
                        lock (SyncRoot)
                        {
                                connectCount++;
                        }
                }



Clone AbstractionParameter Count: 4Parameter Bindings

#endregion
#region IStatisticsImplementor Members
[MethodImpl(MethodImplOptions.Synchronized)]
public void [[#variable2727f400]]()
{
   lock (SyncRoot)
   {
       [[#variable2727f4c0]]++;
   }
}

[MethodImpl(MethodImplOptions.Synchronized)]
public void [[#variable2727f3c0]]()
{
   lock (SyncRoot)
   {
       [[#variable2727f340]]++;
   }
}

 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#2727f400]]
OpenSession 
12[[#2727f400]]
Flush 
21[[#2727f4c0]]
sessionOpenCount 
22[[#2727f4c0]]
flushCount 
31[[#2727f3c0]]
CloseSession 
32[[#2727f3c0]]
Connect 
41[[#2727f340]]
sessionCloseCount 
42[[#2727f340]]
connectCount