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

Unified line coverage formula for measurement and comparison. #727

Open
DonggeLiu opened this issue Nov 25, 2024 · 0 comments
Open

Unified line coverage formula for measurement and comparison. #727

DonggeLiu opened this issue Nov 25, 2024 · 0 comments

Comments

@DonggeLiu
Copy link
Collaborator

E.g., the percentage line coverage of a new fuzz target f1 should be the #lines it covered over the #lines it linked during compilation:
$$\frac{Cov(f1)}{Linked(f1)}$$

The percentage line coverage improvement of f1 over an existing fuzz target f0 should be the #lines covered by f1 minus the #lines covered by f2, then divided by the union #lines linked by both.
$$\frac{Cov(f1)-Cov(f0)}{Linked(f1 \cup f0)}$$

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

No branches or pull requests

1 participant