Sonarqube an open source code quality Management system

Source: Internet
Author: User
Keywords Open source Sonarqube code Quality Management system
Tags aliyun analysis basic code code quality code quality management system different html

Firstly, this paper discusses the basic working principle of Sonarqube 3.6 and the installation process of http://www.aliyun.com/zixun/aggregation/17165.html "" "" " Three different methods to carry out the basic process of code quality management for different language and architecture projects, finally, the author sums up the problems encountered in the process of practical use, and gives the corresponding solutions.

With the new software products in the IT industry, customer requirements for software products are becoming more and more high, so how to high-quality management software code, timely analysis of the quality of the code and give a reasonable solution has become a problem to be solved now. Compared with today's numerous code quality management tools, Sonarqube is more characteristic and competitive, its advantages mainly reflected in: it is an open source code quality Management system, support 25+ language, can use plug-in mechanism with Eclipse and JIRA and other external tools integration, So that the quality of the code to achieve a comprehensive automated analysis and management.

Firstly, this paper discusses the basic working principle and installation process of SonarQube3.6, then analyzes the basic flow of code quality control for different languages and architectures by using the three different methods of SonarQube3.6, and finally summarizes the problems encountered in practical use. and the corresponding solution is given.

This article mainly discusses the following aspects:

Sonarqube of the working principle of SonarQube3.6 Installation SonarQube3.6 code quality analysis of code quality analysis of the results of SonarQube3.6 actual use of the problems encountered and solutions

Introduction to the working principle of Sonarqube

Sonarqube is not simply to show the results of various quality detection tools (such as FINDBUGS,PMD, etc.) directly to customers, but through different plug-in algorithms to process these results, and ultimately quantify the quality of the code, Thus, it is convenient to carry out the corresponding code quality management for different scale and kinds of engineering.

Sonarqube the quality of the project is analyzed from the seven latitudes shown in Figure 1 when it comes to code quality management.

Figure 1. Quality latitude

Sonarqube can support the 25+ programming language, and it provides different ways of parsing for various programming languages:

For all supported programming languages, Sonarqube provides static analysis of the source code, and for certain programming languages, Sonarqube provides static analysis of compiled code, such as class file and Jar in Java and DLL file in C #. For certain programming languages, Sonarqube can also provide dynamic analysis of code, such as the execution of unit tests in Java and C #.

The overall architecture of the Sonarqube platform is shown in Figure 2:

Figure 2. Sonarqube Service Architecture

Remote clients can upload the parsed project code to Sonarqube server and manage and analyze the code quality through various analysis mechanisms, and sonarqube will also show the results of the analysis in a visual and measurable way through the Web API.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.