c8 icon indicating copy to clipboard operation
c8 copied to clipboard

only % branch and % funcs are ignored, not % stmts or % lines

Open bderblatter-qualtrics opened this issue 2 years ago • 0 comments

  • 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:

image

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

bderblatter-qualtrics avatar Jul 12 '23 03:07 bderblatter-qualtrics