Posts

Er worden posts getoond met het label sonarqube

Android and SonarQube with code coverage

Afbeelding
With this post we are going to walkthrough how to setup SonarQube with code coverage for a Android project. During this walkthrough we make use of the following system and software: Android Studio, version 4.1.1 Gradle, version 6.5 JDK / java, java 15.0.1 2020-10-20 JaCoCo, version 0.8.6 SonarQube, version 8.5.1 SonarQube scanner, version 2.7.1 Example Android project For this walkthrough there is an example project based on the template Navigation Drawer Activity where we added a data class Car.java with some unit tests in CarTest.java. This project is available on GitHub project with all code already inside! All important code changes can be found in below gradle files: Project build.gr...

Setup SonarQube with Docker

Afbeelding
With this post we are going to walkthrough how to setup SonarQube using Docker. During this walkthrough we make use of the following system and software: Windows 10, version 20H2 Docker Desktop, version 3.0.4 with WSL 2 SonarQube, version 8.5.1 Install Docker Docker desktop can be downloaded from docker.com/get-started , after downloaded Docker Desktop Installer.exe run it and follow the instructions. If request to install and configure WSL2, follow the instructions. After the installation you are ready to start Docker for the first time. Probably a shortcut is added to your desktop, else you can find it in the default location C:\Program Files\Docker\Docker\Docker Desktop.exe . When starting Docker for the first time it can take a while before...