Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 3 | 0.968 | class_member_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 505 | src/NHibernate/AdoNet/AbstractBatcher.cs |
2 | 6 | 514 | 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); } } |
| ||||
private static void LogCloseReader() { if (log.IsDebugEnabled) { int currentOpenReaderCount = Interlocked.Decrement( ref openReaderCount); log.Debug("Closed IDataReader, open IDataReaders :" + currentOpenReaderCount); } } |
| |||
private static void [[#variable702f7f20]]() { if (log.IsDebugEnabled) { int currentOpenReaderCount = Interlocked. [[#variable702f7ea0]]( ref openReaderCount); log.Debug( [[#variable702f7e40]]+ currentOpenReaderCount); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#702f7f20]] | LogCloseReader |
1 | 2 | [[#702f7f20]] | LogOpenReader |
2 | 1 | [[#702f7ea0]] | Decrement |
2 | 2 | [[#702f7ea0]] | Increment |
3 | 1 | [[#702f7e40]] | "Closed IDataReader, open IDataReaders :" |
3 | 2 | [[#702f7e40]] | "Opened IDataReader, open IDataReaders: " |