CloneSet836


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



Clone Instance
2
Line Count
10
Source Line
666
Source File
src/NHibernate/Stat/StatisticsImpl.cs

                [MethodImpl(MethodImplOptions.Synchronized)]
                public void SecondLevelCacheHit(string regionName)
                {
                        lock (SyncRoot)
                        {
                                SecondLevelCacheStatistics slc = GetSecondLevelCacheStatistics(regionName);
                                if (slc != null)
                                {
                                        secondLevelCacheHitCount++;
                                        slc.hitCount++;
                                }
                        }
                }



Clone Instance
3
Line Count
10
Source Line
680
Source File
src/NHibernate/Stat/StatisticsImpl.cs

                [MethodImpl(MethodImplOptions.Synchronized)]
                public void SecondLevelCacheMiss(string regionName)
                {
                        lock (SyncRoot)
                        {
                                SecondLevelCacheStatistics slc = GetSecondLevelCacheStatistics(regionName);
                                if (slc != null)
                                {
                                        secondLevelCacheMissCount++;
                                        slc.missCount++;
                                }
                        }
                }



Clone AbstractionParameter Count: 3Parameter Bindings

[MethodImpl(MethodImplOptions.Synchronized)]
public void [[#variable2c22a380]](string regionName)
{
   lock (SyncRoot)
   {
      SecondLevelCacheStatistics slc = GetSecondLevelCacheStatistics(regionName);
      if (slc != null)
      {
          [[#variable2c22a2e0]]++;
         slc. [[#variable2c22a280]]++;
      }
   }
}

 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#2c22a380]]
SecondLevelCacheMiss 
12[[#2c22a380]]
SecondLevelCacheHit 
13[[#2c22a380]]
SecondLevelCachePut 
21[[#2c22a2e0]]
secondLevelCacheMissCount 
22[[#2c22a2e0]]
secondLevelCacheHitCount 
23[[#2c22a2e0]]
secondLevelCachePutCount 
31[[#2c22a280]]
missCount 
32[[#2c22a280]]
hitCount 
33[[#2c22a280]]
putCount