Skip to content

feat: ignore unreachable branch to improve branch coverage precision #19

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

Merged
merged 1 commit into from
Mar 21, 2025

Conversation

HerrCai0907
Copy link
Contributor

@HerrCai0907 HerrCai0907 commented Mar 21, 2025

In AS test, we definitely do not want to touch unreachable branch. And since unreachable will fail the execution and result output, it does not make sure to statistic unreachable branch coverage
This PR remove the basic blocks which must unreachable.

Part of #4.

@HerrCai0907 HerrCai0907 requested a review from a team as a code owner March 21, 2025 07:53
In AS test, we definitely do not want to touch unreachable branch. And since unreachable will fail the execution and result output, it does not make sure to statistic unreachable branch coverage
This PR remove the basic blocks which must unreachable.
@HerrCai0907 HerrCai0907 force-pushed the skip-unreachable-block branch from 5e857cc to 54118d2 Compare March 21, 2025 07:56
@HerrCai0907 HerrCai0907 merged commit 4e59241 into main Mar 21, 2025
1 check passed
@HerrCai0907 HerrCai0907 deleted the skip-unreachable-block branch March 21, 2025 09:05
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