Jump to content
Contact

12 Software Quality Assurance Metrics (What to Track & Why)

Twelve quality metrics for software teams, with how to measure each one, healthy ranges and the ways each can mislead you.

Whitney Sorensen, Head of Software Content at Umber SoftwareBy Whitney Sorensen
Head of Software Content
Reviewed by Priya Raman, Lead Software Architect Updated Verified

Main Points

  • Pick four metrics first: escape rate, removal efficiency, automation coverage and customer incidents.
  • Defect metrics show how many bugs ship, and test metrics show how trustworthy your checks are.
  • Coverage numbers are smoke alarms, so pair them with risk and with real assertions.
  • Set targets from your own history and review each metric on a fixed schedule.

Teams that track no quality numbers argue about opinions, and teams that track thirty drown in dashboards. If you run a software quality assurance consulting engagement, the first job is usually to pick a handful of measures that match your risks. This guide covers 12 software quality assurance metrics, how I calculate each one and where it misleads.

You will see metrics for defects, test health, speed and customer impact. Start with three or four and add more only when a question needs one.

Four Groups of Quality Metrics

I sort the metrics by the question they answer. Mixing groups on one dashboard is fine, but each group has a different owner and a different review rhythm.

GroupMetricsWhat it answersReview rhythm
Defect qualityDefect density, escape rate, removal efficiencyHow many bugs do we ship, and where do they come from?Every release
Test effectivenessRequirements coverage, code coverage, pass rateDo our tests check the right things?Weekly
Test efficiencyAutomation coverage, flaky test rate, detection timeHow fast and trustworthy is our feedback?Weekly
Delivery and impactTime to resolve, reopen rate, customer incidentsDo fixes stick, and do users notice problems?Monthly

12 Software Quality Assurance Metrics to Track

Each metric below has a short explanation, the steps I use to measure it and the tooling that usually already exists in your stack. Use the table for a quick comparison, then read the ones that fit your product. If you outsource part of testing, I also cover how to ask for these numbers in my guide to software quality assurance outsourcing.

MetricWhat it showsTypical healthy range
1. Defect DensityBug concentration by moduleFalling trend per module
2. Defect Escape RateBugs reaching usersUnder 10% overall, near 0% for severity 1
3. Defect Removal EfficiencyBugs caught before release90% or higher
4. Requirements CoverageStories with linked tests100% for high-risk stories
5. Code CoverageCode executed by tests70 to 80% on new code
6. Test Pass RateHealth of the main branchClose to 100% on main
7. Automation CoverageShare of regression automated60 to 80% for stable products
8. Flaky Test RateUntrustworthy testsUnder 2 to 3% of builds
9. Defect Detection TimeHow quickly bugs are foundSame sprint for most defects
10. Mean Time to ResolveSpeed of fixesDepends on severity targets
11. Defect Reopen RateQuality of fixesUnder 5 to 8%
12. Customer-Reported IncidentsReal-world impactFlat or falling per active user

Defect Density

Defect density counts confirmed defects per unit of size, usually per thousand lines of code or per feature. I use it to compare modules inside one product, because it shows where bugs cluster. A payment module with three times the density of everything else deserves a design review before another round of testing.

Be careful comparing it across teams. Languages, code style and counting rules differ, so one team's 4 per KLOC may be another team's 9. In my client work the useful signal is the trend per module over several releases, not the absolute number.

How to measure it

  1. Pick one size unit and keep it for the whole product.
  2. Count only confirmed, deduplicated defects, not raw tickets.
  3. Divide by the size of each module at release time.
  4. Rank modules and review the top three each quarter.

Tools that help

Your issue tracker supplies the defect counts and a code analysis tool such as SonarQube supplies size. A simple spreadsheet is enough to start.

Defect Escape Rate

Escape rate is the share of defects found by users after release, out of all defects found. It answers the question your leadership actually asks: how many bugs got past us? A team that finds 90 bugs before release and 10 in production has an escape rate of 10%.

It is easy to game by logging fewer production bugs, so define up front what counts as a defect and who can close one. I also split it by severity, since ten cosmetic escapes matter far less than one data-loss escape.

How to measure it

  1. Tag every defect with the phase where it was found.
  2. Count defects found in production within 30 days of each release.
  3. Divide by total defects found for that release.
  4. Repeat per severity level and watch the severity 1 and 2 numbers first.

Tools that help

Jira, Azure DevOps or GitHub Issues all support a custom field for the detection phase. Add it to your bug template and report from there.

Defect Removal Efficiency

Defect removal efficiency, or DRE, looks at the same data from the other side. It is the percentage of all defects you removed before release. Most mature teams aim for the 90s, and anything under 80% tells you the test strategy has holes.

It pairs well with escape rate, because DRE rewards earlier detection while escape rate punishes late surprises. I use DRE per phase, for example how many bugs reviews caught versus system tests, to decide where to invest next.

Funnel of the stages a defect can be caught at, from requirements review down to production, where catching it costs the most.
Removal efficiency improves when more defects are caught in the wide stages at the top.

