-
Notifications
You must be signed in to change notification settings - Fork 300
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
Add code coverage exclusions on false positives #3196
Add code coverage exclusions on false positives #3196
Conversation
Signed-off-by: Peter Nied <petern@amazon.com>
Codecov Report
@@ Coverage Diff @@
## main #3196 +/- ##
============================================
- Coverage 62.46% 62.42% -0.05%
+ Complexity 3354 3352 -2
============================================
Files 254 254
Lines 19749 19748 -1
Branches 3334 3334
============================================
- Hits 12337 12327 -10
- Misses 5784 5788 +4
- Partials 1628 1633 +5 |
Signed-off-by: Peter Nied <petern@amazon.com>
Signed-off-by: Peter Nied <petern@amazon.com>
Signed-off-by: Peter Nied <petern@amazon.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@peternied I'm approving this PR, but also had a question. Could this be achieved using java annotations?
Codecov doesn't support any java annotations that I'm aware of. The only really annotations that I've seen used in the code coverage space are about automatically excluding code that was generated, such as by adding your own @.generated annotation example. |
Adding code coverage exclusions on files that are creating code coverage measurement issues. Signed-off-by: Peter Nied <petern@amazon.com> (cherry picked from commit 07406d6) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Description
Adding code coverage exclusions on files that are creating code coverage measurement issues.
Issues Resolved
Testing
Will be checking the codecov output on this PR and expect it to come back clean. Might need to iterate a couple times to make sure the max threshold % amount is correct.
Check List
New functionality includes testingNew functionality has been documentedBy submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.