Global Metrics

path: .metrics.nargs.average
old: 3.6666666666666665
new: 1.8571428571428572

path: .metrics.nargs.sum
old: 33.0
new: 26.0

path: .metrics.mi.mi_visual_studio
old: 1.017067900253528
new: 4.935944128675248

path: .metrics.mi.mi_sei
old: -37.1012799813713
new: -8.61045114427997

path: .metrics.mi.mi_original
old: 1.7391861094335326
new: 8.440464460034676

path: .metrics.cyclomatic.sum
old: 92.0
new: 65.0

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

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

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

path: .metrics.loc.lloc
old: 234.0
new: 18.0

path: .metrics.loc.blank
old: 51.0
new: 35.0

path: .metrics.loc.sloc
old: 468.0
new: 650.0

path: .metrics.loc.cloc
old: 62.0
new: 464.0

path: .metrics.loc.ploc
old: 355.0
new: 151.0

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

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

path: .metrics.nexits.average
old: 0.7777777777777778
new: 0.5714285714285714

path: .metrics.nexits.sum
old: 7.0
new: 8.0

path: .metrics.halstead.time
old: 53116.25845362502
new: 2294.305493389742

path: .metrics.halstead.volume
old: 11227.059957338148
new: 3670.888789423587

path: .metrics.halstead.effort
old: 956092.6521652504
new: 41297.49888101535

path: .metrics.halstead.purity_ratio
old: 0.6523659195629089
new: 1.1742453134256443

path: .metrics.halstead.length
old: 1543.0
new: 549.0

path: .metrics.halstead.vocabulary
old: 155.0
new: 103.0

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

path: .metrics.halstead.level
old: 0.011742648509966447
new: 0.08888888888888889

path: .metrics.halstead.N2
old: 563.0
new: 235.0

path: .metrics.halstead.estimated_program_length
old: 1006.6006138855684
new: 644.6606770706787

path: .metrics.halstead.N1
old: 980.0
new: 314.0

path: .metrics.halstead.n2
old: 119.0
new: 94.0

path: .metrics.halstead.bugs
old: 3.2350331274832236
new: 0.39825500766579786

path: .metrics.halstead.difficulty
old: 85.15966386554622
new: 11.25

Spaces Data

Minimal test - lines (46, 46)

path: .spaces[0].metrics.mi.mi_visual_studio
old: 24.959327831080095
new: null

path: .spaces[0].metrics.mi.mi_original
old: 42.680450591146965
new: null

path: .spaces[0].metrics.mi.mi_sei
old: 8.217260522922814
new: null

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

path: .spaces[0].metrics.cognitive.average
old: 12.0
new: null

path: .spaces[0].metrics.loc.ploc
old: 113.0
new: 1.0

path: .spaces[0].metrics.loc.blank
old: 10.0
new: 0.0

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

path: .spaces[0].metrics.loc.lloc
old: 96.0
new: 0.0

path: .spaces[0].metrics.loc.sloc
old: 131.0
new: 1.0

path: .spaces[0].metrics.cyclomatic.sum
old: 36.0
new: 1.0

path: .spaces[0].metrics.cyclomatic.average
old: 36.0
new: 1.0

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

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

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

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

path: .spaces[0].metrics.halstead.length
old: 414.0
new: 1.0

path: .spaces[0].metrics.halstead.N2
old: 159.0
new: 1.0

path: .spaces[0].metrics.halstead.n2
old: 62.0
new: 1.0

path: .spaces[0].metrics.halstead.level
old: 0.027852650494159924
new: null

path: .spaces[0].metrics.halstead.effort
old: 96494.48559461228
new: 0.0

path: .spaces[0].metrics.halstead.bugs
old: 0.7012621660167423
new: 0.0

path: .spaces[0].metrics.halstead.volume
old: 2687.6271818804853
new: 0.0

path: .spaces[0].metrics.halstead.N1
old: 255.0
new: 0.0

path: .spaces[0].metrics.halstead.purity_ratio
old: 1.2168263503903365
new: null

path: .spaces[0].metrics.halstead.estimated_program_length
old: 503.7661090615992
new: null

