Is your feature request related to a problem? Please describe.
Some lines cannot be covered, e.g. exception recovery for a system fault. For this LCov has LCOV_EXCL_LINE and LCOV_EXCL_BEGIN/END comments to skip some lines or even whole blocks.
CPPCoverage seems to have magic comments which map the pragmas added, which is a plain toggle on/off.
It is bad if you run coverage under GCC/LLVM and under MSVC - and need multiple comments to tweak both (and lcov is used much longer).
Describe the solution you'd like
Support for block-ignore of source lines for coverage lines with support of the LCOV comments out of the box.
Also support "only next line not covered".
Is your feature request related to a problem? Please describe.
Some lines cannot be covered, e.g. exception recovery for a system fault. For this LCov has LCOV_EXCL_LINE and LCOV_EXCL_BEGIN/END comments to skip some lines or even whole blocks.
CPPCoverage seems to have magic comments which map the pragmas added, which is a plain toggle on/off.
It is bad if you run coverage under GCC/LLVM and under MSVC - and need multiple comments to tweak both (and lcov is used much longer).
Describe the solution you'd like
Support for block-ignore of source lines for coverage lines with support of the LCOV comments out of the box.
Also support "only next line not covered".