Sonarcloud code coverage stats for android java project

Hello there,

The code coverage for all my projects including android java project is showing 0.0% . I want to show test coverage reports on sonarcloud. Searching on google I found all the examples related to sonarqube but not sonarcloud.

Does the jacoco tool also work for sonarcloud as it works for sonarqube?

Please suggest .


Yes jacoco tools work also for SonarCloud, you should find everything you need in this documentation page about coverage.

And you will see that configuration is really close to what’s done for SonarQube so you can probably refer to most example that you found about SonarQube.