Global Metrics

path: .metrics.nargs.average
old: 1.8888888888888888
new: 0.8888888888888888

path: .metrics.nargs.sum
old: 68.0
new: 8.0

path: .metrics.nexits.sum
old: 88.0
new: 5.0

path: .metrics.nexits.average
old: 2.4444444444444446
new: 0.5555555555555556

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

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

path: .metrics.halstead.difficulty
old: 113.96346153846154
new: 12.125

path: .metrics.halstead.length
old: 7084.0
new: 213.0

path: .metrics.halstead.purity_ratio
old: 0.6904365483181328
new: 1.0077306341075307

path: .metrics.halstead.n1
old: 38.0
new: 9.0

path: .metrics.halstead.N2
old: 3119.0
new: 97.0

path: .metrics.halstead.volume
old: 64635.27537299796
new: 1169.7647095182208

path: .metrics.halstead.vocabulary
old: 558.0
new: 45.0

path: .metrics.halstead.level
old: 0.008774742241946642
new: 0.08247422680412371

path: .metrics.halstead.effort
old: 7366059.718998523
new: 14183.397102908428

path: .metrics.halstead.n2
old: 520.0
new: 36.0

path: .metrics.halstead.time
old: 409225.5399443624
new: 787.9665057171349

path: .metrics.halstead.estimated_program_length
old: 4891.052508285653
new: 214.64662506490404

path: .metrics.halstead.bugs
old: 12.619308831576385
new: 0.19531349590323024

path: .metrics.halstead.N1
old: 3965.0
new: 116.0

path: .metrics.nom.total
old: 36.0
new: 9.0

path: .metrics.nom.functions
old: 36.0
new: 9.0

path: .metrics.cyclomatic.sum
old: 234.0
new: 39.0

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

path: .metrics.loc.ploc
old: 1402.0
new: 72.0

path: .metrics.loc.cloc
old: 140.0
new: 132.0

path: .metrics.loc.blank
old: 217.0
new: 24.0

path: .metrics.loc.sloc
old: 1759.0
new: 228.0

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

path: .metrics.mi.mi_visual_studio
old: 0.0
new: 21.83561386377755

path: .metrics.mi.mi_sei
old: -119.39723673949123
new: 28.34540393270194

path: .metrics.mi.mi_original
old: -61.47239318027953
new: 37.33889970705961

Spaces Data

Minimal test - lines (150, 153)

path: .spaces[7].metrics.loc.sloc
old: 11.0
new: 4.0

path: .spaces[7].metrics.loc.lloc
old: 4.0
new: 1.0

path: .spaces[7].metrics.loc.ploc
old: 11.0
new: 4.0

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

path: .spaces[7].metrics.cyclomatic.sum
old: 4.0
new: 3.0

path: .spaces[7].metrics.mi.mi_original
old: 102.08302861267045
new: 127.52733440181224

path: .spaces[7].metrics.mi.mi_sei
old: 71.98110658403091
new: 108.58766050548368

path: .spaces[7].metrics.mi.mi_visual_studio
old: 59.69767755126925
new: 74.57738853907149

path: .spaces[7].metrics.halstead.n1
old: 12.0
new: 6.0

path: .spaces[7].metrics.halstead.time
old: 138.69059468442637
new: 12.457230355827608

path: .spaces[7].metrics.halstead.purity_ratio
old: 2.009043184105529
new: 1.5673183336217955

path: .spaces[7].metrics.halstead.bugs
old: 0.06134206929449261
new: 0.012302916570267969

path: .spaces[7].metrics.halstead.estimated_program_length
old: 112.50641830990963
new: 23.509775004326936

path: .spaces[7].metrics.halstead.volume
old: 272.04693572714405
new: 49.82892142331043

path: .spaces[7].metrics.halstead.N1
old: 30.0
new: 9.0

path: .spaces[7].metrics.halstead.difficulty
old: 9.176470588235292
new: 4.5

path: .spaces[7].metrics.halstead.length
old: 56.0
new: 15.0

path: .spaces[7].metrics.halstead.n2
old: 17.0
new: 4.0

path: .spaces[7].metrics.halstead.vocabulary
old: 29.0
new: 10.0

path: .spaces[7].metrics.halstead.level
old: 0.10897435897435898
new: 0.2222222222222222

path: .spaces[7].metrics.halstead.effort
old: 2496.4307043196745
new: 224.23014640489697

path: .spaces[7].metrics.halstead.N2
old: 26.0
new: 6.0

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

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

path: .spaces[7].metrics.nexits.sum
old: 0.0
new: 1.0

path: .spaces[7].metrics.nexits.average
old: 0.0
new: 1.0

path: .spaces[7].metrics.nargs.average
old: 2.0
new: 1.0

path: .spaces[7].metrics.nargs.sum
old: 2.0
new: 1.0

