SonarQube is a platform for continuous inspection of code quality and security. It runs static analysis on source code in many languages and reports bugs, vulnerabilities, code smells, duplication and test coverage. Quality gates then decide whether a change is good enough to ship. SonarLint brings the same kind of rules into the IDE, so developers see issues while they write code.

The posts here go from basics to day-to-day operations. Overviews cover SonarQube's architecture, features, integrations and use cases, and a separate post explains how SonarLint works. Hands-on tutorials walk through installing and configuring the server on Linux or with Docker. Reference posts list common options in sonar-project.properties, sonar.properties and sonar-scanner.properties. There's a Jenkins pipeline example that fails the build when the quality gate status is ERROR, and a troubleshooting guide for startup errors from sonar.sh on Linux. You'll also find interview questions and broader comparisons of code quality and code complexity tools.

These posts help DevOps engineers wiring static analysis into CI/CD, developers who want to understand the issues SonarQube reports, and anyone preparing for interviews that cover code quality tooling.

Start here

Latest SonarQube articles

Example of sonar-project.properties file

sonar-project.properties is the configuration file SonarScanner CLI reads from a project's root directory. It tells the scanner which project to report to, where the source and test…

Read More

Sonar Maven Plugin 1.0-beta-2: What Changed for Archiva/Nexus-Based Builds

This historical release note introduced simpler Sonar Maven Plugin behavior when using repository managers like Archiva or Nexus. Here’s what changed from beta-1, how compatibility works with Sonar versions, and how to validate legacy CI behavior.

Read More

Sonar Maven Plugin 1.0-beta-2: What Changed and How to Configure Legacy Builds

This update from the Mojo team simplified Sonar Maven Plugin configuration when using repository managers like Archiva or Nexus. Here’s a clear breakdown of compatibility, behavior differences from beta-1, and practical legacy setup guidance.

Read More

Sonar PDF Report Plugin 2.1: Integrations, SVG Support, and What the Release Actually Added

This revised note explains what was explicitly announced for Sonar PDF Report Plugin 2.1: broader plugin data inclusion and SVG image support. It also maps the reporting workflow and gives a practical adoption checklist for DevOps teams maintaining legacy Sonar setups.

Read More

Sonar 2.2 Release Highlights: Filters, Plugin Classloaders, and Upgrade Notes

Sonar 2.2 introduced homepage filters and independent plugin classloaders, aimed at faster quality triage and easier plugin development. This revised guide explains what changed, why it mattered, and where to find the original release resources.

Read More

Build Stability Plugin 1.1.1: Confirmed Changes and a Safe Legacy Rollout Plan

The original Sonar team post for Build Stability Plugin 1.1.1 is brief but important: it announces a Bamboo support fix. This revised guide explains what is confirmed, what is missing, and how to upgrade cautiously in legacy environments.

Read More

SonarQube Masterclass: 2-Day Hands-on Training for Developers, DevOps & Administrators

In modern software delivery, writing code is only one part of the engineering journey. Teams also need to ensure that the code is secure, maintainable, reliable, testable,…

Read More

How to Ship Faster Without Creating Technical Debt in 7 Key Decisions

You ship faster without creating technical debt by treating shortcuts as decisions, measuring future change cost, and refactoring the hottest code first. SonarQube rates maintainability as A…

Read More

Top 10 Static Code Analysis Tools: Features, Pros, Cons & Comparison

Introduction Static Code Analysis Tools are software solutions that automatically analyze source code without executing it to identify potential issues such as bugs, security vulnerabilities, performance bottlenecks,…

Read More

Top 10 Static Code Analysis Tools in 2026: Features, Pros, Cons & Comparison

Introduction Static code analysis tools have become a cornerstone of modern software development, helping developers detect bugs, vulnerabilities, and code quality issues before they become major problems….

Read More

Sonarqube: SonarQube Basic Workflow using Scanner CLI

In Workstation Step 1 – Install Java $ sudo apt update$ sudo apt install openjdk-17-jdk$ sudo apt install openjdk-17-jre$ java –version Step 2 – Download a Scanner…

Read More

Static Code Analysis Tools in 2024

The world of static code analysis (SCA) tools is constantly evolving, offering a wide range of options to suit diverse needs and preferences in 2024. Following is…

