This simple Maven project is importing JaCoCo's coverage report.
Usage
Download SonarQube which matches with your Java version from here
Start the SonarQube server For Windows YOUR_DIR_PATH\sonarqube\bin\windows-x86-xx\StartSonar.bat For other operating systems like Linux/Ubuntu YOUR_DIR_PATH/sonarqube/bin/[OS]/sonar.sh console
Once the SonarQube Server is up and running then you can visit the SonarQube Dashboard at http://localhost:9000/dashboard/
Default System administrator credentials are admin/admin
Build the project, execute all the tests and analyze the project with SonarQube Scanner for Maven mvn clean verify sonar:sonar
or mvn clean install sonar:sonar
Click on the project name to see the code quality inspection
请发表评论