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)