On 24. Jun 2022, at 14:01, tuk <subhara...@gmail.com> wrote:
I have added a filter via annotation to exclude a method from jacoco coverage as mentioned here.But when I see the jacoco html report for coverage I see the filtered method being shown in red as not covered. Please check the attached screenshot. Is this expected?Jacoco Version - 0.8.8
<Screenshot 2022-06-24 at 5.30.07 PM.png>
--
You received this message because you are subscribed to the Google Groups "JaCoCo and EclEmma Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jacoco+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/05fca62e-c828-4bea-97ab-0f6b4c30560fn%40googlegroups.com.
<Screenshot 2022-06-24 at 5.30.07 PM.png><Screenshot 2022-06-24 at 5.30.07 PM.png>
On 24. Jun 2022, at 19:33, tuk <subhara...@gmail.com> wrote:
Just to add in the method level summary the excluded method is not showing up (get() method is missing). But when I go inside the class then the uncovered code is shown in red.
To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/5a0ef445-7768-4a16-855d-239eeceee5a2n%40googlegroups.com.
<excluded.png>
On 24. Jun 2022, at 19:53, tuk <subhara...@gmail.com> wrote:
get() method is excluded. But compiler internally created a method for lambda which is shown in red in the class level report?
To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/c488d259-eb45-430b-a8d9-520ede761d87n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/a776ecf2-d152-4e7f-a69f-5de9b5e21e20n%40googlegroups.com.