Everything about Jococo and Sonarqube in Android

About Jacoco and SonarQube

What are code coverage reports?

Integration in Android App

build.gradle (top-level)
classpath "org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:3.0"
classpath 'nl.neotech.plugin:android-root-coverage-plugin:1.5.3'
build.gradle (:app)
./gradlew :rootCoverageReport
brew install gradle || choco install gradle
gradle wrapper
Jococo Report
brew install sonarqube 
brew install sonar-scanner
./gradlew sonarqube

References

--

--

Software Engineer - II @IndiaNIC

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store