Ignoring private methods

114 views
Skip to first unread message

cedricv...@gmail.com

unread,
Dec 26, 2017, 5:13:14 AM12/26/17
to JaCoCo and EclEmma Users
Hi All,

Sorry I've only started using Jacoco, switching from Clover.
But is there anyway to filter out Private methods ?
I've only found excluding private constructors.
We'd like to achieve a close code coverage percentage from Clover to Jacoco.
Then we'd work our way down to fix technical debts.

Thanks,

Marc Hoffmann

unread,
Dec 28, 2017, 2:01:11 AM12/28/17
to jac...@googlegroups.com
Hi,

good to hear that you give JaCoCo a try!

No, there is no way to filter private methods in general. And we have no
plans for this, as also the code in private methods is typically used
and needs testing.

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