Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
10 | 3 | 3 | 0.976 | class_member_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 10 | 652 | src/NHibernate/Stat/StatisticsImpl.cs |
2 | 10 | 666 | src/NHibernate/Stat/StatisticsImpl.cs |
3 | 10 | 680 | src/NHibernate/Stat/StatisticsImpl.cs |
| ||||
[MethodImpl(MethodImplOptions.Synchronized)] public void SecondLevelCachePut(string regionName) { lock (SyncRoot) { SecondLevelCacheStatistics slc = GetSecondLevelCacheStatistics(regionName); if (slc != null) { secondLevelCachePutCount++; slc.putCount++; } } } |
| ||||
[MethodImpl(MethodImplOptions.Synchronized)] public void SecondLevelCacheHit(string regionName) { lock (SyncRoot) { SecondLevelCacheStatistics slc = GetSecondLevelCacheStatistics(regionName); if (slc != null) { secondLevelCacheHitCount++; slc.hitCount++; } } } |
| ||||
[MethodImpl(MethodImplOptions.Synchronized)] public void SecondLevelCacheMiss(string regionName) { lock (SyncRoot) { SecondLevelCacheStatistics slc = GetSecondLevelCacheStatistics(regionName); if (slc != null) { secondLevelCacheMissCount++; slc.missCount++; } } } |
| |||
[MethodImpl(MethodImplOptions.Synchronized)] public void [[#variable2c22a380]](string regionName) { lock (SyncRoot) { SecondLevelCacheStatistics slc = GetSecondLevelCacheStatistics(regionName); if (slc != null) { [[#variable2c22a2e0]]++; slc. [[#variable2c22a280]]++; } } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#2c22a380]] | SecondLevelCacheMiss |
1 | 2 | [[#2c22a380]] | SecondLevelCacheHit |
1 | 3 | [[#2c22a380]] | SecondLevelCachePut |
2 | 1 | [[#2c22a2e0]] | secondLevelCacheMissCount |
2 | 2 | [[#2c22a2e0]] | secondLevelCacheHitCount |
2 | 3 | [[#2c22a2e0]] | secondLevelCachePutCount |
3 | 1 | [[#2c22a280]] | missCount |
3 | 2 | [[#2c22a280]] | hitCount |
3 | 3 | [[#2c22a280]] | putCount |