How to include ONLY specific java packages in code coverage calculations

31 views
Skip to first unread message

Saumitra Saxena

unread,
Feb 6, 2018, 8:19:55 AM2/6/18
to JaCoCo and EclEmma Users
How to include ONLY specific java packages in code coverage calculations ??

 >>> I tried with options but I can only see code coverage is not done for certail packages but overall calculations include this as zero.
Problem is that I am not able to get exact code coverage percentage for only specific packages...

Marc Hoffmann

unread,
Feb 6, 2018, 1:32:51 PM2/6/18
to jac...@googlegroups.com

What integration of JaCoCo are you using?

In case you're talking about the Eclipse EclEmma plugin: There is no option to filter packages. But of course you can drill down to packages and study the coverage figures of every package separately.

Regards,
-marc

--
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/25831b92-3433-45bf-90fa-cc9eaac31433%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

 

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