How to measure it

  1. Record the phase of detection for each defect.
  2. Sum defects found before release and after release.
  3. Divide pre-release defects by the total.
  4. Compare the result per phase to see which filter is weakest.

Tools that help

The same tracker field used for escape rate gives you DRE for free. A small dashboard in Grafana or your tracker's own reports shows it per release.

Requirements Coverage

Requirements coverage shows how many of your requirements or user stories have at least one linked test. It is a better first coverage metric than code coverage, because it asks whether the tests relate to what the business wanted.

A story with a test is not a story with enough tests. I look at coverage together with risk: high-risk stories such as billing or permissions need several tests each, while a copy change needs one.

Grid comparing story risk with testing depth, showing where coverage is wasted and where a thin test set creates a dangerous gap.
Coverage counts mean little until test depth matches the risk of each story.

How to measure it

  1. Link every story or requirement to its test cases.
  2. List stories with zero linked tests.
  3. Mark each story low, medium or high risk.
  4. Set a target per risk level, for example 100% for high risk.

Tools that help

Test management tools such as TestRail, Xray for Jira or Azure Test Plans keep the traceability links. A plain spreadsheet works for small products.

Code Coverage

Code coverage reports the share of lines, branches or functions that automated tests execute. Treat it as a smoke alarm. Low coverage in a module proves nobody tests it, but high coverage only proves the code ran, not that the assertions mean anything.

I advise clients to set a floor, often 70 to 80% for new code, and to enforce it on pull requests rather than chasing a company-wide number. Branch coverage is stricter and more honest than line coverage.

How to measure it

  1. Enable the coverage plugin for your test runner.
  2. Publish the report on every build.
  3. Set a minimum for new and changed code.
  4. Review uncovered branches in critical modules by hand.

Tools that help

JaCoCo, Istanbul, coverage.py and similar libraries produce the data. SonarQube or Codecov show it per pull request.

Test Pass Rate

Test pass rate is the percentage of executed tests that pass in a run. A healthy suite sits very close to 100% on the main branch, and a drop is a signal worth stopping for.

Watch for the opposite problem too. A pass rate that stays at 100% while the suite shrinks usually means someone deleted or skipped tests to get green. Always report the count of skipped tests beside the pass rate.

Two cards setting a perfect pass rate beside the weak assertions, skipped tests and missing cases that it can hide.
A flawless pass rate can hide thin tests, so read it next to coverage and escape data.

How to measure it

  1. Run the full suite on every merge to the main branch.
  2. Record passed, failed and skipped counts.
  3. Chart the pass rate per day.
  4. Investigate any failure on main within the same day.

Tools that help

Your CI system, such as GitHub Actions, GitLab CI or Jenkins, stores the results. Add a test report plugin to see trends.

Automation Coverage

Automation coverage is the share of your test cases that run without a person. It tells you how much of each release check is repeatable. Teams that run regression by hand often spend several days per release before they notice the cost.

Do not aim for 100%. Exploratory testing, usability checks and one-off scenarios stay manual by design. A realistic target for a stable product is 60 to 80% of regression cases automated.

How to measure it

  1. Count regression test cases and flag each as automated or manual.
  2. Divide automated cases by the total.
  3. Rank manual cases by how often they run.
  4. Automate the most frequent, most stable ones first.

Tools that help

Playwright, Cypress, Selenium and pytest cover most web and API needs. Your test management tool can hold the automated flag.

Flaky Test Rate

A flaky test passes and fails on the same code. The flaky test rate is the share of tests, or of failed builds, caused by them. Left alone, it teaches developers to ignore red builds, which is how real bugs slip through.

I treat anything above 2 or 3% of builds failing for non-code reasons as an incident. The fix is almost never a retry. It is usually shared test data, timing assumptions or an unstable environment.

Four step flow for handling a flaky test: spot the random failure, quarantine it, assign a fix and return it to the suite.
Quarantine keeps the pipeline trusted while the unreliable test gets a named owner.

How to measure it

  1. Re-run failed tests once and log the ones that pass on retry.
  2. Count flaky results per test over 30 days.
  3. Quarantine any test that flakes more than twice.
  4. Fix or delete quarantined tests within two weeks.

Tools that help

Most CI systems and tools like BuildPulse or Datadog CI Visibility detect flaky tests. A scheduled report from your own build logs also works.

Defect Detection Time

Mean time to detect is the average time between a defect entering the code and someone finding it. The shorter, the cheaper the fix. A bug caught in the same pull request costs minutes, while one found in production a month later can cost days.

You rarely know the exact injection date, so use a proxy: the time from the commit that introduced the bug to the ticket creation. Git blame on the fix commit gets you close enough.

How to measure it

  1. Link each defect fix to the commit that introduced the bug.
  2. Subtract the commit date from the ticket creation date.
  3. Average by severity and by team.
  4. Move tests earlier where detection time is longest.

Tools that help

Git history plus your tracker is sufficient. Some engineering analytics tools such as LinearB or Jellyfish automate the link.

Mean Time to Resolve

