What is SonarQube
A:Sonar is a web based code quality analysis tool for Maven based Java
projects. It covers a wide area of code quality check points which include:
Architecture & Design, Complexity, Duplications, Coding Rules, Potential
Bugs, Unit Test etc.
Q: Why use SonarQube ?
A:Sonar covers the 7 sections of code quality
Q: Why use SonarQube ?
A:Sonar covers the 7 sections of code quality
- Architecture and Design
- Unit tests
- Duplicated code
- Potential bugs
- Complex code
- Coding standards
- Comments
Q:
What is role of database in SonarQube?
A: Sonar uses a Derby or H2 as default database. When running Sonar, it says that these databases may only be used for evaluation. We can change this default database and use our custom DB.
Q: How to create reports in SonarQube?
A: To create reports using SonarQube
A: Sonar uses a Derby or H2 as default database. When running Sonar, it says that these databases may only be used for evaluation. We can change this default database and use our custom DB.
Q: How to create reports in SonarQube?
A: To create reports using SonarQube
mvn clean install
mvn sonar:sonar -Dsonar.issuesreport.html.enable=true
No comments:
Post a Comment