Skip to content

A question about cpp coverage #152

@robertLiuLinFeng

Description

@robertLiuLinFeng

I used gtest as my unit test framework and OpenCppCoverage to generge code coverage reports.
For a cpp source file, each line is eithor covered or not covered, except that include not need to be counted.
But In my coverage report, the rows that are covered and uncovered are only a part of the file, and the other rows are not counted. What's the reason for this?
What should I do if I want to count all the rows of source file?
Thank you very much and look forward to your reply.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions