Is there a way to exclude methods from a class check?

29 views
Skip to first unread message

mark.va...@unisys.com

unread,
Jan 9, 2017, 11:26:57 AM1/9/17
to JaCoCo and EclEmma Users
I'm using maven.
Is there a way to exclude methods from a class check?
I can exclude methods in a rule for a method element.
I can exclude classes in a rule for a class element.
But, is there a way to exclude methods in a rule for a class element?
I want to check line and branch coverage minimum ratios for classes, but I want to exclude some methods from that check.

Thank you.
Mark K Vallevand

Marc R. Hoffmann

unread,
Jan 9, 2017, 4:37:42 PM1/9/17
to jac...@googlegroups.com
Hi Mark,

unfortunatelly there is no way to exclude single methods from class
coverage.

Regards,
-marc

mark.va...@unisys.com

unread,
Jan 9, 2017, 4:58:51 PM1/9/17
to JaCoCo and EclEmma Users
Thanks.
Reply all
Reply to author
Forward
This conversation is locked
You cannot reply and perform actions on locked conversations.
0 new messages