Please understand that
ISSUES WITHOUT FOLLOWING INFORMATION WILL BE CLOSED WITHOUT COMMENTS!
Thank you for filling feature request!
Scenario
JaCoCo version: 0.8.8.202204050719
Operating system: MacOS Ventura 13.1 (22C65)
Tool integration: Maven
Description of your use case: (detailed description or executable reproducer, e.g. GitHub repo)
Current Behaviour
Actually we can make exclusions from coverage in general
Wanted Behaviour
We faced some chalenge where we would like to keep the limit of line coverage to a class, but exclude it from branch coverage.
As a matter of fact, we are using map structs that verifies parameter nullity as a guard condition on its generated classes. We would like to enforce the line coverage of it, but prevent the branch coverage of happening
Possible Workarounds
enable excludes on limits or on rules (although on rules would bring up some concerns about how the execution of the coverage is calculated)
THIS IS A BUG TRACKER ONLY. FOR QUESTIONS PLEASE CHECK FAQ OR USE FORUM:
http://www.jacoco.org/jacoco/trunk/doc/faq.html
https://groups.google.com/forum/?fromgroups=#!forum/jacoco
Please understand that ISSUES WITHOUT FOLLOWING INFORMATION WILL BE CLOSED WITHOUT COMMENTS! Thank you for filling feature request!
Scenario
Current Behaviour
Actually we can make exclusions from coverage in general
Wanted Behaviour
We faced some chalenge where we would like to keep the limit of line coverage to a class, but exclude it from branch coverage. As a matter of fact, we are using map structs that verifies parameter nullity as a guard condition on its generated classes. We would like to enforce the line coverage of it, but prevent the branch coverage of happening
Possible Workarounds
enable excludes on limits or on rules (although on rules would bring up some concerns about how the execution of the coverage is calculated)