QA Interview Hub · Knowledge base · Quizzes · Українська

QA Fundamentals › Quality metrics

Which process metrics do you track?

Process metrics show where work is delayed and what comes back: fix time, reopen rate, rejected rate and time in status. Test execution progress and the age of open bugs are tracked too. Fix time is reported as a median and a percentile (85th or 90th), not a mean. They are read over several sprints, for a conversation about the process and not to rate people.

QA Fundamentals · Quality metrics

Tasks wait weeks for QA and bugs come back as "not a bug". What should you measure?

A sprint retro: developers say QA "tests for too long", testers say tasks arrive on Friday, and a third of their bugs come back marked "not a bug". Each side is right from where it stands, and without numbers the talk goes in circles. Process metrics show where exactly work is delayed and what comes back. This lesson is about which metrics these are, how to read them and why they exist for a conversation about the process, not about people.

How it works and why. Process metrics measure not the product but the movement of work through it: how much time is spent at each stage, how much work returns and where a queue builds up. There are few basic metrics, and almost all come from the history of statuses in the tracker.

MetricHow it is calculatedWhat it signals
Fix time by severitymedian (and the 85th or 90th percentile) from Open to Done, separately for Critical, Major, MinorWhether we meet agreed terms; whether critical bugs really get fixed faster
Reopen ratereopened bugs ÷ closed in the periodThe quality of fixes or retest, incomplete reproduction steps
Rejected raterejected ("not a bug", duplicate, cannot reproduce) ÷ filedThe quality of reports, unclear requirements, no search for duplicates
Test execution progressexecuted / passed / failed / blocked against the plan at this pointWhether we make it to the release, where the blockers are
Time in status (Ready for QA, In QA)median time a task spends in a statusBottlenecks and queues
Age of open bugshow many days a bug has been open without movementThe "tail" of old bugs nobody fixes

Why the median and a percentile, not the average: fix time is distributed unevenly, one bug that hung for half a year raises the average and says nothing about the typical case. The median shows the typical task, and the 85th or 90th percentile shows how bad it can get, and that is the one convenient to promise in an agreement ("90% of Major are fixed within 5 days"). In ISTQB terms test execution progress belongs to the test progress metrics: what a progress report (see the lesson about the test report) usually shows as "executed X of Y, passed, failed, blocked".

Where a bug spends its time

In development2 daysReady for QA (queue)4 daysIn testing1 dayWaiting for release2 days
Figure 1. Of the nine days of a bug’s life, four it simply waits in the queue for QA: the bottleneck is not in testing itself.

Example: how to read the numbers of one sprint.

Sprint 23 (example data from the tracker)

Bugs closed: 40, of them reopened: 6
  → reopen rate = 6 / 40 = 15% (4 of 6 in the "Payments" module)

Bugs filed: 30, rejected: 9
  (3 duplicates, 4 "not a bug", 2 "cannot reproduce")
  → rejected rate = 9 / 30 = 30%

Time from Open to Done, median:
  Critical 1 day, Major 4 days, Minor 11 days

Time in "Ready for QA": median 2.5 days, longest 6 days

Each number suggests a hypothesis, not a verdict. Reopen rate 15%, 4 of 6 in "Payments": it looks like the module is fixed without enough unit tests, or the retest does not repeat the full steps. We check the reasons for reopening (not fixed, partly fixed, regression) and do not scold the developer. Rejected rate 30%, of which 4 are "not a bug": a difference in understanding the requirements, so it is a question to the PO and to our reports, whether we referred to a requirement. The two "cannot reproduce" remind us of steps and environment. Duplicates (3) point to nobody searching before filing. Fix time Critical 1 day against Minor 11 days: a normal picture, critical ones really are faster. Ready for QA with a median of 2.5 days and a peak of 6: it is the queue before testing, not the speed of testers, that slows tasks, and it must be solved at the process level (a WIP limit, testing during development, smaller tasks), not with a reminder "test faster".

Limits and alternatives. Process metrics make sense only when the team understands statuses the same way: if some set "Done" after the merge and others after the release, the time between stages is not comparable. Small samples deceive: on five bugs "reopen rate 40%" says nothing, so such metrics are read over several sprints or per quarter. Metrics also depend on culture: where reopening is criticised, bugs stop being reopened and new tickets are created instead, and the number looks better though the process did not improve. Another group often named in this context is cycle time and lead time from Kanban: the time from the start of work (lead time: from the appearance of a request) to completion; they cover the whole flow, not only QA. To show how a queue changes, a cumulative flow diagram is used: a widening "Ready for QA" band is the bottleneck.

Common mistakes.

  • Measuring the average fix time: a few old bugs distort the number, and it matches no real case.
  • Drawing conclusions from a small sample: 2 reopened out of 5 is not a trend.
  • Using metrics to compare people: the reopen rate of "developer A" turns into an accusation, and data starts to be distorted.
  • Not fixing what each status means: "Ready for QA" with no rule for when a task gets there gives chaos in the data.
  • Collecting a metric without discussing it at the retro: a number without a conversation changes nothing.

Check yourself

The team’s rejected rate grew from 10% to 35%. Name two different possible causes and what you check in each case.

Answer

First: bugs are rejected as "not a bug" because requirements are unclear or have changed: I check what the reports refer to and whether there is a source of the expectation. Second: the share of duplicates or "cannot reproduce" has grown: I check whether people search for duplicates before filing and whether steps and environment are complete. A breakdown of rejected ones by reason (duplicate, not a bug, cannot reproduce) tells which one; without it the overall percentage explains nothing.

The average fix time of Major is 9 days and the median is 3 days. What does it mean and which number do you promise a customer?

Answer

A few very old bugs pull the average up: the typical task is done in 3 days. For a promise a percentile (for example, the 85th or 90th) is better, because it answers "how long can it take", not "how long on average". I look at the old bugs separately through the age of open bugs.

In an interview. Junior: I look at fix time by severity, the reopen rate, the rejected rate, test execution progress and how many tasks wait for QA. A high rejected rate suggests the problem is in requirements or in my reports, and it is a topic for the retro. Middle/Senior: I use the median and a percentile instead of the average, read metrics over several sprints and break down the reasons (reopen: not fixed or a regression; rejected: duplicate or not a bug). For a bottleneck I look at time in status, for example "Ready for QA", and propose process changes such as a WIP limit. I discuss metrics at the retro and do not use them to assess individual people.

More articles in this chapter