/
Sonar Code Quality

Sonar Code Quality

Overview

Overview

Definition (Hover Text)

is graded based on the static and dynamic code analysis procedure built in Sonarqube that analyses code from multiple perspectives.

Source Tools

SonarQube, Sonar Cloud

Graph type

Line

Filters

Sonar Projects

Hover Format on KPI

Date Range:<<Months>>

Fields on Overlay

Project

Job Name

Code Quality

Month

Business Logic

Calculation Formula

It is directly calculated in Sonarqube. Sonar Code Quality is graded based on the static and dynamic code analysis procedure built in Sonarqube that analyses code from multiple perspectives.

Trend

  • Code Quality in Sonarqube is shown as Grades (A to E).

  • A is the highest (best) and

  • E is the least

Maturity Levels

M1: E 

M2: D

M3: C ,

M4: B,

M5: A

Instance level thresholds

 

Configurations

Processor Fields

NA

Mandatory fields

NA

How to Validate KPI

Suggested ways of working

 

Sample JQLs

 

Benefits of KPI

How does the KPI help

The Sonar Code Quality KPI helps teams improve code quality by identifying and tracking issues related to code complexity, duplication, and maintainability. It enables teams to prioritize areas for improvement, reduce technical debt, and enhance overall code quality. By addressing code quality issues, teams can increase development efficiency, reduce bugs, and improve long-term code maintainability.

C

Related content

Tech Debt - Sonar Reliability
Tech Debt - Sonar Reliability
More like this
Sonar Violations
Sonar Violations
More like this
Tech Debt - Sonar Maintanability
Tech Debt - Sonar Maintanability
More like this
Quality Gates Overview
Quality Gates Overview
More like this
Tech Debt - Sonar Security
Tech Debt - Sonar Security
More like this
Unit Test Coverage
Unit Test Coverage
More like this

© 2022 Publicis Sapient. All rights reserved.