Static Analysis Vs Dynamic Analysis: What Is Sonarqube?S
Static Analysis Vs Dynamic Analysis: What Is Sonarqube?S
Static Analysis Vs Dynamic Analysis: What Is Sonarqube?S
s
SonarQube is an open source platform which is mainly used to perform a static analysis of your source code.
Besides, although the tool was initially thought for Java projects, it has been extended to accept extensions for other
programming languages.
Main Features
The main purpose of this application is to invest in controlling the quality of your software, so that you start analysing
the code and be able to detect code smells and the main big problems as early as posible to put a solution before
deploying our code into production and before reaching our customers.
Sonarqube
Sonarqube architecture and its usage in Continous Integration.
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.
2
SonarQube is open source
SonarQube supports for various languages like Java, C#
SonarQube reports for duplicate code, unit testing, code coverage, code complexity historical
We can integrate SonarQube with build tools like ant, gradle
SonarQube has Eclipse plugin like Sonarlint
SonarQube supports external plugins like plugin for ldap
What is SonarQube ?
9000
java
SonarQube Database stores configuration of the SonarQube instance like security settings and they also store
project quality snapshot.
Developer develops code and sends its code into repository system like SCM, git
An automatic build is fired in Continuous Integration Server and execution of SonarQube Scanner happens
for SonarQube analysis.
Report is sent to SonarQube Server for processing.
SonarQube Server processes the report and stores the analysis report results in the SonarQube Database
and displays the results in the UI
Developers review, comment, challenge their Issues to manage and reduce their Technical Debt through the
SonarQube UI.