Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

0 votes

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
TAGS
Community showcase
Published in Marketplace Apps & Integrations

Happy New Year and Welcome New Marketplace Partner Program Partners!

Happy New Year! We hope you all had a safe and restful holiday season. 2020 was a unique year full of unforeseen events; however, as we enter the new year of 2021, we’re optimistic for the light at t...

440 views 5 16
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you