Can latest jacoco release exclude methods

31 views
Skip to first unread message

aksa...@gmail.com

unread,
Nov 14, 2018, 10:15:46 AM11/14/18
to JaCoCo and EclEmma Users
Hello Jacoco Team,

Can we skip methods like eauals and hashcode from coverage in latest jacoco release 0.8.1 and higher ?

Marc Hoffmann

unread,
Nov 14, 2018, 12:20:09 PM11/14/18
to jac...@googlegroups.com
It depends. Unless they have a @Generated method e.g. emitted by the Lombok annotation processor they are not excluded.

Regards,
-marc

> On 14. Nov 2018, at 16:15, aksa...@gmail.com wrote:
>
> Hello Jacoco Team,
>
> Can we skip methods like eauals and hashcode from coverage in latest jacoco release 0.8.1 and higher ?
>
> --
> 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/e1ebac3d-b4d5-4cdb-af9c-c6a1624448a4%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Evgeny Mandrikov

unread,
Nov 14, 2018, 2:42:16 PM11/14/18
to JaCoCo and EclEmma Users
Hi,

On Wednesday, November 14, 2018 at 4:15:46 PM UTC+1, aksa...@gmail.com wrote:
Hello Jacoco Team,

Can we skip methods like eauals and hashcode from coverage in latest jacoco release 0.8.1 and higher ?


The latest as of today release is 0.8.2.
And since you're asking about changes, let me remind that changelog is available at its usual location: https://www.jacoco.org/jacoco/trunk/doc/changes.html

Reply all
Reply to author
Forward
This conversation is locked
You cannot reply and perform actions on locked conversations.
0 new messages