I have a jacoco code coverage report which gets generated by using EclEmma plugin in eclipse , now i want to exclude some classes and packages from that report, is there a way i can exclude classes from that report.
Any help will be appeciated
I have a jacoco code coverage report which gets generated by using EclEmma plugin in eclipse , now i want to exclude some classes and packages from that report, is there a way i can exclude classes from that report.
Any help will be appeciated
If you have already constructed HTML report, then there is no easy way to exclude something from it.
Speaking about exclusion from the HTML report prior to its construction, let me quote an answer on another your question about exclusions in EclEmma:
Unfortunately currently EclEmma does not support exclusions from the report as stated in https://github.com/jacoco/eclemma/issues/84 (where by the way you received the same answer).
However, apart EclEmma there are plenty of other ways to use JaCoCo which allow exclusions - see for example documentation of Ant Tasks or Maven Plugin.