Best way to view JaCoCo.exec

3,975 views
Skip to first unread message

rahul.s...@gmail.com

unread,
Feb 15, 2017, 2:45:45 PM2/15/17
to JaCoCo and EclEmma Users
Hi,

I have an environment having TC sever as application server where I have configured JaCoCo. It successfully generates JaCoCo.exec. Currently, I view this JaCoCo.exec report using SonarQube but the way I am following in SonarQube takes several Hrs to complete. When I run Sonar it first scans all source files and then runs code coverage report. May be I am doing something wrong and directly JaCoCo report can be viewed. Is it possible? Or is there any way to view this report faster and correctly? What things I should keep in mind when I am using this report generated at TC server in some other tool.

Thanks!

Evgeny Mandrikov

unread,
Feb 15, 2017, 3:53:13 PM2/15/17
to JaCoCo and EclEmma Users, rahul.s...@gmail.com
Hi,

Please have a look at JaCoCo documentation at http://www.jacoco.org/jacoco/trunk/doc/
SonarQube is not the only one that can generate/show reports - there are Maven plugin, Ant tasks, etc

Mirko Friedenhagen

unread,
Feb 17, 2017, 9:02:50 AM2/17/17
to jac...@googlegroups.com
Hello,

one hint: reports using the Maven plugin may report different coverages than the ones found in SonarQube because aggregation done by the tools is different. 
So if you have hard limits for a failing QA gate in SonarQube you may have discussions with developers.

Regards
Mirko
--
Sent from my mobile

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/cf5d3c6b-e583-487c-a2fe-963fd2a33a17%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