Skip to main content

Posts

Showing posts from December 30, 2018

SonarQube Interview Question 2018

What is SonarQube? •        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. Why use SonarQube? •        Sonar covers the 7 sections of code quality Architecture and Design •        Unit tests •        Duplicated code •        Potential bugs •        Complex code •        Coding standards •        Comments What is role of database in SonarQube? •        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. How to create reports in SonarQube? •        To create reports using SonarQubemvn clean install mvn sonar:sonar -Dsonar.issuesreport.html.enable=true SonarQube? •        Sonar is a web based code quality analysis tool for