path: .spaces[0].metrics.halstead.difficulty
old: 35.903225806451616
new: 0.0

path: .spaces[0].metrics.halstead.n1
old: 28.0
new: 0.0

path: .spaces[0].metrics.halstead.vocabulary
old: 90.0
new: 1.0

path: .spaces[0].metrics.halstead.time
old: 5360.8047552562375
new: 0.0

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

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

Code

struct wl_buffer;

Minimal test - lines (48, 48)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

path: .spaces[2].metrics.nargs.sum
old: 5.0
new: 0.0

path: .spaces[2].metrics.nargs.average
old: 5.0
new: null

Code

struct zwp_linux_dmabuf_v1;

Minimal test - lines (222, 261)

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

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

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

path: .spaces[5].metrics.halstead.level
old: 0.2857142857142857
new: 0.1794871794871795

path: .spaces[5].metrics.halstead.difficulty
old: 3.5
new: 5.571428571428571

path: .spaces[5].metrics.halstead.length
old: 18.0
new: 40.0

path: .spaces[5].metrics.halstead.time
old: 12.547368752524044
new: 45.814967938889716

path: .spaces[5].metrics.halstead.N1
old: 11.0
new: 27.0

path: .spaces[5].metrics.halstead.N2
old: 7.0
new: 13.0

path: .spaces[5].metrics.halstead.bugs
old: 0.01236219309991004
new: 0.02931334234013092

path: .spaces[5].metrics.halstead.purity_ratio
old: 1.723308333814104
new: 0.8790314864682541

path: .spaces[5].metrics.halstead.effort
old: 225.85263754543283
new: 824.6694229000149

path: .spaces[5].metrics.halstead.n2
old: 6.0
new: 7.0

path: .spaces[5].metrics.halstead.estimated_program_length
old: 31.019550008653873
new: 35.161259458730164

path: .spaces[5].metrics.halstead.vocabulary
old: 12.0
new: 13.0

path: .spaces[5].metrics.halstead.volume
old: 64.5293250129808
new: 148.0175887256437

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

path: .spaces[5].metrics.loc.cloc
old: 1.0
new: 34.0

path: .spaces[5].metrics.loc.sloc
old: 7.0
new: 40.0

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

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

path: .spaces[5].metrics.mi.mi_sei
old: 121.66153564869106
new: 96.09784250869212

path: .spaces[5].metrics.mi.mi_visual_studio
old: 68.75861565597634
new: 49.45264975102159

path: .spaces[5].metrics.mi.mi_original
old: 117.57723277171954
new: 84.56403107424693

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

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

Code

struct zwp_linux_dmabuf_v1_listener {
  /**
   * supported buffer format
   *
   * This event advertises one buffer format that the server
   * supports. All the supported formats are advertised once when the
   * client binds to this interface. A roundtrip after binding
   * guarantees that the client has received all supported formats.
   *
   * For the definition of the format codes, see the
   * zwp_linux_buffer_params_v1::create request.
   *
   * Warning: the 'format' event is likely to be deprecated and
   * replaced with the 'modifier' event introduced in
   * zwp_linux_dmabuf_v1 version 3, described below. Please refrain
   * from using the information received from this event.
   * @param format DRM_FORMAT code
   */
  void (*format)(void* data, struct zwp_linux_dmabuf_v1* zwp_linux_dmabuf_v1,
                 uint32_t format);
  /**
   * supported buffer format modifier
   *
   * This event advertises the formats that the server supports,
   * along with the modifiers supported for each format. All the
   * supported modifiers for all the supported formats are advertised
   * once when the client binds to this interface. A roundtrip after
   * binding guarantees that the client has received all supported
   * format-modifier pairs.
   *
   * For the definition of the format and modifier codes, see the
   * zwp_linux_buffer_params_v1::create request.
   * @param format DRM_FORMAT code
   * @param modifier_hi high 32 bits of layout modifier
   * @param modifier_lo low 32 bits of layout modifier
   * @since 3
   */
  void (*modifier)(void* data, struct zwp_linux_dmabuf_v1* zwp_linux_dmabuf_v1,
                   uint32_t format, uint32_t modifier_hi, uint32_t modifier_lo);
};

