Introduction to rules, quality profiles, and quality gates in SonarQube

Time to complete icon30 minutes to complete

Overview

This course provides an overview of how SonarQube rules, quality profiles, and quality gates work together to enforce your code quality and security standards. This course also explores the various types of conditions and metrics used in quality gates to ensure only high-quality, secure code enters your development pipeline.

Learning objectives

After completing this course, you’ll be able to:

  • Describe the purpose of a SonarQube rule.
  • Define the fundamental concepts of code quality.
  • Explain the function of a SonarQube quality profile.
  • Explain the function of a SonarQube quality gate.
  • Explore the different types of conditions and metrics used in quality gates.

Key topics

  • Defining and enforcing code quality
  • How rules work in SonarQube
  • How quality gates work in SonarQube
  • How quality profiles work in SonarQube
  • Resources and best practices

Target audience

  • Administrator
  • DevOps engineer
  • Developer
  • Engineering leader
  • Analyst
  • Stakeholder

Prerequisites

  • Familiarity with SonarQube
  • Familiar with code quality and security standards