Thanks to visit codestin.com
Credit goes to github.com

Skip to content

line coverage is polluted by comment and function argument #646

@Autonomous-Wang

Description

@Autonomous-Wang

I am using Gcovr to get line, branch and decision coverage. I notice commented out lines or comment are taken into account of line coverage.

The cmd I am using: gcovr --decision.
interesting thing to note: the line coverage is good if not generate decision coverage

Gcovr version:
commit fcc269a (HEAD -> master, origin/master, origin/HEAD)
Author: Klaus Weinbauer [email protected]
Date: Sat Jul 30 11:34:56 2022 +0200

Fix assert and key error in --decisions flag (#642)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions