Skip to content

How to interpret the coverage report, specifically which branch is which branch #413

@zchangming

Description

@zchangming

When using genhtml with --rc branch_coverage=1 --rc c_file_extensions=c,cpp,hpp,h,inl --filter branch,exception, ​​how to identify exactly which branches are covered/uncovered​​ in the generated report? Specifically:

For line 103 in my report (which shows 14 branches), ​​which specific branches are covered (+) and which are not (-)?​​
Is there a ​​quick method to locate uncovered branches​​ in the report?

Image

Image

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