CloneSet2019


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6230.968class_member_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16505
src/NHibernate/AdoNet/AbstractBatcher.cs
26514
src/NHibernate/AdoNet/AbstractBatcher.cs
Clone Instance
1
Line Count
6
Source Line
505
Source File
src/NHibernate/AdoNet/AbstractBatcher.cs

                private static void LogOpenReader()
                {
                        if (log.IsDebugEnabled)
                        {
                                int currentOpenReaderCount = Interlocked.Increment( ref openReaderCount);
                                log.Debug("Opened IDataReader, open IDataReaders: " + currentOpenReaderCount);
                        }
                }



Clone Instance
2
Line Count
6
Source Line
514
Source File
src/NHibernate/AdoNet/AbstractBatcher.cs

                private static void LogCloseReader()
                {
                        if (log.IsDebugEnabled)
                        {
                                int currentOpenReaderCount = Interlocked.Decrement( ref openReaderCount);
                                log.Debug("Closed IDataReader, open IDataReaders :" + currentOpenReaderCount);
                        }
                }



Clone AbstractionParameter Count: 3Parameter Bindings

private static void [[#variable702f7f20]]()
{
   if (log.IsDebugEnabled)
   {
      int currentOpenReaderCount = Interlocked. [[#variable702f7ea0]]( ref openReaderCount);
      log.Debug( [[#variable702f7e40]]+ currentOpenReaderCount);
   }
}

 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#702f7f20]]
LogCloseReader 
12[[#702f7f20]]
LogOpenReader 
21[[#702f7ea0]]
Decrement 
22[[#702f7ea0]]
Increment 
31[[#702f7e40]]
"Closed IDataReader, open IDataReaders :" 
32[[#702f7e40]]
"Opened IDataReader, open IDataReaders: "