Code

static inline uint32_t zwp_idle_inhibit_manager_v1_get_version(
    struct zwp_idle_inhibit_manager_v1* zwp_idle_inhibit_manager_v1) {
  return wl_proxy_get_version((struct wl_proxy*)zwp_idle_inhibit_manager_v1);
}

Minimal test - lines (206, 209)

path: .spaces[12].metrics.halstead.N2
old: 134.0
new: 6.0

path: .spaces[12].metrics.halstead.vocabulary
old: 59.0
new: 10.0

path: .spaces[12].metrics.halstead.effort
old: 47221.37638652497
new: 224.23014640489697

path: .spaces[12].metrics.halstead.estimated_program_length
old: 295.9642000579637
new: 23.509775004326936

path: .spaces[12].metrics.halstead.length
old: 296.0
new: 15.0

path: .spaces[12].metrics.halstead.level
old: 0.03687445127304653
new: 0.2222222222222222

path: .spaces[12].metrics.halstead.n2
old: 42.0
new: 4.0

path: .spaces[12].metrics.halstead.time
old: 2623.409799251387
new: 12.457230355827608

path: .spaces[12].metrics.halstead.difficulty
old: 27.11904761904762
new: 4.5

path: .spaces[12].metrics.halstead.bugs
old: 0.43548296681152937
new: 0.012302916570267969

path: .spaces[12].metrics.halstead.n1
old: 17.0
new: 6.0

path: .spaces[12].metrics.halstead.volume
old: 1741.2623426111052
new: 49.82892142331043

path: .spaces[12].metrics.halstead.N1
old: 162.0
new: 9.0

path: .spaces[12].metrics.halstead.purity_ratio
old: 0.9998790542498772
new: 1.5673183336217955

path: .spaces[12].metrics.mi.mi_original
old: 64.2195422105494
new: 127.52733440181224

path: .spaces[12].metrics.mi.mi_sei
old: 44.16219045324567
new: 108.58766050548368

path: .spaces[12].metrics.mi.mi_visual_studio
old: 37.55528784242655
new: 74.57738853907149

path: .spaces[12].metrics.loc.ploc
old: 48.0
new: 4.0

path: .spaces[12].metrics.loc.sloc
old: 61.0
new: 4.0

path: .spaces[12].metrics.loc.cloc
old: 8.0
new: 0.0

path: .spaces[12].metrics.loc.lloc
old: 30.0
new: 1.0

path: .spaces[12].metrics.loc.blank
old: 5.0
new: 0.0

path: .spaces[12].metrics.nexits.average
old: 2.0
new: 1.0

path: .spaces[12].metrics.nexits.sum
old: 2.0
new: 1.0

path: .spaces[12].metrics.cyclomatic.average
old: 6.0
new: 1.0

path: .spaces[12].metrics.cyclomatic.sum
old: 6.0
new: 3.0

path: .spaces[12].metrics.nargs.sum
old: 2.0
new: 1.0

path: .spaces[12].metrics.nargs.average
old: 2.0
new: 1.0

path: .spaces[12].metrics.cognitive.sum
old: 5.0
new: 0.0

path: .spaces[12].metrics.cognitive.average
old: 5.0
new: 0.0

Code

static inline uint32_t zwp_idle_inhibitor_v1_get_version(
    struct zwp_idle_inhibitor_v1* zwp_idle_inhibitor_v1) {
  return wl_proxy_get_version((struct wl_proxy*)zwp_idle_inhibitor_v1);
}

Minimal test - lines (160, 166)

path: .spaces[8].metrics.nargs.sum
old: 3.0
new: 1.0

path: .spaces[8].metrics.nargs.average
old: 3.0
new: 1.0

path: .spaces[8].metrics.cyclomatic.sum
old: 2.0
new: 4.0

path: .spaces[8].metrics.cyclomatic.average
old: 2.0
new: 1.0

path: .spaces[8].metrics.halstead.level
old: 0.12222222222222222
new: 0.2

path: .spaces[8].metrics.halstead.N2
old: 15.0
new: 10.0

path: .spaces[8].metrics.halstead.vocabulary
old: 23.0
new: 12.0

path: .spaces[8].metrics.halstead.purity_ratio
old: 2.0268324453416033
new: 1.348676087332777

path: .spaces[8].metrics.halstead.volume
old: 180.94247824228052
new: 82.45413751658658

path: .spaces[8].metrics.halstead.N1
old: 25.0
new: 13.0

path: .spaces[8].metrics.halstead.estimated_program_length
old: 81.07329781366414
new: 31.019550008653873

path: .spaces[8].metrics.halstead.n2
old: 11.0
new: 6.0

path: .spaces[8].metrics.halstead.time
old: 82.24658101921841
new: 22.903927087940716

path: .spaces[8].metrics.halstead.length
old: 40.0
new: 23.0

