Global Metrics
path: .metrics.mi.mi_original
old: 58.246182376688594
new: 60.62285741568404
path: .metrics.mi.mi_sei
old: 47.88615234308072
new: 51.15925572297803
path: .metrics.mi.mi_visual_studio
old: 34.06209495712783
new: 35.451963400984816
path: .metrics.loc.sloc
old: 94.0
new: 126.0
path: .metrics.loc.lloc
old: 1.0
new: 0.0
path: .metrics.loc.blank
old: 12.0
new: 18.0
path: .metrics.loc.ploc
old: 51.0
new: 66.0
path: .metrics.loc.cloc
old: 31.0
new: 42.0
path: .metrics.cognitive.average
old: 0.0
new: null
path: .metrics.halstead.difficulty
old: 6.015625
new: 3.5416666666666665
path: .metrics.halstead.length
old: 220.0
new: 74.0
path: .metrics.halstead.level
old: 0.16623376623376623
new: 0.2823529411764706
path: .metrics.halstead.n1
old: 10.0
new: 5.0
path: .metrics.halstead.bugs
old: 0.13574274148497484
new: 0.04179740101945595
path: .metrics.halstead.estimated_program_length
old: 417.2192809488736
new: 197.72694052636004
path: .metrics.halstead.effort
old: 8217.823438574564
new: 1404.1250878769893
path: .metrics.halstead.n2
old: 64.0
new: 36.0
path: .metrics.halstead.purity_ratio
old: 1.8964512770403348
new: 2.671985682788649
path: .metrics.halstead.volume
old: 1366.079740438369
new: 396.4588483417382
path: .metrics.halstead.time
old: 456.5457465874758
new: 78.00694932649941
path: .metrics.halstead.vocabulary
old: 74.0
new: 41.0
path: .metrics.halstead.N1
old: 143.0
new: 23.0
path: .metrics.halstead.N2
old: 77.0
new: 51.0
path: .metrics.nargs.average
old: 0.0
new: null
path: .metrics.cyclomatic.sum
old: 7.0
new: 4.0
path: .metrics.nom.total
old: 2.0
new: 0.0
path: .metrics.nom.functions
old: 2.0
new: 0.0
path: .metrics.nexits.average
old: 0.5
new: null
path: .metrics.nexits.sum
old: 1.0
new: 0.0
Spaces Data
Minimal test - lines (21, 44)
path: .spaces[0].metrics.mi.mi_original
old: 61.47962258709734
new: 97.9137288867466
path: .spaces[0].metrics.mi.mi_visual_studio
old: 35.9529956649692
new: 57.2594905770448
path: .spaces[0].metrics.mi.mi_sei
old: 51.29824290608118
new: 111.95193230220524
path: .spaces[0].metrics.loc.lloc
old: 1.0
new: 0.0
path: .spaces[0].metrics.loc.ploc
old: 45.0
new: 6.0
path: .spaces[0].metrics.loc.blank
old: 10.0
new: 4.0
path: .spaces[0].metrics.loc.cloc
old: 24.0
new: 14.0
path: .spaces[0].metrics.loc.sloc
old: 79.0
new: 24.0
path: .spaces[0].metrics.nom.total
old: 2.0
new: 0.0
path: .spaces[0].metrics.nom.functions
old: 2.0
new: 0.0
path: .spaces[0].metrics.cyclomatic.sum
old: 6.0
new: 1.0
path: .spaces[0].metrics.nargs.average
old: 0.0
new: null
path: .spaces[0].metrics.cognitive.average
old: 0.0
new: null
path: .spaces[0].metrics.halstead.bugs
old: 0.13229547875135994
new: 0.009508845188649612
path: .spaces[0].metrics.halstead.difficulty
old: 6.0
new: 2.5
path: .spaces[0].metrics.halstead.level
old: 0.16666666666666666
new: 0.4
path: .spaces[0].metrics.halstead.n1
old: 10.0
new: 5.0
path: .spaces[0].metrics.halstead.estimated_program_length
old: 387.6327166853848
new: 31.26112492884004
path: .spaces[0].metrics.halstead.n2
old: 60.0
new: 7.0
path: .spaces[0].metrics.halstead.time
old: 439.2652828810559
new: 8.464494793369395
path: .spaces[0].metrics.halstead.purity_ratio
old: 1.802942868304115
new: 1.838889701696473
path: .spaces[0].metrics.halstead.N1
old: 143.0
new: 10.0
path: .spaces[0].metrics.halstead.vocabulary
old: 70.0
new: 12.0
path: .spaces[0].metrics.halstead.N2
old: 72.0
new: 7.0
path: .spaces[0].metrics.halstead.effort
old: 7906.775091859006
new: 152.36090628064912
path: .spaces[0].metrics.halstead.volume
old: 1317.7958486431678
new: 60.94436251225965
path: .spaces[0].metrics.halstead.length
old: 215.0
new: 17.0
path: .spaces[0].metrics.nexits.average
old: 0.5
new: null
path: .spaces[0].metrics.nexits.sum
old: 1.0
new: 0.0
Code
namespace mozilla {
/**
* Shutdown XPCOM. You must call this method after you are finished
* using xpcom.
*
* @param aServMgr The service manager which was returned by
* NS_InitXPCOM. This will release servMgr. You may pass null.
*
* @return NS_OK for success;
* other error codes indicate a failure during shutdown
*
*/
MOZ_CAN_RUN_SCRIPT
nsresult ShutdownXPCOM(nsIServiceManager* aServMgr);
void SetICUMemoryFunctions();
/**
* C++ namespaced version of NS_LogTerm.
*/
void LogTerm();
} // namespace mozilla