Skip to content

UT coverage results is not correct #139

Description

@Ahmed-Elsaka-JC

Description

While reviewing the coverage report for persistency, I noticed that the branch coverage appears to be inaccurate. The report includes generated branches that are not actual branches requiring developer coverage.

For example:

Image

The highlighted lines do not represent real branches.

kindly check generated coverage html files on attachments.

cpp_coverage.zip

Suggested fix :

Image

by adding '--filter branch" to genhtml command will filter out most of these compiler generated branches.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions