# Global Metrics

path: .metrics.cyclomatic.sum
old: 94.0
new: 4.0
path: .metrics.cyclomatic.average
old: 6.266666666666667
new: 1.3333333333333333
path: .metrics.halstead.estimated_program_length
old: 1417.213630670518
new: 107.54061610626604
path: .metrics.halstead.effort
old: 1078248.2628171723
new: 2569.389813047964
path: .metrics.halstead.n2
old: 169.0
new: 17.0
path: .metrics.halstead.level
old: 0.01326738891505731
new: 0.1103896103896104
path: .metrics.halstead.time
old: 59902.68126762068
new: 142.74387850266464
path: .metrics.halstead.bugs
old: 3.505026103445372
new: 0.06253148520929186
path: .metrics.halstead.length
old: 1868.0
new: 59.0
path: .metrics.halstead.N1
old: 1096.0
new: 31.0
path: .metrics.halstead.difficulty
old: 75.37278106508876
new: 9.058823529411764
path: .metrics.halstead.volume
old: 14305.539049780353
new: 283.6339404013986
path: .metrics.halstead.N2
old: 772.0
new: 28.0
path: .metrics.halstead.n1
old: 33.0
new: 11.0
path: .metrics.halstead.purity_ratio
old: 0.7586796738064873
new: 1.8227223068858651
path: .metrics.halstead.vocabulary
old: 202.0
new: 28.0
path: .metrics.nom.functions
old: 13.0
new: 2.0
path: .metrics.nom.total
old: 13.0
new: 2.0
path: .metrics.nexits.sum
old: 21.0
new: 3.0
path: .metrics.nexits.average
old: 1.6153846153846154
new: 1.5
path: .metrics.loc.lloc
old: 241.0
new: 5.0
path: .metrics.loc.ploc
old: 415.0
new: 18.0
path: .metrics.loc.sloc
old: 560.0
new: 26.0
path: .metrics.loc.cloc
old: 96.0
new: 4.0
path: .metrics.loc.blank
old: 49.0
new: 4.0
path: .metrics.cognitive.sum
old: 124.0
new: 1.0
path: .metrics.cognitive.average
old: 9.538461538461538
new: 0.5
path: .metrics.mi.mi_original
old: -2.888266750827114
new: 87.93087686858931
path: .metrics.mi.mi_sei
old: -40.37970292492258
new: 80.11059091827521
path: .metrics.mi.mi_visual_studio
old: 0.0
new: 51.421565420227665
path: .metrics.nargs.average
old: 1.3846153846153846
new: 0.5
path: .metrics.nargs.sum
old: 18.0
new: 1.0

# Spaces Data

## Minimal test - lines (21, 25)

path: .spaces[1].metrics.halstead.purity_ratio
old: 1.6789032482462782
new: 1.8113560349303728
path: .spaces[1].metrics.halstead.volume
old: 101.57915548582147
new: 118.53642239625984
path: .spaces[1].metrics.halstead.level
old: 0.2077922077922078
new: 0.17307692307692307
path: .spaces[1].metrics.halstead.bugs
old: 0.020685322940825732
new: 0.025899249437987597
path: .spaces[1].metrics.halstead.length
old: 26.0
new: 29.0
path: .spaces[1].metrics.halstead.vocabulary
old: 15.0
new: 17.0
path: .spaces[1].metrics.halstead.N2
old: 11.0
new: 13.0
path: .spaces[1].metrics.halstead.time
old: 27.15831587641755
new: 38.04872817657723
path: .spaces[1].metrics.halstead.difficulty
old: 4.8125
new: 5.777777777777778
path: .spaces[1].metrics.halstead.effort
old: 488.8496857755159
new: 684.8771071783901
path: .spaces[1].metrics.halstead.estimated_program_length
old: 43.65148445440323
new: 52.529325012980806
path: .spaces[1].metrics.halstead.n1
old: 7.0
new: 8.0
path: .spaces[1].metrics.halstead.N1
old: 15.0
new: 16.0
path: .spaces[1].metrics.halstead.n2
old: 8.0
new: 9.0
path: .spaces[1].metrics.cyclomatic.sum
old: 2.0
new: 1.0
path: .spaces[1].metrics.cyclomatic.average
old: 2.0
new: 1.0
path: .spaces[1].metrics.nexits.average
old: 0.0
new: 1.0
path: .spaces[1].metrics.nexits.sum
old: 0.0
new: 1.0
path: .spaces[1].metrics.mi.mi_visual_studio
old: 63.86535793298997
new: 70.09705285776867
path: .spaces[1].metrics.mi.mi_sei
old: 113.99466040808122
new: 97.33099448879852
path: .spaces[1].metrics.mi.mi_original
old: 109.20976206541285
new: 119.86596038678442
path: .spaces[1].metrics.cognitive.sum
old: 1.0
new: 0.0
path: .spaces[1].metrics.cognitive.average
old: 1.0
new: 0.0
path: .spaces[1].metrics.nargs.sum
old: 2.0
new: 1.0
path: .spaces[1].metrics.nargs.average
old: 2.0
new: 1.0
path: .spaces[1].metrics.loc.cloc
old: 2.0
new: 0.0
path: .spaces[1].metrics.loc.lloc
old: 3.0
new: 2.0
path: .spaces[1].metrics.loc.ploc
old: 8.0
new: 5.0
path: .spaces[1].metrics.loc.sloc
old: 10.0
new: 5.0

