Global Metrics
path: .metrics.cognitive.average
old: 9.77777777777778
new: 0.6
path: .metrics.cognitive.sum
old: 88.0
new: 3.0
path: .metrics.loc.lloc
old: 165.0
new: 9.0
path: .metrics.loc.sloc
old: 472.0
new: 634.0
path: .metrics.loc.ploc
old: 352.0
new: 257.0
path: .metrics.loc.blank
old: 69.0
new: 56.0
path: .metrics.loc.cloc
old: 51.0
new: 321.0
path: .metrics.cyclomatic.sum
old: 70.0
new: 20.0
path: .metrics.cyclomatic.average
old: 6.363636363636363
new: 1.1764705882352942
path: .metrics.halstead.level
old: 0.022306397306397305
new: 0.05405405405405406
path: .metrics.halstead.vocabulary
old: 239.0
new: 273.0
path: .metrics.halstead.time
old: 32999.38641663869
new: 7136.463005434491
path: .metrics.halstead.n2
old: 212.0
new: 252.0
path: .metrics.halstead.effort
old: 593988.9554994964
new: 128456.33409782084
path: .metrics.halstead.purity_ratio
old: 1.0534890273856958
new: 2.4504815927742807
path: .metrics.halstead.bugs
old: 2.3553981260812393
new: 0.8486248818515331
path: .metrics.halstead.difficulty
old: 44.83018867924528
new: 18.5
path: .metrics.halstead.length
old: 1677.0
new: 858.0
path: .metrics.halstead.N1
old: 973.0
new: 414.0
path: .metrics.halstead.estimated_program_length
old: 1766.701098925812
new: 2102.513206600333
path: .metrics.halstead.N2
old: 704.0
new: 444.0
path: .metrics.halstead.volume
old: 13249.753636983716
new: 6943.585626909234
path: .metrics.halstead.n1
old: 27.0
new: 21.0
path: .metrics.nargs.sum
old: 25.0
new: 3.0
path: .metrics.nargs.average
old: 2.7777777777777777
new: 0.6
path: .metrics.nexits.average
old: 3.5555555555555554
new: 0.6
path: .metrics.nexits.sum
old: 32.0
new: 3.0
path: .metrics.nom.total
old: 9.0
new: 5.0
path: .metrics.nom.closures
old: 1.0
new: 0.0
path: .metrics.nom.functions
old: 8.0
new: 5.0
path: .metrics.mi.mi_original
old: 5.7999223969211755
new: 15.87982431683649
path: .metrics.mi.mi_sei
old: -35.830394871183515
new: -6.141512269228166
path: .metrics.mi.mi_visual_studio
old: 3.3917674835796348
new: 9.286446968910228
Spaces Data
Minimal test - lines (24, 39)
path: .spaces[0].metrics.cognitive.average
old: 9.77777777777778
new: null
path: .spaces[0].metrics.cognitive.sum
old: 88.0
new: 0.0
path: .spaces[0].metrics.loc.lloc
old: 165.0
new: 0.0
path: .spaces[0].metrics.loc.blank
old: 67.0
new: 0.0
path: .spaces[0].metrics.loc.sloc
old: 431.0
new: 16.0
path: .spaces[0].metrics.loc.ploc
old: 319.0
new: 14.0
path: .spaces[0].metrics.loc.cloc
old: 45.0
new: 4.0
path: .spaces[0].metrics.nom.functions
old: 8.0
new: 0.0
path: .spaces[0].metrics.nom.closures
old: 1.0
new: 0.0
path: .spaces[0].metrics.nom.total
old: 9.0
new: 0.0
path: .spaces[0].metrics.nexits.average
old: 3.5555555555555554
new: null
path: .spaces[0].metrics.nexits.sum
old: 32.0
new: 0.0
path: .spaces[0].metrics.nargs.average
old: 2.7777777777777777
new: null
path: .spaces[0].metrics.nargs.sum
old: 25.0
new: 0.0
path: .spaces[0].metrics.cyclomatic.average
old: 6.9
new: 1.0
path: .spaces[0].metrics.cyclomatic.sum
old: 69.0
new: 1.0
path: .spaces[0].metrics.mi.mi_visual_studio
old: 4.522028481745279
new: 58.40266600943986
path: .spaces[0].metrics.mi.mi_sei
old: -33.52268881622432
new: 103.45223602190194
path: .spaces[0].metrics.mi.mi_original
old: 7.732668703784427
new: 99.86855887614216
path: .spaces[0].metrics.halstead.volume
old: 12674.923776060235
new: 148.0
path: .spaces[0].metrics.halstead.time
old: 35346.23080644422
new: 14.095238095238097
path: .spaces[0].metrics.halstead.difficulty
old: 50.19613259668508
new: 1.7142857142857142
path: .spaces[0].metrics.halstead.n2
old: 181.0
new: 14.0
path: .spaces[0].metrics.halstead.purity_ratio
old: 0.9027059952129248
new: 1.4946748353731474
path: .spaces[0].metrics.halstead.N2
old: 673.0
new: 24.0
path: .spaces[0].metrics.halstead.effort
old: 636232.154515996
new: 253.7142857142857
path: .spaces[0].metrics.halstead.n1
old: 27.0
new: 2.0
path: .spaces[0].metrics.halstead.bugs
old: 2.4657884919536235
new: 0.013359043363234086
path: .spaces[0].metrics.halstead.length
old: 1646.0
new: 37.0
path: .spaces[0].metrics.halstead.level
old: 0.019921853502834187
new: 0.5833333333333334
path: .spaces[0].metrics.halstead.N1
old: 973.0
new: 13.0
path: .spaces[0].metrics.halstead.estimated_program_length
old: 1485.854068120474
new: 55.302968908806456
path: .spaces[0].metrics.halstead.vocabulary
old: 208.0
new: 16.0
Code
typedef struct {
guint8 active;
guint8 focused;
guint8 selected;
guint8 inHover;
guint8 disabled;
guint8 isDefault;
guint8 canDefault;
/* The depressed state is for buttons which remain active for a longer period:
* activated toggle buttons or buttons showing a popup menu. */
guint8 depressed;
guint8 backdrop;
gint32 curpos; /* curpos and maxpos are used for scrollbars */
gint32 maxpos;
gint32 scale; /* actual widget scale */
} GtkWidgetState;