path: .spaces[8].metrics.halstead.bugs
old: 0.04329844679933917
new: 0.018464336956543932

path: .spaces[8].metrics.halstead.difficulty
old: 8.181818181818182
new: 5.0

path: .spaces[8].metrics.halstead.n1
old: 12.0
new: 6.0

path: .spaces[8].metrics.halstead.effort
old: 1480.4384583459314
new: 412.2706875829329

path: .spaces[8].metrics.mi.mi_visual_studio
old: 59.62414541986734
new: 67.60970525727953

path: .spaces[8].metrics.mi.mi_sei
old: 71.59606247056557
new: 91.50014634460234

path: .spaces[8].metrics.mi.mi_original
old: 101.95728866797316
new: 115.612595989948

path: .spaces[8].metrics.cognitive.sum
old: 1.0
new: 0.0

path: .spaces[8].metrics.cognitive.average
old: 1.0
new: 0.0

path: .spaces[8].metrics.loc.blank
old: 0.0
new: 1.0

path: .spaces[8].metrics.loc.sloc
old: 13.0
new: 7.0

path: .spaces[8].metrics.loc.ploc
old: 13.0
new: 6.0

path: .spaces[8].metrics.loc.lloc
old: 7.0
new: 2.0

Code

static inline void zwp_idle_inhibit_manager_v1_destroy(
    struct zwp_idle_inhibit_manager_v1* zwp_idle_inhibit_manager_v1) {
  wl_proxy_marshal((struct wl_proxy*)zwp_idle_inhibit_manager_v1,
                   ZWP_IDLE_INHIBIT_MANAGER_V1_DESTROY);

  wl_proxy_destroy((struct wl_proxy*)zwp_idle_inhibit_manager_v1);
}

Minimal test - lines (216, 222)

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

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

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

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

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

path: .spaces[13].metrics.halstead.length
old: 165.0
new: 23.0

path: .spaces[13].metrics.halstead.volume
old: 889.7323747584956
new: 82.45413751658658

path: .spaces[13].metrics.halstead.difficulty
old: 16.362068965517242
new: 5.0

path: .spaces[13].metrics.halstead.time
old: 808.7701375917743
new: 22.903927087940716

path: .spaces[13].metrics.halstead.n1
old: 13.0
new: 6.0

path: .spaces[13].metrics.halstead.n2
old: 29.0
new: 6.0

path: .spaces[13].metrics.halstead.N1
old: 92.0
new: 13.0

path: .spaces[13].metrics.halstead.N2
old: 73.0
new: 10.0

path: .spaces[13].metrics.halstead.effort
old: 14557.862476651935
new: 412.2706875829329

path: .spaces[13].metrics.halstead.estimated_program_length
old: 188.98716519453376
new: 31.019550008653873

path: .spaces[13].metrics.halstead.vocabulary
old: 42.0
new: 12.0

path: .spaces[13].metrics.halstead.level
old: 0.061116965226554264
new: 0.2

path: .spaces[13].metrics.halstead.purity_ratio
old: 1.14537675875475
new: 1.348676087332777

path: .spaces[13].metrics.halstead.bugs
old: 0.1987362787401758
new: 0.018464336956543932

path: .spaces[13].metrics.nargs.sum
old: 2.0
new: 1.0

path: .spaces[13].metrics.nargs.average
old: 2.0
new: 1.0

path: .spaces[13].metrics.loc.cloc
old: 6.0
new: 0.0

path: .spaces[13].metrics.loc.blank
old: 5.0
new: 1.0

path: .spaces[13].metrics.loc.lloc
old: 18.0
new: 2.0

path: .spaces[13].metrics.loc.ploc
old: 30.0
new: 6.0

path: .spaces[13].metrics.loc.sloc
old: 41.0
new: 7.0

path: .spaces[13].metrics.mi.mi_visual_studio
old: 43.6300261996812
new: 67.60970525727953

path: .spaces[13].metrics.mi.mi_original
old: 74.60734480145484
new: 115.612595989948

path: .spaces[13].metrics.mi.mi_sei
old: 60.269619068170805
new: 91.50014634460234

Code

static inline void zwp_idle_inhibitor_v1_destroy(
    struct zwp_idle_inhibitor_v1* zwp_idle_inhibitor_v1) {
  wl_proxy_marshal((struct wl_proxy*)zwp_idle_inhibitor_v1,
                   ZWP_IDLE_INHIBITOR_V1_DESTROY);

  wl_proxy_destroy((struct wl_proxy*)zwp_idle_inhibitor_v1);
}

Minimal test - lines (145, 148)

path: .spaces[6].metrics.mi.mi_visual_studio
old: 63.25274698645776
new: 74.38113104789292

path: .spaces[6].metrics.mi.mi_sei
old: 80.64967331014411
new: 108.10349160264798