Minimal test - lines (47, 47)

path: .spaces[1].metrics.nargs.sum
old: 4.0
new: 0.0

path: .spaces[1].metrics.nargs.average
old: 4.0
new: null

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

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

path: .spaces[1].metrics.cyclomatic.average
old: 22.0
new: 1.0

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

path: .spaces[1].metrics.cognitive.average
old: 16.0
new: null

path: .spaces[1].metrics.cognitive.sum
old: 16.0
new: 0.0

path: .spaces[1].metrics.loc.lloc
old: 55.0
new: 0.0

path: .spaces[1].metrics.loc.blank
old: 11.0
new: 0.0

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

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

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

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

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

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

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

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

Code

struct zwp_linux_buffer_params_v1;

Minimal test - lines (216, 216)

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: 0.0
new: null

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Code

extern const struct wl_interface zwp_linux_buffer_params_v1_interface;

Minimal test - lines (301, 304)

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

path: .spaces[8].metrics.cyclomatic.sum
old: 23.0
new: 3.0

path: .spaces[8].metrics.halstead.N1
old: 226.0
new: 10.0

path: .spaces[8].metrics.halstead.level
old: 0.028011204481792715
new: 0.2222222222222222

path: .spaces[8].metrics.halstead.estimated_program_length
old: 429.39952735699177
new: 23.509775004326936

path: .spaces[8].metrics.halstead.length
old: 345.0
new: 16.0

path: .spaces[8].metrics.halstead.purity_ratio
old: 1.2446363111796863
new: 1.4693609377704335

path: .spaces[8].metrics.halstead.effort
old: 77864.0273806802
new: 239.17882283189007

path: .spaces[8].metrics.halstead.N2
old: 119.0
new: 6.0

path: .spaces[8].metrics.halstead.time
old: 4325.779298926678
new: 13.287712379549449

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

path: .spaces[8].metrics.halstead.volume
old: 2181.06519273614
new: 53.150849518197795

path: .spaces[8].metrics.halstead.bugs
old: 0.6078130038286708
new: 0.012843810659451275

path: .spaces[8].metrics.halstead.difficulty
old: 35.7
new: 4.5

path: .spaces[8].metrics.halstead.n2
old: 50.0
new: 4.0

path: .spaces[8].metrics.halstead.vocabulary
old: 80.0
new: 10.0

path: .spaces[8].metrics.nargs.sum
old: 5.0
new: 0.0

path: .spaces[8].metrics.nargs.average
old: 5.0
new: 0.0

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

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

path: .spaces[8].metrics.mi.mi_original
old: 51.62432513201074
new: 127.1917340918969

path: .spaces[8].metrics.mi.mi_sei
old: 23.84770094766765
new: 108.10349160264798

path: .spaces[8].metrics.mi.mi_visual_studio
old: 30.18966381988932
new: 74.38113104789292

path: .spaces[8].metrics.loc.cloc
old: 9.0
new: 0.0

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

path: .spaces[8].metrics.loc.ploc
old: 77.0
new: 4.0

path: .spaces[8].metrics.loc.lloc
old: 55.0
new: 1.0

path: .spaces[8].metrics.loc.sloc
old: 97.0
new: 4.0

Code

static inline void* zwp_linux_dmabuf_v1_get_user_data(
    struct zwp_linux_dmabuf_v1* zwp_linux_dmabuf_v1) {
  return wl_proxy_get_user_data((struct wl_proxy*)zwp_linux_dmabuf_v1);
}

Minimal test - lines (295, 298)

path: .spaces[7].metrics.mi.mi_visual_studio
old: 58.350153605397345
new: 73.57922874219251

path: .spaces[7].metrics.mi.mi_sei
old: 68.45311380995959
new: 106.12519178234146

path: .spaces[7].metrics.mi.mi_original
old: 99.77876266522946
new: 125.8204811491492

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

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

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

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

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

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

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

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

path: .spaces[7].metrics.halstead.effort
old: 2560.5252119411994
new: 332.1054353891805

path: .spaces[7].metrics.halstead.time
old: 142.25140066339998
new: 18.450301966065584