Mean time to resolve measures how long a defect stays open, from report to verified fix. Report it per severity, because averaging a critical outage with a typo skews everything.

Look at the median and the 90th percentile as well. A healthy median with a terrible 90th percentile tells you a few bugs rot in the backlog while the easy ones get fixed.

How to measure it

  1. Record opened and closed timestamps in the tracker.
  2. Split by severity.
  3. Report median and 90th percentile, not only the mean.
  4. Review every bug older than the 90th percentile line each month.

Tools that help

Jira, Azure DevOps and GitHub all expose these dates. A saved filter plus a dashboard gadget is enough.

Defect Reopen Rate

The reopen rate is the share of closed defects that return. It points at weak fixes, vague bug reports or missing regression tests. A rate above 5 to 8% usually means testers and developers disagree about what fixed means.

When I see a high rate, the cure is cheap: require reproduction steps on every bug, and require a new automated test with every fix.

How to measure it

  1. Add a reopened status or count status transitions back to open.
  2. Divide reopened defects by closed defects per month.
  3. Sample ten reopened bugs and find the shared cause.
  4. Update your bug template and definition of done.

Tools that help

The workflow history in your tracker holds the transitions. Export it monthly and count them.

Customer-Reported Incidents

Customer-reported incidents count the problems users or support raise per release or per thousand active users. It is the outcome metric behind every other number on this list. If everything inside the team looks green and incidents rise, the internal metrics are measuring the wrong things.

I connect support tickets to releases, so a spike links to a change. Normalize by usage, because a growing product naturally gets more tickets.

How to measure it

  1. Tag support tickets that come from software defects.
  2. Link each one to the release that contained the cause.
  3. Divide by active users or sessions.
  4. Review the top three causes with engineering each month.

Tools that help

Zendesk, Freshdesk or Intercom hold the tickets, and a shared tag or field connects them to your tracker. Error monitors like Sentry add the technical detail.

How to Choose Your Starting Set of Metrics

Look at where your last three painful incidents came from. If bugs reached customers, start with escape rate and removal efficiency. If releases feel slow, start with automation coverage and flaky test rate. If the team argues about priorities, start with time to resolve and reopen rate.

  • Each metric has one named owner who can act on it.
  • You can calculate it from data you already collect.
  • A change in the number would change a decision.
  • You review it on a fixed date, not when someone remembers.

Once you have a baseline, set targets from your own history rather than industry averages. My software quality assurance best practices list shows which habits move these numbers, and the software quality assurance checklist covers the controls that should exist before you measure anything. Teams that need help choosing a stack can compare options in my ranking of software quality assurance tools.

Decision tree that maps the biggest quality pain, from bugs reaching users to untrusted tests, to the first metric worth tracking.
Start with the one metric that answers your current pain, then add others as habits form.

Questions About Software Quality Assurance Metrics

What Are the Most Important Software Quality Assurance Metrics?

For most teams I suggest four: defect escape rate, defect removal efficiency, automation coverage and customer-reported incidents. Together they show how many bugs reach users, how well your filters work, how repeatable your checks are and what customers feel.

How Many QA Metrics Should I Track?

Between four and eight is plenty. Each extra metric adds reporting work, and unused numbers lose credibility. Add a new one only when a specific question needs it, and drop any metric nobody has acted on for a quarter.

What Is a Good Defect Escape Rate?

Under 10% across all severities is a common goal, and severity 1 escapes should be close to zero. Compare it to your own history first, because defect definitions vary. A falling trend matters more than hitting a number on day one.

Is 100% Code Coverage a Good Goal?

No. Chasing it leads to tests that execute code without checking results. A floor of 70 to 80% on new code, plus careful review of critical modules, gives more value for much less effort.

How Often Should I Review QA Metrics?

Review release-level metrics such as escape rate after each release, test health metrics weekly and customer impact monthly. A short fixed meeting with the same agenda works better than ad hoc reviews.

Can Small Teams Use These Metrics?

Yes. A team of five can track escape rate, pass rate and flaky tests with the data already in its tracker and CI system. Start with a spreadsheet and move to dashboards when the data volume justifies it.

Who Should Own QA Metrics?

The people who can change the result. Developers own flaky tests and coverage, QA leads own defect analysis and release gates, and product owners own incident impact. A single owner per metric avoids the situation where everyone watches and nobody acts.

Please note: this guide is general information and not legal, financial or tax advice. Numbers and examples are typical-project estimates; confirm current details with your providers and advisers.

Did this article help you?

Whitney Sorensen, Head of Software Content at Umber Software

Whitney Sorensen

Head of Software Content, Umber Software

Whitney leads the Umber editorial team and works with the consultants to turn real client projects into practical guides on software selection, custom development, integration and legacy modernization. Before joining Umber, she spent years writing and editing for engineering and IT teams. She has since reviewed architecture audits, system selections and modernization plans from client projects across industries from manufacturing to healthcare. She works remotely from the USA.

Schedule a Free Consultation

Get Your Free Discovery Call

Enter your name.
That email address looks incomplete.
Add a short subject.
Tell us in a sentence or two what you need.