path: .spaces[6].metrics.mi.mi_original
old: 108.16219734684276
new: 127.1917340918969

path: .spaces[6].metrics.halstead.n2
old: 12.0
new: 4.0

path: .spaces[6].metrics.halstead.N1
old: 20.0
new: 10.0

path: .spaces[6].metrics.halstead.length
old: 36.0
new: 16.0

path: .spaces[6].metrics.halstead.time
old: 73.3594000115385
new: 13.287712379549449

path: .spaces[6].metrics.halstead.effort
old: 1320.469200207693
new: 239.17882283189007

path: .spaces[6].metrics.halstead.vocabulary
old: 24.0
new: 10.0

path: .spaces[6].metrics.halstead.purity_ratio
old: 2.3899750004807707
new: 1.4693609377704335

path: .spaces[6].metrics.halstead.estimated_program_length
old: 86.03910001730775
new: 23.509775004326936

path: .spaces[6].metrics.halstead.N2
old: 16.0
new: 6.0

path: .spaces[6].metrics.halstead.bugs
old: 0.04012030837638073
new: 0.012843810659451275

path: .spaces[6].metrics.halstead.difficulty
old: 8.0
new: 4.5

path: .spaces[6].metrics.halstead.level
old: 0.125
new: 0.2222222222222222

path: .spaces[6].metrics.halstead.n1
old: 12.0
new: 6.0

path: .spaces[6].metrics.halstead.volume
old: 165.0586500259616
new: 53.150849518197795

path: .spaces[6].metrics.cognitive.average
old: 2.0
new: 0.0

path: .spaces[6].metrics.cognitive.sum
old: 2.0
new: 0.0

path: .spaces[6].metrics.cyclomatic.average
old: 3.0
new: 1.0

path: .spaces[6].metrics.loc.ploc
old: 9.0
new: 4.0

path: .spaces[6].metrics.loc.sloc
old: 9.0
new: 4.0

path: .spaces[6].metrics.loc.lloc
old: 2.0
new: 1.0

path: .spaces[6].metrics.nargs.average
old: 1.0
new: 0.0

path: .spaces[6].metrics.nargs.sum
old: 1.0
new: 0.0

Code

static inline void* zwp_idle_inhibit_manager_v1_get_user_data(
    struct zwp_idle_inhibit_manager_v1* zwp_idle_inhibit_manager_v1) {
  return wl_proxy_get_user_data((struct wl_proxy*)zwp_idle_inhibit_manager_v1);
}

Minimal test - lines (122, 122)

path: .spaces[4].metrics.mi.mi_visual_studio
old: 59.69767755126925
new: null

path: .spaces[4].metrics.mi.mi_sei
old: 71.98110658403091
new: null

path: .spaces[4].metrics.mi.mi_original
old: 102.08302861267045
new: null

path: .spaces[4].metrics.halstead.N2
old: 26.0
new: 1.0

path: .spaces[4].metrics.halstead.vocabulary
old: 29.0
new: 1.0

path: .spaces[4].metrics.halstead.n1
old: 12.0
new: 0.0

path: .spaces[4].metrics.halstead.volume
old: 272.04693572714405
new: 0.0

path: .spaces[4].metrics.halstead.effort
old: 2496.4307043196745
new: 0.0

path: .spaces[4].metrics.halstead.purity_ratio
old: 2.009043184105529
new: null

path: .spaces[4].metrics.halstead.bugs
old: 0.06134206929449261
new: 0.0

path: .spaces[4].metrics.halstead.length
old: 56.0
new: 1.0

path: .spaces[4].metrics.halstead.difficulty
old: 9.176470588235292
new: 0.0

path: .spaces[4].metrics.halstead.level
old: 0.10897435897435898
new: null

path: .spaces[4].metrics.halstead.time
old: 138.69059468442637
new: 0.0

path: .spaces[4].metrics.halstead.N1
old: 30.0
new: 0.0

path: .spaces[4].metrics.halstead.estimated_program_length
old: 112.50641830990963
new: null

path: .spaces[4].metrics.halstead.n2
old: 17.0
new: 1.0

path: .spaces[4].metrics.nexits.average
old: 0.0
new: null

path: .spaces[4].metrics.nom.functions
old: 1.0
new: 0.0

path: .spaces[4].metrics.nom.total
old: 1.0
new: 0.0

path: .spaces[4].metrics.cognitive.average
old: 3.0
new: null

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

path: .spaces[4].metrics.loc.sloc
old: 11.0
new: 1.0

path: .spaces[4].metrics.loc.lloc
old: 4.0
new: 0.0

path: .spaces[4].metrics.loc.ploc
old: 11.0
new: 1.0

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

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

path: .spaces[4].metrics.nargs.sum
old: 2.0
new: 0.0

