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

Allow threshold to be applied on a per file basis #126

Open
k opened this issue Oct 30, 2017 · 0 comments
Open

Allow threshold to be applied on a per file basis #126

k opened this issue Oct 30, 2017 · 0 comments

Comments

@k
Copy link

k commented Oct 30, 2017

This is a feature request and pool for ideas.

I can cannot achieve 100% coverage for the reasons explained here, but I want to make sure as the codebase grows that the amount of untyped code will not grow.

One way to limit this is to enforce coverage on a per-file basis. Theory being e.g. 95% on each file is better then 99% overall.

There would also need to be an additional option to specify a coverage map which would describe override thresholds for files that need it (for example, files that use exceptions from catch.

Thoughts?

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