CloneSet437


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
15340.979class_member_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
115717
src/NHibernate/Stat/StatisticsImpl.cs
215736
src/NHibernate/Stat/StatisticsImpl.cs
315755
src/NHibernate/Stat/StatisticsImpl.cs
Clone Instance
1
Line Count
15
Source Line
717
Source File
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++;
                                }
                        }
                }



Clone Instance
2
Line Count
15
Source Line
736
Source File
src/NHibernate/Stat/StatisticsImpl.cs

                [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++;
                                }
                        }
                }



Clone Instance
3
Line Count
15
Source Line
755
Source File
src/NHibernate/Stat/StatisticsImpl.cs

                [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++;
                                }
                        }
                }



Clone AbstractionParameter Count: 4Parameter Bindings

[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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#54af7ae0]]
QueryCachePut 
12[[#54af7ae0]]
QueryCacheMiss 
13[[#54af7ae0]]
QueryCacheHit 
21[[#54af7a60]]
queryCachePutCount 
22[[#54af7a60]]
queryCacheMissCount 
23[[#54af7a60]]
queryCacheHitCount 
31[[#54af79e0]]
cachePutCount 
32[[#54af79e0]]
cacheMissCount 
33[[#54af79e0]]
cacheHitCount 
41[[#54af78e0]]
putCount 
42[[#54af78e0]]
missCount 
43[[#54af78e0]]
hitCount