
Explore SonarQube's complete guide to continuous inspection, language analysis across 27 languages, and integration with your existing workflow and GitHub, from basics to advanced features.
Install SonarQube by downloading the community edition, review the four editions—community, developer, enterprise, and data center—and deploy via a sample compose YAML, then access at localhost:9000.
Configure the sonar scanner for maven, create project tokens, set global settings, run analysis, and review vulnerabilities and rules in the SonarQube dashboard.
Explore how issue severity in SonarQube flags flaws and security issues, from blocker to critical security issues, using rules and tags like pitfall and dna, and viewing issues by file.
Explore SonarQube rules by language, examine repositories that contribute rules, learn about ready or deprecated statuses, and use rule templates to create custom rules; avoid basic authentication.
Explore built-in rule tags that categorize rules and issues across languages, with language-specific and cross-language checks; learn how tagging aids clarity, security, and coding conventions.
Define quality gates by creating conditions with metrics like coverage, critical issues, and vulnerabilities, using comparison operators and order values to determine release readiness.
Explore SonarQube metric definitions, including complexity measures, cognitive complexity, issue tracking stages, quality and security remediation, vulnerability levels, and coverage metrics.
Explore technical debt in SonarQube by evaluating development costs per line of code and language-specific parameter overrides; learn how debt ratio yields a rating from very good to very bad.
Explore quality profiles in SonarQube, create and customize language rules, adjust severity and limits for Java projects, and manage activation, permissions, and project associations.
Set public or private project access, assign groups and users to control who can browse projects and see source code, and manage open, confirm, resolve, close, reopen issues with permissions.
Analyze security-related rules in SonarQube, distinguishing vulnerabilities and hotspots, and examine how source-to-sink flow and input validation reveal issues like injection, improper validation, and weak cryptographic practices.
Configure the SonarQube scanner in Jenkins by setting credentials and connecting to localhost:9000, then set project properties (language Java) and run analysis to view the quality gauge percent.
Configure GitLab integration in SonarQube by creating a GitLab application at localhost:9000, enabling login, and generating a personal access token; then set up configuration and variables for repository analysis.
Configure the analysis scope by selecting files to ignore for code coverage and duplication detection, apply regular expressions, and restrict coding rules across languages, components, and blogs.
Welcome to this tutorial about SonarQube.
SonarQube is an automatic code review tool designed to detect bugs, vulnerabilities, and code smells in your code. It can seamlessly integrate with your existing workflow, enabling continuous code inspection across your project branches and pull requests. SonarQube is capable of analyzing up to 27 different languages, depending on your edition.
As the leading tool for continuously inspecting Code Quality and Security, SonarQube empowers development teams. It supports analysis for over 27 popular programming languages, including JAVA, C#, VB, JavaScript, TypeScript, and C++. SonarQube easily integrates with your Azure DevOps environment, identifying bugs, security vulnerabilities, and code smells.
Having facilitated over 170,000 deployments for small development teams and global organizations, SonarQube provides the means for all teams and companies worldwide to own and impact their Code Quality and Security.
In this course, you will learn both the basics and advanced features that SonarQube offers. We won't stay at the basic level; instead, we'll dive into advanced features. By the end of the course, you'll have much more than just a solid understanding of SonarQube; you'll be equipped to tackle more challenging projects.
I would be very happy to welcome you to this course and can't wait to get started together with you.