Thanks Marc,

Yes I already excluded with a wildcard because the other class it insisted
on being 0% coverage is EntityMessageHandlerImpl.1.
Is there a pattern on when specifically the inner class is considered? I am
puzzled because this class is very similar to some other classes which
don't have the inner class being called out. What is the inner class here
anyways? Is it because it implements an interface? Many other classes do
and don't get called out.

Thanks so much for responding. This is obviously non-critical since I have
a workaround, but I would love to have full understanding of what's going
on.

Regards
-Sundar

On Sun, Dec 14, 2014 at 2:13 AM, Marc R. Hoffmann <
[email protected]> wrote:
>
> Hi,
>
> this is a inner class. Try to exclude with a wildcard, this should also
> exclude inner classes: com.foo.bar.EntityMessageHandlerImpl*
>
> Regards,
> -marc
>
> On 11.12.14 23:04, [email protected] wrote:
>
>> [WARNING] Rule violated for class com.foo.bar.EntityMessageHandlerImpl.1:
>> lines covered ratio is 0.00, but expected minimum is 0.75
>>
>> I do have a class called com.foo.bar.EntityMessageHandlerImpl, and I
>> have added an <exclude> in the pom file for it. But until I add an explicit
>> exclude also for com.foo.bar.EntityMessageHandlerImpl.1 (notice the
>> dot-one at the end), build will not succeed.
>>
>> This only happens to a couple of my classes. I have a mix of classes in
>> my exclude and most of them are ignored if the coverage is below min limit.
>>
>> What can I do to help debug this further?
>>
>> Thanks
>> -Sundar
>>
>>
>>
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "JaCoCo and EclEmma Users" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/jacoco/qoJ2jxQr50E/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/jacoco/548D62B8.2030602%40mountainminds.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jacoco/CA%2Bk4TYCTKtT1BUK0eVSOE8Jgv9NUo0o5bLeuXyCXzJqmnVnBoQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to