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

make error codes uniform and improve code coverage of libcmt #51

Merged
merged 2 commits into from
May 6, 2024

Conversation

mpolitzer
Copy link
Collaborator

@mpolitzer mpolitzer commented Apr 25, 2024

close #52
close #53
rewrite merkle save/load in terms of read_whole_file and write_whole_file.

after this PR (updated):
image

missing lines are mostly malloc and stdlib failure branches.

To reproduce the graph above: Add --coverage to CFLAGS and run:

mkdir -p coverage && gcovr --exclude-unreachable-branches --html-details coverage/index.html

@mpolitzer mpolitzer force-pushed the fix/cov branch 5 times, most recently from a3827c3 to ecdd0cd Compare April 29, 2024 19:58
@mpolitzer mpolitzer changed the title improve code coverage of libcmt make error codes uniform and improve code coverage of libcmt Apr 29, 2024
refactor: move read/write file to util
- remove unreachable if block
@mpolitzer mpolitzer marked this pull request as ready for review May 2, 2024 12:55
@mpolitzer mpolitzer requested a review from a team May 2, 2024 12:56
@mpolitzer mpolitzer self-assigned this May 2, 2024
edubart
edubart previously approved these changes May 2, 2024
@edubart edubart requested a review from a team May 2, 2024 14:34
@mpolitzer mpolitzer force-pushed the fix/cov branch 2 times, most recently from 76c2327 to 79018d1 Compare May 2, 2024 19:23
@mpolitzer mpolitzer requested a review from edubart May 3, 2024 14:13
@mpolitzer mpolitzer merged commit 79018d1 into main May 6, 2024
6 checks passed
@mpolitzer mpolitzer deleted the fix/cov branch May 6, 2024 12:47
@vfusco vfusco added this to the v0.16.0 milestone May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Use of the word VOUCHER in this context may cause confusion. Improve code coverage of libcmt
4 participants