path: .spaces[4].metrics.nargs.average
old: 2.0
new: null

Code

extern const struct wl_interface zwp_idle_inhibitor_v1_interface;

Minimal test - lines (201, 204)

path: .spaces[11].metrics.cognitive.average
old: 4.0
new: 0.0

path: .spaces[11].metrics.cognitive.sum
old: 4.0
new: 0.0

path: .spaces[11].metrics.mi.mi_original
old: 80.46978497213227
new: 127.1917340918969

path: .spaces[11].metrics.mi.mi_visual_studio
old: 47.05835378487267
new: 74.38113104789292

path: .spaces[11].metrics.mi.mi_sei
old: 69.54030758201976
new: 108.10349160264798

path: .spaces[11].metrics.halstead.vocabulary
old: 39.0
new: 10.0

path: .spaces[11].metrics.halstead.bugs
old: 0.16114775735593762
new: 0.012843810659451275

path: .spaces[11].metrics.halstead.difficulty
old: 17.043478260869566
new: 4.5

path: .spaces[11].metrics.halstead.length
old: 118.0
new: 16.0

path: .spaces[11].metrics.halstead.N2
old: 49.0
new: 6.0

path: .spaces[11].metrics.halstead.estimated_program_length
old: 168.0419249893113
new: 23.509775004326936

path: .spaces[11].metrics.halstead.purity_ratio
old: 1.4240841100789092
new: 1.4693609377704335

path: .spaces[11].metrics.halstead.volume
old: 623.6774618257454
new: 53.150849518197795

path: .spaces[11].metrics.halstead.n2
old: 23.0
new: 4.0

path: .spaces[11].metrics.halstead.time
old: 590.5351812456333
new: 13.287712379549449

path: .spaces[11].metrics.halstead.n1
old: 16.0
new: 6.0

path: .spaces[11].metrics.halstead.N1
old: 69.0
new: 10.0

path: .spaces[11].metrics.halstead.effort
old: 10629.6332624214
new: 239.17882283189007

path: .spaces[11].metrics.halstead.level
old: 0.0586734693877551
new: 0.2222222222222222

path: .spaces[11].metrics.cyclomatic.sum
old: 4.0
new: 3.0

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

path: .spaces[11].metrics.nexits.average
old: 2.0
new: 1.0

path: .spaces[11].metrics.nexits.sum
old: 2.0
new: 1.0

path: .spaces[11].metrics.nargs.average
old: 2.0
new: 0.0

path: .spaces[11].metrics.nargs.sum
old: 2.0
new: 0.0

path: .spaces[11].metrics.loc.sloc
old: 32.0
new: 4.0

path: .spaces[11].metrics.loc.blank
old: 2.0
new: 0.0

path: .spaces[11].metrics.loc.lloc
old: 12.0
new: 1.0

path: .spaces[11].metrics.loc.cloc
old: 5.0
new: 0.0

path: .spaces[11].metrics.loc.ploc
old: 25.0
new: 4.0

Code

static inline void* zwp_idle_inhibitor_v1_get_user_data(
    struct zwp_idle_inhibitor_v1* zwp_idle_inhibitor_v1) {
  return wl_proxy_get_user_data((struct wl_proxy*)zwp_idle_inhibitor_v1);
}

Minimal test - lines (195, 198)

path: .spaces[10].metrics.cyclomatic.average
old: 10.0
new: 1.0

path: .spaces[10].metrics.cyclomatic.sum
old: 10.0
new: 3.0

path: .spaces[10].metrics.halstead.vocabulary
old: 79.0
new: 11.0

path: .spaces[10].metrics.halstead.effort
old: 131157.29482138858
new: 332.1054353891805

path: .spaces[10].metrics.halstead.n2
old: 53.0
new: 5.0

path: .spaces[10].metrics.halstead.purity_ratio
old: 0.978830383364409
new: 1.3559707739381874

path: .spaces[10].metrics.halstead.estimated_program_length
old: 425.7912167635179
new: 27.11941547876375

path: .spaces[10].metrics.halstead.N2
old: 195.0
new: 8.0

path: .spaces[10].metrics.halstead.time
old: 7286.516378966033
new: 18.450301966065584

path: .spaces[10].metrics.halstead.level
old: 0.020907297830374753
new: 0.20833333333333337

path: .spaces[10].metrics.halstead.difficulty
old: 47.83018867924528
new: 4.8

path: .spaces[10].metrics.halstead.volume
old: 2742.1446254570396
new: 69.18863237274594

path: .spaces[10].metrics.halstead.n1
old: 26.0
new: 6.0

path: .spaces[10].metrics.halstead.length
old: 435.0
new: 20.0

path: .spaces[10].metrics.halstead.N1
old: 240.0
new: 12.0

path: .spaces[10].metrics.halstead.bugs
old: 0.8604792043979419
new: 0.015985616907190494

path: .spaces[10].metrics.mi.mi_sei
old: 29.177387869145875
new: 106.12519178234146

path: .spaces[10].metrics.mi.mi_original
old: 57.37634275048645
new: 125.8204811491492

path: .spaces[10].metrics.mi.mi_visual_studio
old: 33.553416813149965
new: 73.57922874219251

path: .spaces[10].metrics.nexits.sum
old: 3.0
new: 0.0

path: .spaces[10].metrics.nexits.average
old: 3.0
new: 0.0

path: .spaces[10].metrics.cognitive.sum
old: 12.0
new: 0.0

path: .spaces[10].metrics.cognitive.average
old: 12.0
new: 0.0

path: .spaces[10].metrics.loc.ploc
old: 63.0
new: 4.0

path: .spaces[10].metrics.loc.cloc
old: 6.0
new: 0.0

path: .spaces[10].metrics.loc.lloc
old: 41.0
new: 1.0

path: .spaces[10].metrics.loc.blank
old: 7.0
new: 0.0

path: .spaces[10].metrics.loc.sloc
old: 76.0
new: 4.0

Code

static inline void zwp_idle_inhibitor_v1_set_user_data(
    struct zwp_idle_inhibitor_v1* zwp_idle_inhibitor_v1, void* user_data) {
  wl_proxy_set_user_data((struct wl_proxy*)zwp_idle_inhibitor_v1, user_data);
}

Minimal test - lines (47, 47)

path: .spaces[1].metrics.loc.ploc
old: 16.0
new: 1.0

path: .spaces[1].metrics.loc.sloc
old: 16.0
new: 1.0

path: .spaces[1].metrics.halstead.volume
old: 197.1533875310097
new: 0.0

path: .spaces[1].metrics.halstead.estimated_program_length
old: 92.32026322986492
new: null

path: .spaces[1].metrics.halstead.n1
old: 5.0
new: 0.0

path: .spaces[1].metrics.halstead.length
old: 43.0
new: 1.0

path: .spaces[1].metrics.halstead.vocabulary
old: 24.0
new: 1.0

path: .spaces[1].metrics.halstead.bugs
old: 0.02497463704018988
new: 0.0

path: .spaces[1].metrics.halstead.time
old: 36.029493335345336
new: 0.0

path: .spaces[1].metrics.halstead.effort
old: 648.5308800362161
new: 0.0

path: .spaces[1].metrics.halstead.n2
old: 19.0
new: 1.0

path: .spaces[1].metrics.halstead.level
old: 0.304
new: null

path: .spaces[1].metrics.halstead.purity_ratio
old: 2.1469828658108123
new: null

path: .spaces[1].metrics.halstead.difficulty
old: 3.289473684210526
new: 0.0

path: .spaces[1].metrics.halstead.N1
old: 18.0
new: 0.0

path: .spaces[1].metrics.halstead.N2
old: 25.0
new: 1.0

path: .spaces[1].metrics.mi.mi_visual_studio
old: 57.39611466536275
new: null

path: .spaces[1].metrics.mi.mi_sei
old: 66.09949161655867
new: null

path: .spaces[1].metrics.mi.mi_original
old: 98.14735607777033
new: null

path: .spaces[1].metrics.cyclomatic.sum
old: 2.0
new: 1.0

Code

struct zwp_idle_inhibit_manager_v1;

Minimal test - lines (48, 48)

path: .spaces[2].metrics.halstead.n2
old: 55.0
new: 1.0

path: .spaces[2].metrics.halstead.effort
old: 1593.2336520598906
new: 0.0

path: .spaces[2].metrics.halstead.difficulty
old: 2.036363636363636
new: 0.0

path: .spaces[2].metrics.halstead.purity_ratio
old: 2.4509382273974154
new: null

path: .spaces[2].metrics.halstead.N2
old: 56.0
new: 1.0

path: .spaces[2].metrics.halstead.time
old: 88.51298066999392
new: 0.0

path: .spaces[2].metrics.halstead.level
old: 0.4910714285714286
new: null

path: .spaces[2].metrics.halstead.vocabulary
old: 59.0
new: 1.0

path: .spaces[2].metrics.halstead.length
old: 133.0
new: 1.0

path: .spaces[2].metrics.halstead.estimated_program_length
old: 325.9747842438563
new: null

path: .spaces[2].metrics.halstead.volume
old: 782.3915255651249
new: 0.0

path: .spaces[2].metrics.halstead.bugs
old: 0.04547070899298943
new: 0.0

path: .spaces[2].metrics.halstead.N1
old: 77.0
new: 0.0

path: .spaces[2].metrics.halstead.n1
old: 4.0
new: 0.0

path: .spaces[2].metrics.mi.mi_sei
old: 61.24472732946013
new: null

