SonarQube option to JaCoCo on code coverage reports publishment

Hello, 

My company is seeking a code quality tool for a new project and as result of an research we found SonarQube a good option.

But after some tests we faced a problem that is hard to solve.

Our project already have a big number of unit tests using Mockito + Powermock, but aparentely JaCoCo way of instrument code coverage is not compatible with those API's combination. JaCoCo doesn't consider line coverage when a test is written using powermock.

Searching for an option to JaCoCo we found Clover, a great API that fulfilled our needs. (After clover became open-source we migrated to openclover.org API)

But we also have a need to centralize all code quality measures in one tool such as SonarQube.

Im currently looking for a way to publish these test result inside SonarQube.

But as indicated in this link (https://docs.sonarqube.org/display/SONARQUBE45/Clover+Plugin) the plugin was descontinued in an old version.

 

Is there a way to publish Clover/OpenClover reports inside SonarQube?

Any story on Sonar roadmap to seek for an option to JaCoCo?

 

Thanks in advance.

1 answer

This widget could not be displayed.

Report format hasn't changed for OpenClover, thus I believe Sonar plugin which works fine with Atlassian Clover should work as well with OpenClover. 

But its possible to install Clover Sonar Plugin in latest SonarQube version?

TBH I understood you're asking about report compliance between Atlassian Clover and OpenClover. 

I don't know how up to date Clover Sonar plugin is. This plugin was never oficially supported by Atlassian. 

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

175 views 2 0
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you