Global Metrics

path: .metrics.cognitive.average
old: 3.0
new: 0.0

path: .metrics.cognitive.sum
old: 3.0
new: 0.0

path: .metrics.nargs.average
old: 3.0
new: 2.0

path: .metrics.nargs.sum
old: 3.0
new: 2.0

path: .metrics.cyclomatic.average
old: 2.5
new: 1.0

path: .metrics.cyclomatic.sum
old: 5.0
new: 2.0

path: .metrics.halstead.n2
old: 44.0
new: 11.0

path: .metrics.halstead.length
old: 144.0
new: 30.0

path: .metrics.halstead.N1
old: 80.0
new: 13.0

path: .metrics.halstead.N2
old: 64.0
new: 17.0

path: .metrics.halstead.purity_ratio
old: 2.038319167561441
new: 1.6554462759815691

path: .metrics.halstead.vocabulary
old: 58.0
new: 16.0

path: .metrics.halstead.level
old: 0.09821428571428573
new: 0.2588235294117647

path: .metrics.halstead.bugs
old: 0.1397985297322243
new: 0.01996780863600959

path: .metrics.halstead.difficulty
old: 10.181818181818182
new: 3.863636363636364

path: .metrics.halstead.time
old: 477.1591792394822
new: 25.75757575757576

path: .metrics.halstead.effort
old: 8588.86522631068
new: 463.6363636363636

path: .metrics.halstead.estimated_program_length
old: 293.5179601288475
new: 49.66338827944708

path: .metrics.halstead.n1
old: 14.0
new: 5.0

path: .metrics.halstead.volume
old: 843.5492632983703
new: 120.0

path: .metrics.mi.mi_visual_studio
old: 35.89840528163172
new: 54.677926651852935

path: .metrics.mi.mi_original
old: 61.386273031590235
new: 93.49925457466853

path: .metrics.mi.mi_sei
old: 39.78023114007776
new: 97.81430097526976

path: .metrics.nexits.sum
old: 2.0
new: 0.0

path: .metrics.nexits.average
old: 2.0
new: 0.0

path: .metrics.loc.cloc
old: 12.0
new: 8.0

path: .metrics.loc.sloc
old: 93.0
new: 25.0

path: .metrics.loc.blank
old: 21.0
new: 6.0

path: .metrics.loc.ploc
old: 60.0
new: 11.0

path: .metrics.loc.lloc
old: 12.0
new: 0.0

Spaces Data

Minimal test - lines (17, 25)

path: .spaces[0].metrics.cognitive.sum
old: 3.0
new: 0.0

path: .spaces[0].metrics.cognitive.average
old: 3.0
new: 0.0

path: .spaces[0].metrics.halstead.length
old: 130.0
new: 21.0

path: .spaces[0].metrics.halstead.bugs
old: 0.1254274304767447
new: 0.01236219309991004

path: .spaces[0].metrics.halstead.purity_ratio
old: 1.7909836500144636
new: 1.5238095238095235

path: .spaces[0].metrics.halstead.time
old: 405.5068220749873
new: 12.547368752524044

path: .spaces[0].metrics.halstead.volume
old: 729.9122797349771
new: 75.28421251514428

path: .spaces[0].metrics.halstead.level
old: 0.1
new: 0.3333333333333333

path: .spaces[0].metrics.halstead.N1
old: 80.0
new: 9.0

path: .spaces[0].metrics.halstead.effort
old: 7299.122797349772
new: 225.85263754543283

path: .spaces[0].metrics.halstead.estimated_program_length
old: 232.82787450188027
new: 32.0

path: .spaces[0].metrics.halstead.n2
old: 35.0
new: 8.0

path: .spaces[0].metrics.halstead.difficulty
old: 10.0
new: 3.0

path: .spaces[0].metrics.halstead.N2
old: 50.0
new: 12.0

path: .spaces[0].metrics.halstead.n1
old: 14.0
new: 4.0

path: .spaces[0].metrics.halstead.vocabulary
old: 49.0
new: 12.0

path: .spaces[0].metrics.mi.mi_original
old: 71.17525176234632
new: 112.70435549846712

path: .spaces[0].metrics.mi.mi_sei
old: 50.09751342042941
new: 111.68652487197352

path: .spaces[0].metrics.mi.mi_visual_studio
old: 41.622954246986154
new: 65.90897982366498

path: .spaces[0].metrics.nargs.sum
old: 3.0
new: 2.0

path: .spaces[0].metrics.nargs.average
old: 3.0
new: 2.0

path: .spaces[0].metrics.cyclomatic.average
old: 4.0
new: 1.0

path: .spaces[0].metrics.cyclomatic.sum
old: 4.0
new: 1.0

path: .spaces[0].metrics.nexits.average
old: 2.0
new: 0.0

path: .spaces[0].metrics.nexits.sum
old: 2.0
new: 0.0

path: .spaces[0].metrics.loc.sloc
old: 54.0
new: 9.0

path: .spaces[0].metrics.loc.cloc
old: 5.0
new: 1.0

path: .spaces[0].metrics.loc.lloc
old: 12.0
new: 0.0

path: .spaces[0].metrics.loc.ploc
old: 37.0
new: 6.0

path: .spaces[0].metrics.loc.blank
old: 12.0
new: 2.0

Code

TEST(RecursiveMutex, SmokeTest)
{
  RecursiveMutex mutex("testing mutex");

  RecursiveMutexAutoLock lock1(mutex);
  RecursiveMutexAutoLock lock2(mutex);

  //...and done.
}