Testing metrics that help, and the ones that mislead
By Denis Bojkovski, Test Automation Architect · Published November 25, 2026
Begin with a decision
Fifteen of the 86 full descriptions on QAAnywhere on 25 November 2026 mentioned metrics or KPIs. A metric is useful if a different value would make somebody act differently. Before collecting anything, complete the sentence: "If this goes up, we will…". If nobody can, do not collect it.
Measures that mislead
Number of test cases. Rewards splitting one test into five.
Pass rate. 98% sounds good; the 2% may be checkout. And a suite that tests little passes easily.
Defects found per tester. Rewards trivial reports and discourages preventing defects with a conversation.
Code coverage as a target. Coverage shows what was executed, not what was checked. A low number is informative: that code is untested. A high one proves little. Once it becomes a target, people write tests without assertions.
Automation percentage. Of what? Automating a pointless script raises it.
Measures that help
| Question | Signal | Act when |
|---|---|---|
| What reaches customers? | Escaped defects by severity and area | One area repeats |
| How fast do we learn? | Time from merge to trusted result | Longer than people wait |
| Can we trust red? | Share of failures caused by the product | Falls under about 80% |
| How quickly do we recover? | Time from detection to fix in production | Grows |
| Where is risk untested? | Uncovered items on the risk list | Before release |
The 80% is a starting point to argue about, not a standard.
Delivery research popularised by DORA uses deployment frequency, lead time, change failure rate and recovery time. They describe a whole team, which is an advantage: quality is not QA's private score.
Always pair them
Any single measure can be improved by doing something foolish. Escaped defects fall if you stop releasing, so show release frequency beside them. Run time falls if you delete tests, so show escapes. Present pairs that would move in opposite directions if somebody were gaming one.
Small numbers
If escaped defects went from 4 to 6, that is "50% worse" and probably nothing. Show counts, with several months beside each other, and look at each case. With small numbers, reading six reports teaches more than a chart.
Present to people who are not in the room
A remote audience reads your dashboard without you. Give each chart:
- A sentence stating what it shows.
- What is unusual, and the likely reason.
- What you propose.
Four of six escapes this quarter were in imports, all from files we do not generate. We will add eight malformed samples to the import tests by the 12th. We are not adding more interface tests.
Never use them for individuals
Once people believe numbers decide their review, the numbers change and the work does not. Defects stop being logged; severity becomes negotiable. Say explicitly that the data is for the process, and keep to it.
Starting from nothing
For one month, record for each production defect: severity, area, where it could have been caught, and why it was not. A spreadsheet is enough. At the end, the second-last column usually shows one dominant level or missing environment. Fix that. You will have demonstrated the purpose of measurement better than any dashboard. Related: writing a test strategy.