Skip to content

Unified line coverage formula for measurement and comparison. #727

Open
@DonggeLiu

Description

@DonggeLiu

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)}$$

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions