Understanding quality gates in SonarQube

Time to complete icon20 minutes to complete

Overview

This course provides an overview of how SonarQube quality gates interact with quality profiles and rules to enforce code quality and security standards. This course also explores the various types of conditions and metrics used in quality gates and how they prevent low-quality code from progressing in the development lifecycle.

Learning objectives

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

  • Describe the purpose of a SonarQube rule.
  • Explain the function of a SonarQube quality profile.
  • Describe the SonarQube quality gate.
  • Explore the different types of conditions and metrics used in quality gates.
  • Explain the value of quality gates and their primary functions.

Key topics

  • SonarQube quality control features
  • How quality gates work
  • How quality gates improve code
  • Resources and best practices for SonarQube quality gates

Target audience

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

Prerequisites

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