path: .spaces[2].metrics.mi.mi_visual_studio
old: 38.331619598548336
new: null

path: .spaces[2].metrics.mi.mi_original
old: 65.54706951351766
new: null

path: .spaces[2].metrics.loc.blank
old: 1.0
new: 0.0

path: .spaces[2].metrics.loc.sloc
old: 78.0
new: 1.0

path: .spaces[2].metrics.loc.ploc
old: 44.0
new: 1.0

path: .spaces[2].metrics.loc.cloc
old: 33.0
new: 0.0

Code

struct zwp_idle_inhibitor_v1;

Minimal test - lines (86, 86)

path: .spaces[3].metrics.cyclomatic.average
old: 3.0
new: 1.0

path: .spaces[3].metrics.cyclomatic.sum
old: 3.0
new: 1.0

path: .spaces[3].metrics.nargs.average
old: 1.0
new: null

path: .spaces[3].metrics.nargs.sum
old: 1.0
new: 0.0

path: .spaces[3].metrics.loc.lloc
old: 2.0
new: 0.0

path: .spaces[3].metrics.loc.sloc
old: 9.0
new: 1.0

path: .spaces[3].metrics.loc.ploc
old: 9.0
new: 1.0

path: .spaces[3].metrics.nexits.average
old: 1.0
new: null

path: .spaces[3].metrics.nexits.sum
old: 1.0
new: 0.0

path: .spaces[3].metrics.nom.total
old: 1.0
new: 0.0

path: .spaces[3].metrics.nom.functions
old: 1.0
new: 0.0

path: .spaces[3].metrics.cognitive.sum
old: 2.0
new: 0.0

path: .spaces[3].metrics.cognitive.average
old: 2.0
new: null

path: .spaces[3].metrics.mi.mi_visual_studio
old: 63.25274698645776
new: null

path: .spaces[3].metrics.mi.mi_sei
old: 80.64967331014411
new: null

path: .spaces[3].metrics.mi.mi_original
old: 108.16219734684276
new: null

path: .spaces[3].metrics.halstead.N1
old: 20.0
new: 0.0

path: .spaces[3].metrics.halstead.purity_ratio
old: 2.3899750004807707
new: null

path: .spaces[3].metrics.halstead.level
old: 0.125
new: null

path: .spaces[3].metrics.halstead.N2
old: 16.0
new: 1.0

path: .spaces[3].metrics.halstead.vocabulary
old: 24.0
new: 1.0

path: .spaces[3].metrics.halstead.volume
old: 165.0586500259616
new: 0.0

path: .spaces[3].metrics.halstead.time
old: 73.3594000115385
new: 0.0

path: .spaces[3].metrics.halstead.effort
old: 1320.469200207693
new: 0.0

path: .spaces[3].metrics.halstead.difficulty
old: 8.0
new: 0.0

path: .spaces[3].metrics.halstead.length
old: 36.0
new: 1.0

path: .spaces[3].metrics.halstead.bugs
old: 0.04012030837638073
new: 0.0

path: .spaces[3].metrics.halstead.estimated_program_length
old: 86.03910001730775
new: null

path: .spaces[3].metrics.halstead.n1
old: 12.0
new: 0.0

path: .spaces[3].metrics.halstead.n2
old: 12.0
new: 1.0

Code

extern const struct wl_interface zwp_idle_inhibit_manager_v1_interface;

Minimal test - lines (137, 142)

path: .spaces[5].metrics.cognitive.average
old: 5.0
new: 0.0

path: .spaces[5].metrics.cognitive.sum
old: 5.0
new: 0.0

path: .spaces[5].metrics.halstead.vocabulary
old: 32.0
new: 11.0

path: .spaces[5].metrics.halstead.N2
old: 47.0
new: 8.0

path: .spaces[5].metrics.halstead.length
old: 105.0
new: 20.0

path: .spaces[5].metrics.halstead.n1
old: 11.0
new: 6.0

path: .spaces[5].metrics.halstead.level
old: 0.08123791102514506
new: 0.20833333333333337

path: .spaces[5].metrics.halstead.time
old: 359.02777777777777
new: 18.450301966065584

path: .spaces[5].metrics.halstead.bugs
old: 0.11565003876575906
new: 0.015985616907190494

path: .spaces[5].metrics.halstead.difficulty
old: 12.30952380952381
new: 4.8

path: .spaces[5].metrics.halstead.n2
old: 21.0
new: 5.0

path: .spaces[5].metrics.halstead.effort
old: 6462.5
new: 332.1054353891805

path: .spaces[5].metrics.halstead.N1
old: 58.0
new: 12.0

path: .spaces[5].metrics.halstead.estimated_program_length
old: 130.29241368336423
new: 27.11941547876375

path: .spaces[5].metrics.halstead.volume
old: 525.0
new: 69.18863237274594