### Code

    static inline GtkWindowType gtk_window_get_window_type(GtkWindow* window) {
      gint type;
      g_object_get(window, "type", &type, (void*)NULL);
      return (GtkWindowType)type;
    }

## Minimal test - lines (14, 19)

path: .spaces[0].metrics.halstead.purity_ratio
old: 0.6942636219013509
new: 1.8461538461538465
path: .spaces[0].metrics.halstead.estimated_program_length
old: 361.71134701060384
new: 48.0
path: .spaces[0].metrics.halstead.time
old: 10972.521296689194
new: 31.77777777777778
path: .spaces[0].metrics.halstead.vocabulary
old: 70.0
new: 16.0
path: .spaces[0].metrics.halstead.n1
old: 27.0
new: 8.0
path: .spaces[0].metrics.halstead.N2
old: 197.0
new: 11.0
path: .spaces[0].metrics.halstead.volume
old: 3193.3564518283274
new: 104.0
path: .spaces[0].metrics.halstead.level
old: 0.016168452716676066
new: 0.18181818181818185
path: .spaces[0].metrics.halstead.N1
old: 324.0
new: 15.0
path: .spaces[0].metrics.halstead.difficulty
old: 61.84883720930232
new: 5.5
path: .spaces[0].metrics.halstead.length
old: 521.0
new: 26.0
path: .spaces[0].metrics.halstead.effort
old: 197505.3833404055
new: 572.0
path: .spaces[0].metrics.halstead.n2
old: 43.0
new: 8.0
path: .spaces[0].metrics.halstead.bugs
old: 1.1304847381965646
new: 0.022969035790571857
path: .spaces[0].metrics.mi.mi_sei
old: 17.04100288540072
new: 93.8213209539836
path: .spaces[0].metrics.mi.mi_visual_studio
old: 23.94600471025402
new: 68.6331367970587
path: .spaces[0].metrics.mi.mi_original
old: 40.947668054534375
new: 117.36266392297036
path: .spaces[0].metrics.cognitive.sum
old: 56.0
new: 1.0
path: .spaces[0].metrics.cognitive.average
old: 56.0
new: 1.0
path: .spaces[0].metrics.cyclomatic.average
old: 16.0
new: 2.0
path: .spaces[0].metrics.cyclomatic.sum
old: 32.0
new: 2.0
path: .spaces[0].metrics.nexits.average
old: 4.0
new: 2.0
path: .spaces[0].metrics.nexits.sum
old: 4.0
new: 2.0
path: .spaces[0].metrics.loc.ploc
old: 107.0
new: 5.0
path: .spaces[0].metrics.loc.lloc
old: 80.0
new: 3.0
path: .spaces[0].metrics.loc.cloc
old: 26.0
new: 0.0
path: .spaces[0].metrics.loc.blank
old: 13.0
new: 1.0
path: .spaces[0].metrics.loc.sloc
old: 146.0
new: 6.0

### Code

    static inline GtkWidget* gtk_window_group_get_current_grab(
        GtkWindowGroup* window_group) {
      if (!window_group->grabs) return NULL;

      return GTK_WIDGET(window_group->grabs->data);
    }