Read More

Code Quality tools in 2024

The code quality landscape continues to evolve rapidly in 2024, driven by several key trends: Here’s a look at some top code quality tools across categories in…

Read More

What is SonarQube and use cases of SonarQube?

What is SonarQube? SonarQube is a powerful and innovative tool that helps developers improve the quality of their code. It provides a range of static code analysis…

Read More

List of Best DevOps Security Integration Tools

The following are the best DevOps security integration tools: These are just a few of the many DevOps security integration tools available. The best tool for you…

Read More

Sonarqube Tutorails: Installation & Configuration

Prerequisite: JAVA Install JAVA Install SonarQube in Linux How to install SonarQube using docker container? How to access SonarQube? Log in to SonarQube: On the SonarQube login…

Read More

Code Complexity Tools

Are you tired of writing code that’s difficult to understand and maintain? Do you want to improve the quality of your code and make it more efficient?…

Read More

List of SonarQube sonar.properties options with explanation

Here is a list of some commonly used SonarQube sonar.properties options along with their explanations: Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering…

Read More

List of SonarQube sonar-scanner.properties options with explaination

Here are some common SonarQube sonar-scanner.properties options and their explanations: Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical…

Read More

List of SonarQube sonar-project.properties options with explaination

Here are some common SonarQube sonar-project.properties options and their explanations: Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical…

Read More

SonarQube Assignment

Write a 1 post for each questions below at www.Debug.School and submit a answer post url in the comment below Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE,…

Read More

Jenkins Pipeline with Sonarqube quality gate status check fail in Jenkins

Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked…

Read More

How to execute sonarqube scanner using jenkins pipeline?

SonarScanner: Command line SonarScanner for Gradle: SonarScanner for Maven: SonarScanner for .NET: The tool name “SonarQube Scanner 2.8” needs to match the “Name” field of a SonarQube…

Read More

Gitlab Tutorials: CI for automation and .Net Framework Sonarqube Codecoverage

Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked…

Read More

Sonarqube Tutorials: Fundamental Demo

Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked…

Read More

How to Analyze Powershell code using Sonarqube?

SonarQube do not support Powershell language at present to analyze a Powershell code. There is no SonarQube PowerShell Plugin available as of now. Please refer – https://www.sonarqube.org/features/multi-languages/…

Read More

How to Migrate Sonarqube from H2 to Postgresql?

Step 1 – Run Postgresql using docker command Step 2 – Modify sonar.properties Step 3 – Do this Step 4 – Do this Step 5 – Start…

Read More

What is Sonarlint and How it works? An Overview and Its Use Cases

History & Origin of Sonarlint More than your average linting tool Your current linting tools may come with overhead – specialized tools for languages or longer setup…

Read More

What is SonarQube and How it works? An Overview and Its Use Cases

History & Origin of SonarQube? Simon Brandhof starts developing the Sonar platform by integrating best-of-breed open source tools for Java. The two of them are joined in…

Read More

Top 50 interview and answers for SonarLint

The Sonar is an open source platform used by developers to manage source code quality and consistency. It covers a wide area of code excellence checkpoints ranging…

Read More

SonarQube: frequently asked questions

What is the difference between SonarQube and SonarLint?

SonarQube is a server that analyzes whole projects, usually from CI, and stores results and quality gate status centrally. SonarLint is an IDE plugin that flags issues as you write code, and in connected mode it can use the same rules as your SonarQube server.

What is a SonarQube quality gate?

A quality gate is a set of conditions on metrics, such as coverage on new code or no new critical issues. The analysis either passes or fails the gate, and a CI pipeline can check that status and stop the build when it fails.

Which properties file should I edit: sonar-project.properties, sonar-scanner.properties or sonar.properties?

sonar-project.properties sits in your project root and defines that project's analysis settings, such as sonar.projectKey and sonar.sources. sonar-scanner.properties holds global defaults for the scanner installation. sonar.properties configures the SonarQube server itself, including the database connection.

Why won't SonarQube start on Linux?

Common causes include an unsupported Java version, running it as root, Elasticsearch limits such as vm.max_map_count or open file limits being too low, and using a wrapper binary built for the wrong OS or CPU architecture. Check the files in the logs directory for the exact error.