SonarQube

Overview

SonarQube is one of the Code Analysis tools supported in CloudMunch. Data is gathered for an individual project and that includes Sqale index, Violations, Complexity, Coverage and NCloc.

Configuration

SonarQube configuration consists of the following parts

  1. Server Endpoint - The URL of the SonarQube server including any port. If the server is provisioned on-premise, please ensure that it is accessible externally.  
  2. Authentication - SonarQube can be access anonymously or using basic authentication. For basic authentication, username and password should be entered. 
  3. Project - Based on the credentials entered the projects are pulled, and you can select one or more to gather data from.

Metrics

Here are the list of metrics created for SonarQube integration.

Metrics Description
Sqale Index Trend by Day & Sprints Daily and Sprint based (if project management tool is configured) trend for Sqale index
Violations Trend by Day & Sprints Daily and Sprint based trend for Violations 
Complexity Trend by Day & Sprints  Daily and Sprint based  trend for Complexity 
Coverage Trend by Day & Sprints  Daily and Sprint based trend for Code Coverage 
NCloc Trend by Day & Sprints  Daily and Sprint based trend for NCloc 
Blockers Trend by Day & Sprints  Daily and Sprint based trend for Blockers 
Incremental Blockers Number of new blockers since the last run
Custom Issue list Issue list using a custom filter based on specific status you want to track like Critical, High or Blocker, Critical