Skip to content

How to remove unreachable branches from coverage? #108

@lorediana

Description

@lorediana

As far as I know, gcovr provides some flags that help in removing unreachable branches (--exclude-unreachable-branches). Is there something like this provided by lcov? I attach and example with the multiple branches detected by lcov for an if-else statement.
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