path: .spaces[7].metrics.halstead.N1
old: 38.0
new: 12.0

path: .spaces[7].metrics.halstead.difficulty
old: 9.307692307692308
new: 4.8

path: .spaces[7].metrics.halstead.vocabulary
old: 24.0
new: 11.0

path: .spaces[7].metrics.halstead.n2
old: 13.0
new: 5.0

path: .spaces[7].metrics.halstead.N2
old: 22.0
new: 8.0

path: .spaces[7].metrics.halstead.volume
old: 275.09775004326934
new: 69.18863237274594

path: .spaces[7].metrics.halstead.bugs
old: 0.06238757661812583
new: 0.015985616907190494

path: .spaces[7].metrics.halstead.level
old: 0.1074380165289256
new: 0.20833333333333337

path: .spaces[7].metrics.halstead.purity_ratio
old: 1.4359910690140745
new: 1.3559707739381874

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

path: .spaces[7].metrics.halstead.length
old: 60.0
new: 20.0

path: .spaces[7].metrics.halstead.estimated_program_length
old: 86.15946414084446
new: 27.11941547876375

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

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

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

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

Code

static inline void zwp_linux_dmabuf_v1_set_user_data(
    struct zwp_linux_dmabuf_v1* zwp_linux_dmabuf_v1, void* user_data) {
  wl_proxy_set_user_data((struct wl_proxy*)zwp_linux_dmabuf_v1, user_data);
}

Minimal test - lines (175, 175)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Code

extern const struct wl_interface zwp_linux_dmabuf_v1_interface;

Minimal test - lines (266, 271)

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

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

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

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

path: .spaces[6].metrics.nargs.average
old: 5.0
new: 3.0

path: .spaces[6].metrics.nargs.sum
old: 5.0
new: 3.0

path: .spaces[6].metrics.loc.cloc
old: 4.0
new: 0.0

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

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

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

path: .spaces[6].metrics.loc.sloc
old: 27.0
new: 6.0

path: .spaces[6].metrics.mi.mi_sei
old: 71.93732079055218
new: 91.71909757912071

path: .spaces[6].metrics.mi.mi_original
old: 82.73121837274897
new: 115.76436142083452

path: .spaces[6].metrics.mi.mi_visual_studio
old: 48.380829457747936
new: 67.69845697124826

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

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

path: .spaces[6].metrics.halstead.estimated_program_length
old: 193.20929675174068
new: 39.302968908806456

path: .spaces[6].metrics.halstead.volume
old: 748.8245361488895
new: 129.45006734995854

path: .spaces[6].metrics.halstead.n2
old: 28.0
new: 7.0

path: .spaces[6].metrics.halstead.N1
old: 84.0
new: 23.0

path: .spaces[6].metrics.halstead.N2
old: 54.0
new: 11.0

path: .spaces[6].metrics.halstead.bugs
old: 0.16317869313442632
new: 0.026577985414838832

path: .spaces[6].metrics.halstead.difficulty
old: 14.464285714285714
new: 5.5

path: .spaces[6].metrics.halstead.purity_ratio
old: 1.4000673677662367
new: 1.155969673788425

path: .spaces[6].metrics.halstead.level
old: 0.06913580246913581
new: 0.18181818181818185

path: .spaces[6].metrics.halstead.time
old: 601.7340022625004
new: 39.554187245820664

path: .spaces[6].metrics.halstead.length
old: 138.0
new: 34.0

path: .spaces[6].metrics.halstead.n1
old: 15.0
new: 7.0

path: .spaces[6].metrics.halstead.effort
old: 10831.212040725008
new: 711.975370424772

path: .spaces[6].metrics.halstead.vocabulary
old: 43.0
new: 14.0

Code

static inline int zwp_linux_dmabuf_v1_add_listener(
    struct zwp_linux_dmabuf_v1* zwp_linux_dmabuf_v1,
    const struct zwp_linux_dmabuf_v1_listener* listener, void* data) {
  return wl_proxy_add_listener((struct wl_proxy*)zwp_linux_dmabuf_v1,
                               (void (**)(void))listener, data);
}