In this article we will discuss introduction of “SonarQube” which can be used to inspect the code quality. As a code quality platform it centralizes the organizations code quality and the below diagram depicts the components involved.
SonarQube contains a database to store the settings, metrics, rules etc.. and a server. It has the dashboard for the users to see the issues, to set the rules, to administrate, etc.. The SonarQube Runner has the code coverage tools, plugins, analyzers etc.. to perform analysis on the source code. It supports more than 20 programming languages. The list is given below.
We can integrate SonarQube with 3rd party tools like Jenkins, Fortify etc.. The list of possible integrations is given below.
SonarQube has in built support for SVN and Git. It supports other SCM’s through pulgins.
There is in built authentication system available with SonarQube. If you want to integrate with other authentication systems to perform single sign on, it has support for that as well. The list is given below.
By default SonarQube comes with English locale. If you want you can apply different language packs/plugins to support other languages like Chinese, French, German, Spanish etc… for the user interface.
At last, SonarQube has greater extensibility through the plugins. If you want, you can create your own plugin.
In the next article we will see how to setup SonarQube and SonarQube Runner to analyze the source code.
Till then Happy Writing Clean Code !!!
I’m absolutely enjoying your blog and look forward to see new updates.