Software quality metrics provide quantifiable measures for assessing code health, team performance, and system reliability throughout the development lifecycle. These metrics span from operational performance indicators like DORA metrics to structural code properties like complexity, coupling, and cohesion. In an era where AI-assisted code generation is accelerating development, understanding and tracking quality metrics becomes essential—not as vanity numbers, but as actionable signals that identify risk, guide refactoring decisions, and prevent technical debt from becoming technical bankruptcy. The key differentiator between high-performing teams and struggling ones isn't whether they use metrics, but whether they track the right ones and act on the insights they reveal.
What This Cheat Sheet Covers
This topic spans 22 focused tables and 130 indexed concepts, 126 flashcards. Below is a complete table-by-table outline of this topic, spanning foundational concepts through advanced details.
A jump-to index of every table row in this cheat sheet.
An interactive map of every table and concept in this topic.
Table 1: DORA Metrics (DevOps Performance)
DORA (DevOps Research and Assessment) metrics are the industry's most research-validated framework for measuring software delivery performance, backed by over a decade of surveys involving 39,000+ professionals. The 2024 report expanded the framework to five metrics; speed and stability are not tradeoffs—elite performers consistently excel on all five simultaneously.
| Metric | Example | Description | |
|---|---|---|---|
Multiple per day (elite, 16.2%)On demand to weekly (high, 44.6%) | • Measures how often code is deployed to production. Elite teams deploy on-demand multiple times daily • low performers deploy monthly or less | ||
< 1 day (elite)< 1 week (high) | Time from first code commit to production deployment. Shorter lead times signal streamlined pipelines and faster value delivery. | ||
< 4% (elite)< 8% (high) | Percentage of deployments causing degraded service. Elite threshold is under 4%—high rates signal inadequate testing or error-prone processes. | ||
< 1 hour (elite)< 1 day (high) | Time to restore service after a deployment-caused failure. Replaces MTTR in DORA's evolved model—measures resilience and incident response effectiveness. | ||
Ratio of unplanned hotfix deploymentsTracks post-incident patches | • Added in 2024 • ratio of unplanned deployments triggered by production incidents. Complements Change Failure Rate by capturing follow-on patches—no quantified benchmarks yet established |