Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ffi) correct usage of 'n_bins' when parsing a histogram #605

Merged
merged 1 commit into from
Oct 9, 2024

Conversation

casimiro
Copy link
Contributor

@casimiro casimiro commented Oct 9, 2024

Previously, when parsing a histogram without uninitialized bins, parse_cmetric would incorrectly build an extra bin from invalid memory.

Histograms with uninitialized bins were correctly parsed due to parse_cmetric stop parsing bins when an uninitialized one is found.

Previously, when parsing a histogram without uninitialized bins,
`parse_cmetric` would incorrectly build an extra bin from
invalid memory.

Histograms with uninitialized bins were correctly parsed due to
`parse_cmetric` stop parsing bins when an uninitialized one is found.
Copy link

codecov bot commented Oct 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.73673%. Comparing base (6142197) to head (9b1b2c7).
Report is 1 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@                 Coverage Diff                 @@
##                main        #605         +/-   ##
===================================================
+ Coverage   90.72770%   90.73673%   +0.00902%     
===================================================
  Files             52          52                 
  Lines          11076       11076                 
===================================================
+ Hits           10049       10050          +1     
+ Misses          1027        1026          -1     

see 1 file with indirect coverage changes

Flag Coverage Δ
unit 90.45754% <ø> (+0.01030%) ⬆️
valgrind 82.36111% <ø> (+0.01984%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

@thibaultcha thibaultcha merged commit c46ff1c into main Oct 9, 2024
32 checks passed
@thibaultcha thibaultcha deleted the fix/ffi_parse_histogram branch October 9, 2024 15:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants