only % branch and % funcs are ignored, not % stmts or % lines
- Dominant language
- JavaScript
- Stars
- 2.1k
- Forks
- 99
- PR merge metrics
- No merged PRs in 30d
Description
* **Version**: v20.4.0
* **Platform**: Darwin [redacted] 22.5.0 Darwin Kernel Version 22.5.0: Thu Jun 8 22:22:22 PDT 2023; root:xnu-8796.121.3~7/RELEASE_X86_64 x86_64
when I start a file with `/* c8 ignore start */` and I don't have any other ignore comments (behavior is the same with or without `/* c8 ignore end */` at the end of the file) C8 only ignores the lines when measuring branch and functions, but not when measuring statements or lines:
the files in question are boilerplate files whose testing is largely covered by the testing done by the maintainers of the library I'm using so I would like to exclude them from my line and statement code coverage requirements
Contributor guide
Assessment
This issue has not been assessed yet.