Summary: devs want to exclude from the final report untestable branches or bytecode generated by javac for enums and similar.
https://github.com/jacoco/jacoco/wiki/FilteringOptions
Personally, if I could just get rid of the assert ones that would be a huge progress. I waste a lot of time opening files that are not 100% covered just because of the many asserts the file has...
Questions:
- this a 3 years old topic. what's blocking the jacoco team to provide this feature as a post-processing option (turned off by default)?
- what's the estimated difficulty for providing this feature for at least one of the many filters listed on the wiki?
- if someone were to submit pull requests for such feature, would those requests be integrated or is this something that is just unwanted, period?