Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
15 | 2 | 4 | 0.966 | class_member_declarations[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 15 | 476 | src/NHibernate/Stat/StatisticsImpl.cs |
2 | 15 | 494 | 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++; } } |
| ||||
[MethodImpl(MethodImplOptions.Synchronized)] public void Flush() { lock (SyncRoot) { flushCount++; } } [MethodImpl(MethodImplOptions.Synchronized)] public void Connect() { lock (SyncRoot) { connectCount++; } } |
| |||
#endregion #region IStatisticsImplementor Members [MethodImpl(MethodImplOptions.Synchronized)] public void [[#variable2727f400]]() { lock (SyncRoot) { [[#variable2727f4c0]]++; } } [MethodImpl(MethodImplOptions.Synchronized)] public void [[#variable2727f3c0]]() { lock (SyncRoot) { [[#variable2727f340]]++; } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#2727f400]] | OpenSession |
1 | 2 | [[#2727f400]] | Flush |
2 | 1 | [[#2727f4c0]] | sessionOpenCount |
2 | 2 | [[#2727f4c0]] | flushCount |
3 | 1 | [[#2727f3c0]] | CloseSession |
3 | 2 | [[#2727f3c0]] | Connect |
4 | 1 | [[#2727f340]] | sessionCloseCount |
4 | 2 | [[#2727f340]] | connectCount |