Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
bderblatter-qualtrics opened this issue Jul 12, 2023 · 0 comments
Open

Comments

@bderblatter-qualtrics
Copy link

  • 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant