Global Metrics
path: .metrics.mi.mi_original
old: 2.0978793925055896
new: 64.42446178834628
path: .metrics.mi.mi_visual_studio
old: 1.226830054096836
new: 37.67512385283408
path: .metrics.mi.mi_sei
old: -31.891709388862537
new: 36.97433534047251
path: .metrics.cognitive.sum
old: 58.0
new: 2.0
path: .metrics.cognitive.average
old: 2.1481481481481484
new: 0.25
path: .metrics.nargs.sum
old: 18.0
new: 11.0
path: .metrics.nargs.average
old: 0.6666666666666666
new: 1.375
path: .metrics.loc.cloc
old: 101.0
new: 4.0
path: .metrics.loc.blank
old: 71.0
new: 10.0
path: .metrics.loc.sloc
old: 494.0
new: 66.0
path: .metrics.loc.lloc
old: 210.0
new: 19.0
path: .metrics.loc.ploc
old: 322.0
new: 52.0
path: .metrics.nom.functions
old: 27.0
new: 8.0
path: .metrics.nom.total
old: 27.0
new: 8.0
path: .metrics.nexits.average
old: 0.8148148148148148
new: 0.75
path: .metrics.nexits.sum
old: 22.0
new: 6.0
path: .metrics.halstead.level
old: 0.012274475007394262
new: 0.04971002485501243
path: .metrics.halstead.n2
old: 166.0
new: 30.0
path: .metrics.halstead.N2
old: 644.0
new: 71.0
path: .metrics.halstead.difficulty
old: 81.46987951807229
new: 20.116666666666667
path: .metrics.halstead.N1
old: 994.0
new: 118.0
path: .metrics.halstead.vocabulary
old: 208.0
new: 47.0
path: .metrics.halstead.estimated_program_length
old: 1450.7338773602974
new: 216.69358616951132
path: .metrics.halstead.n1
old: 42.0
new: 17.0
path: .metrics.halstead.time
old: 57089.20454265513
new: 1173.2680301956088
path: .metrics.halstead.bugs
old: 3.394400451525694
new: 0.2546782791267126
path: .metrics.halstead.purity_ratio
old: 0.8856739178023794
new: 1.1465269109497953
path: .metrics.halstead.effort
old: 1027605.6817677924
new: 21118.82454352096
path: .metrics.halstead.volume
old: 12613.320258315109
new: 1049.8172929670734
path: .metrics.halstead.length
old: 1638.0
new: 189.0
path: .metrics.cyclomatic.average
old: 2.7096774193548385
new: 1.2222222222222223
path: .metrics.cyclomatic.sum
old: 84.0
new: 11.0
Spaces Data
Minimal test - lines (22, 22)
path: .spaces[1].metrics.mi.mi_original
old: 40.0048732198574
new: 158.02045369261705
path: .spaces[1].metrics.mi.mi_sei
old: 9.2953389748366
new: 152.37629276875444
path: .spaces[1].metrics.mi.mi_visual_studio
old: 23.394662701670995
new: 92.40962204246613
path: .spaces[1].metrics.halstead.time
old: 6132.542076109384
new: 1.289960052715201
path: .spaces[1].metrics.halstead.effort
old: 110385.75736996892
new: 23.21928094887362
path: .spaces[1].metrics.halstead.estimated_program_length
old: 626.3806416644047
new: 8.0
path: .spaces[1].metrics.halstead.n2
old: 79.0
new: 1.0
path: .spaces[1].metrics.halstead.level
old: 0.03096217911032726
new: 0.5
path: .spaces[1].metrics.halstead.vocabulary
old: 106.0
new: 5.0
path: .spaces[1].metrics.halstead.volume
old: 3417.783590918105
new: 11.60964047443681
path: .spaces[1].metrics.halstead.N1
old: 319.0
new: 4.0
path: .spaces[1].metrics.halstead.purity_ratio
old: 1.233032759181899
new: 1.6
path: .spaces[1].metrics.halstead.N2
old: 189.0
new: 1.0
path: .spaces[1].metrics.halstead.bugs
old: 0.7670448759872865
new: 0.002712967490108627
path: .spaces[1].metrics.halstead.difficulty
old: 32.29746835443038
new: 2.0
path: .spaces[1].metrics.halstead.length
old: 508.0
new: 5.0
path: .spaces[1].metrics.halstead.n1
old: 27.0
new: 4.0
path: .spaces[1].metrics.loc.cloc
old: 17.0
new: 0.0
path: .spaces[1].metrics.loc.sloc
old: 158.0
new: 1.0
path: .spaces[1].metrics.loc.blank
old: 19.0
new: 0.0
path: .spaces[1].metrics.loc.ploc
old: 122.0
new: 1.0
path: .spaces[1].metrics.loc.lloc
old: 99.0
new: 0.0
path: .spaces[1].metrics.cognitive.sum
old: 16.0
new: 0.0
path: .spaces[1].metrics.cognitive.average
old: 4.0
new: 0.0
path: .spaces[1].metrics.nexits.average
old: 1.25
new: 0.0
path: .spaces[1].metrics.nexits.sum
old: 5.0
new: 0.0
path: .spaces[1].metrics.nom.total
old: 4.0
new: 1.0
path: .spaces[1].metrics.nom.functions
old: 4.0
new: 1.0
path: .spaces[1].metrics.cyclomatic.average
old: 5.8
new: 1.0
path: .spaces[1].metrics.cyclomatic.sum
old: 29.0
new: 1.0
Code
nsProfilerStartParams::~nsProfilerStartParams() {}
Minimal test - lines (11, 20)
path: .spaces[0].metrics.nexits.sum
old: 17.0
new: 0.0
path: .spaces[0].metrics.nexits.average
old: 0.7391304347826086
new: 0.0
path: .spaces[0].metrics.loc.lloc
old: 111.0
new: 0.0
path: .spaces[0].metrics.loc.blank
old: 48.0
new: 0.0
path: .spaces[0].metrics.loc.cloc
old: 47.0
new: 0.0
path: .spaces[0].metrics.loc.sloc
old: 294.0
new: 10.0
path: .spaces[0].metrics.loc.ploc
old: 199.0
new: 10.0
path: .spaces[0].metrics.cognitive.average
old: 1.826086956521739
new: 0.0
path: .spaces[0].metrics.cognitive.sum
old: 42.0
new: 0.0
path: .spaces[0].metrics.nargs.average
old: 0.782608695652174
new: 6.0
path: .spaces[0].metrics.nargs.sum
old: 18.0
new: 6.0
path: .spaces[0].metrics.halstead.n1
old: 37.0
new: 10.0
path: .spaces[0].metrics.halstead.length
old: 1129.0
new: 57.0
path: .spaces[0].metrics.halstead.difficulty
old: 84.83838383838383
new: 6.764705882352941
path: .spaces[0].metrics.halstead.n2
old: 99.0
new: 17.0
path: .spaces[0].metrics.halstead.effort
old: 678855.1601589287
new: 1833.4286809812663
path: .spaces[0].metrics.halstead.purity_ratio
old: 0.7520425862853433
new: 1.8018622675461295
path: .spaces[0].metrics.halstead.time
old: 37714.17556438493
new: 101.8571489434037
path: .spaces[0].metrics.halstead.volume
old: 8001.745547771633
new: 271.02858762331766
path: .spaces[0].metrics.halstead.estimated_program_length
old: 849.0560799161525
new: 102.7061492501294
path: .spaces[0].metrics.halstead.N2
old: 454.0
new: 23.0
path: .spaces[0].metrics.halstead.vocabulary
old: 136.0
new: 27.0
path: .spaces[0].metrics.halstead.bugs
old: 2.574720915466769
new: 0.04993304979214504
path: .spaces[0].metrics.halstead.N1
old: 675.0
new: 34.0
path: .spaces[0].metrics.halstead.level
old: 0.011787117513989762
new: 0.14782608695652175
path: .spaces[0].metrics.nom.functions
old: 23.0
new: 1.0
path: .spaces[0].metrics.nom.total
old: 23.0
new: 1.0
path: .spaces[0].metrics.cyclomatic.average
old: 2.16
new: 2.0
path: .spaces[0].metrics.cyclomatic.sum
old: 54.0
new: 2.0
path: .spaces[0].metrics.mi.mi_visual_studio
old: 11.56225135636454
new: 60.88102637956208
path: .spaces[0].metrics.mi.mi_sei
old: -12.650508267330338
new: 74.69679850665783
path: .spaces[0].metrics.mi.mi_original
old: 19.771449819383363
new: 104.10655510905114
Code
nsProfilerStartParams::nsProfilerStartParams(
uint32_t aEntries, const mozilla::Maybe& aDuration,
double aInterval, uint32_t aFeatures, nsTArray&& aFilters,
uint64_t aActiveBrowsingContextID)
: mEntries(aEntries),
mDuration(aDuration),
mInterval(aInterval),
mFeatures(aFeatures),
mFilters(std::move(aFilters)),
mActiveBrowsingContextID(aActiveBrowsingContextID) {}