Exclude classes by pattern from report using JAVA API
29 views
Skip to first unread message
yev...@gmail.com
unread,
Nov 11, 2016, 11:09:34 AM11/11/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to JaCoCo and EclEmma Users
Is it possible to exclude classes while generating report (html) using jacoco apis?
Wasn't able to find...
Thanks
Marc R. Hoffmann
unread,
Nov 11, 2016, 12:06:40 PM11/11/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to jac...@googlegroups.com
Hi,
absolutely: Just supply ony the class files you want to see in the
report to Analyser.analyse().
Regards,
-marc
yevsh
unread,
Nov 11, 2016, 12:11:42 PM11/11/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to JaCoCo and EclEmma Users
you mean analyzeClass(...) method? because there is no analyse method in Analyser class.
Marc R. Hoffmann
unread,
Nov 11, 2016, 12:18:33 PM11/11/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to jac...@googlegroups.com
Hi,
yes, analyzeClass() of course. analyzeAll() will also work as long as
you supply only the relevant class files individually.
Regards,
-marc
yevsh
unread,
Nov 11, 2016, 12:21:58 PM11/11/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to JaCoCo and EclEmma Users
After going over the sources I believe I will have to override analyzeAll(File file) method as my input is a folder of classes (with subfolders), and this method is recursive, so my logic should go there...
Reply all
Reply to author
Forward
This conversation is locked
You cannot reply and perform actions on locked conversations.