# sonar-coverage-example-java You can set up code coverage with [SonarQube](https://www.sonarqube.org/). In this example, we set some variables in our `sonar-project.properties` file. These variables will be used by SonarQube to generate code coverage results and code analysis. See [Screwdriver documentation for SonarQube configuration](https://docs.screwdriver.cd/user-guide/configuration/code-coverage#sonarqube) for more details. ## Related links * [SonarQube properties](https://docs.sonarqube.org/display/SONAR/Analysis+Parameters) * [Javascript example](https://github.com/screwdriver-cd-test/sonar-coverage-example-javascript) * [Examples from the SonarQube website](https://github.com/SonarSource/sonar-scanning-examples) * [SonarQube docs](https://docs.sonarqube.org/display/SCAN)