Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
15 | 3 | 4 | 0.979 | class_member_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 15 | 717 | src/NHibernate/Stat/StatisticsImpl.cs |
2 | 15 | 736 | src/NHibernate/Stat/StatisticsImpl.cs |
3 | 15 | 755 | src/NHibernate/Stat/StatisticsImpl.cs |
| ||||
[MethodImpl(MethodImplOptions.Synchronized)] public void QueryCacheHit(string hql, string regionName) { lock (SyncRoot) { queryCacheHitCount++; if (hql != null) { QueryStatistics qs = GetQueryStatistics(hql); qs.cacheHitCount++; } SecondLevelCacheStatistics slcs = GetSecondLevelCacheStatistics(regionName); if (slcs != null) { slcs.hitCount++; } } } |
| ||||
[MethodImpl(MethodImplOptions.Synchronized)] public void QueryCacheMiss(string hql, string regionName) { lock (SyncRoot) { queryCacheMissCount++; if (hql != null) { QueryStatistics qs = GetQueryStatistics(hql); qs.cacheMissCount++; } SecondLevelCacheStatistics slcs = GetSecondLevelCacheStatistics(regionName); if (slcs != null) { slcs.missCount++; } } } |
| ||||
[MethodImpl(MethodImplOptions.Synchronized)] public void QueryCachePut(string hql, string regionName) { lock (SyncRoot) { queryCachePutCount++; if (hql != null) { QueryStatistics qs = GetQueryStatistics(hql); qs.cachePutCount++; } SecondLevelCacheStatistics slcs = GetSecondLevelCacheStatistics(regionName); if (slcs != null) { slcs.putCount++; } } } |
| |||
[MethodImpl(MethodImplOptions.Synchronized)] public void [[#variable54af7ae0]](string hql, string regionName) { lock (SyncRoot) { [[#variable54af7a60]]++; if (hql != null) { QueryStatistics qs = GetQueryStatistics(hql); qs. [[#variable54af79e0]]++; } SecondLevelCacheStatistics slcs = GetSecondLevelCacheStatistics(regionName); if (slcs != null) { slcs. [[#variable54af78e0]]++; } } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#54af7ae0]] | QueryCachePut |
1 | 2 | [[#54af7ae0]] | QueryCacheMiss |
1 | 3 | [[#54af7ae0]] | QueryCacheHit |
2 | 1 | [[#54af7a60]] | queryCachePutCount |
2 | 2 | [[#54af7a60]] | queryCacheMissCount |
2 | 3 | [[#54af7a60]] | queryCacheHitCount |
3 | 1 | [[#54af79e0]] | cachePutCount |
3 | 2 | [[#54af79e0]] | cacheMissCount |
3 | 3 | [[#54af79e0]] | cacheHitCount |
4 | 1 | [[#54af78e0]] | putCount |
4 | 2 | [[#54af78e0]] | missCount |
4 | 3 | [[#54af78e0]] | hitCount |