path: .spaces[5].metrics.halstead.purity_ratio
old: 1.2408801303177546
new: 1.3559707739381874

path: .spaces[5].metrics.cyclomatic.sum
old: 4.0
new: 3.0

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

path: .spaces[5].metrics.loc.lloc
old: 13.0
new: 1.0

path: .spaces[5].metrics.loc.ploc
old: 22.0
new: 6.0

path: .spaces[5].metrics.loc.sloc
old: 22.0
new: 6.0

path: .spaces[5].metrics.mi.mi_sei
old: 50.84910499279765
new: 96.64879927065874

path: .spaces[5].metrics.mi.mi_visual_studio
old: 51.13183701176541
new: 69.73798034958885

path: .spaces[5].metrics.mi.mi_original
old: 87.43544129011886
new: 119.25194639779691

path: .spaces[5].metrics.nargs.average
old: 1.0
new: 2.0

path: .spaces[5].metrics.nargs.sum
old: 1.0
new: 2.0

Code

static inline void zwp_idle_inhibit_manager_v1_set_user_data(
    struct zwp_idle_inhibit_manager_v1* zwp_idle_inhibit_manager_v1,
    void* user_data) {
  wl_proxy_set_user_data((struct wl_proxy*)zwp_idle_inhibit_manager_v1,
                         user_data);
}

Minimal test - lines (173, 185)

path: .spaces[9].metrics.halstead.difficulty
old: 11.66
new: 6.545454545454546

path: .spaces[9].metrics.halstead.N2
old: 53.0
new: 18.0

path: .spaces[9].metrics.halstead.purity_ratio
old: 1.2953794331880537
new: 1.5513436951252566

path: .spaces[9].metrics.halstead.estimated_program_length
old: 154.1501525493784
new: 62.05374780501027

path: .spaces[9].metrics.halstead.volume
old: 615.2210751716351
new: 169.9171005377434

path: .spaces[9].metrics.halstead.length
old: 119.0
new: 40.0

path: .spaces[9].metrics.halstead.time
old: 398.52654091673696
new: 61.78803655917942

path: .spaces[9].metrics.halstead.effort
old: 7173.477736501265
new: 1112.1846580652295

path: .spaces[9].metrics.halstead.vocabulary
old: 36.0
new: 19.0

path: .spaces[9].metrics.halstead.level
old: 0.08576329331046312
new: 0.15277777777777776

path: .spaces[9].metrics.halstead.N1
old: 66.0
new: 22.0

path: .spaces[9].metrics.halstead.n1
old: 11.0
new: 8.0

path: .spaces[9].metrics.halstead.n2
old: 25.0
new: 11.0

path: .spaces[9].metrics.halstead.bugs
old: 0.1239838872096234
new: 0.03578189568206679

path: .spaces[9].metrics.loc.lloc
old: 13.0
new: 2.0

path: .spaces[9].metrics.loc.blank
old: 1.0
new: 2.0

path: .spaces[9].metrics.loc.ploc
old: 24.0
new: 11.0

path: .spaces[9].metrics.loc.sloc
old: 25.0
new: 13.0

path: .spaces[9].metrics.nargs.average
old: 3.0
new: 0.0

path: .spaces[9].metrics.nargs.sum
old: 3.0
new: 0.0

path: .spaces[9].metrics.mi.mi_original
old: 84.30990692694898
new: 101.13420490319112

path: .spaces[9].metrics.mi.mi_visual_studio
old: 49.30403913856666
new: 59.14280988490708

path: .spaces[9].metrics.mi.mi_sei
old: 46.44173192632894
new: 70.91770290190065

path: .spaces[9].metrics.cognitive.average
old: 9.0
new: 0.0

path: .spaces[9].metrics.cognitive.sum
old: 9.0
new: 0.0

path: .spaces[9].metrics.nexits.average
old: 0.0
new: 1.0

path: .spaces[9].metrics.nexits.sum
old: 0.0
new: 1.0

path: .spaces[9].metrics.cyclomatic.average
old: 5.0
new: 1.0

path: .spaces[9].metrics.cyclomatic.sum
old: 5.0
new: 7.0

Code

static inline struct zwp_idle_inhibitor_v1*
zwp_idle_inhibit_manager_v1_create_inhibitor(
    struct zwp_idle_inhibit_manager_v1* zwp_idle_inhibit_manager_v1,
    struct wl_surface* surface) {
  struct wl_proxy* id;

  id = wl_proxy_marshal_constructor(
      (struct wl_proxy*)zwp_idle_inhibit_manager_v1,
      ZWP_IDLE_INHIBIT_MANAGER_V1_CREATE_INHIBITOR,
      &zwp_idle_inhibitor_v1_interface, NULL, surface);

  return (struct zwp_idle_inhibitor_v1*)id;
}