Skip to content
Figure 1Product risk matrix: likelihood against impact, five by five
Product risk matrix: likelihood against impact, five by five51015202548121620369121524681012345very highhighmediumlowvery lowtrivialminormoderatemajorcriticalimpactlikelihood
The 5 by 5 product risk matrix. Each cell is likelihood times impact. Red cells (15 and above) are high risk, amber cells (8 to 12) medium, green cells (6 and below) low.

Risk based testing: scoring, effort allocation, worked example

Risk based testing puts the most testing where a failure would hurt most and is most likely. It is the only defensible answer to the question of why one feature got three days of testing and another got an hour. The method is simple: score, classify, allocate, re-score.

Quick answer

Risk based testing scores each feature for likelihood (1 to 5) and impact (1 to 5), multiplies them into a product risk score of 1 to 25, and classes the result: 15 to 25 high, 8 to 12 medium, 1 to 6 low. High-risk features get about 55 percent of the effort and formal techniques; low-risk ones get a smoke check.

Key figures

Scoring scale
1 to 5 likelihood, 1 to 5 impact
Score range
1 to 25
High class
15 to 25
Medium class
8 to 12
Low class
1 to 6
Typical effort split
55 / 30 / 15 percent

Why score risk at all

Test effort is finite and defects are not evenly distributed. Some features are complex, new, or built on a component with a bad history; some features would cost a fortune if they failed in production. Scoring makes that judgment explicit so it can be reviewed, rather than leaving it to whichever tester picked up the ticket. It also gives the test plan a rationale that survives a difficult conversation at release time: we tested the refund flow deepest because we all agreed it was a 15.

Scoring likelihood and impact

Likelihood is the chance the feature contains a defect that testing could find. Score it 1 to 5 from complexity, novelty, size of change, defect history of the component, and the experience of the people who built it. Impact is the cost if a defect reaches production. Score it 1 to 5 from financial loss, number of users affected, regulatory or legal exposure, reputational damage, and how visible the failure would be. Multiply the two for a product risk score from 1 to 25.

Score in a one-hour session with a tester, a developer and a product owner present. Disagreement is useful: a developer scoring likelihood at 2 and a tester at 4 usually means one of them knows something the other does not. Record the reason next to the number, not just the number.

Allocating effort by risk class

Depth follows class. The shares are a starting point for a typical release; the worked example below shows how they move with the actual feature mix.
Risk classScoreDepth of testingTechniquesShare of effort
High15 to 25Every requirement covered by at least two techniques, exploratory sessions, non-functional checks, full regression each buildBoundary value analysis, state transition testing, decision tables, security and performance checks, two or more 90-minute exploratory sessionsAbout 55 percent
Medium8 to 12Every requirement covered once, one exploratory session, regression on changeEquivalence partitioning, use-case tests, one exploratory sessionAbout 30 percent
Low1 to 6Smoke check, sampled regressionOne positive path test, one negative path test, automated smokeAbout 15 percent
AcceptedAny, by decisionNot tested this release, recorded in the planNone; the acceptance is signed by the product owner0 percent

Worked example: six features in a release

A release of a subscription billing product contains six changes. The scoring session produces the following: card payment capture, likelihood 4 and impact 5, score 20, high. Refund processing, likelihood 3 and impact 5, score 15, high. Promotion codes with stacking rules, likelihood 4 and impact 3, score 12, medium. Invoice PDF layout, likelihood 3 and impact 3, score 9, medium. Audit log export, likelihood 2 and impact 4, score 8, medium. Address book edits, likelihood 2 and impact 3, score 6, low.

With 200 hours of test effort available, the two high-risk features get about 110 hours between them: full technique coverage, state models for the authorization and refund lifecycles, security checks on stored card tokens, and four exploratory sessions. The three medium features share about 60 hours: partitioned functional tests, one exploratory session each, and a regression run when their code changes. The low-risk address book gets 30 hours at most, most of it automated smoke and a single exploratory pass. The split, roughly 55, 30 and 15 percent, is shown below.

Figure 2Test effort by risk class for the six-feature release (200 hours)
Test effort by risk class for the six-feature release (200 hours)50 h100 h150 h200 hHigh: payment capture, refunds110 hMedium: promo codes, invoice PDF, audit export60 hLow: address book30 h
Two features consume more than half the effort. That is the point: effort follows the cost of being wrong.

Re-scoring every release

Risk scores are not permanent. Likelihood falls as a feature stabilizes and rises when it is changed or when a new team takes it over. Impact rises when usage grows or a regulation lands. Re-score at the start of each release in the same one-hour session, starting from last time's numbers and changing only what has changed. A feature that has shipped three releases with no production defects and no code change can drop from 20 to 10; a feature that had a severity 1 escape goes up regardless of what the developers say.

Track the escapes. If production defects cluster in features you scored low, your likelihood scoring is wrong and the session needs different inputs, usually defect history and change size rather than gut feel. The defect leakage metric by risk class is the single best check on whether the scoring works.

Where teams go wrong

Scoring everything 4 or 5 so nothing is low. If more than a third of features land in the high class, the scale has lost its meaning. Force-rank if needed: at most 30 percent high, at least 20 percent low.

Fitting it into the strategy

The test strategy fixes the scale, the thresholds and the class-to-depth rule once. Each release then only has to score its features and apply the rule, which takes an hour rather than a debate. The scoring table goes into the plan, the effort split goes into the estimate, and the re-scoring notes go into the completion report so the next release starts from evidence.

Common questions

What is the difference between product risk and project risk?

Product risk is the risk that the software fails in use; it drives what to test and how deeply. Project risk is the risk that the testing itself is derailed, by late builds or missing environments; it drives contingency in the plan. Score product risk; list and mitigate project risk.

Is a 3 by 3 matrix enough?

It works for small teams but collapses too many features into the same cell. A 5 by 5 gives 25 scores and enough spread to rank; anything larger produces false precision.

Who should score the risks?

A tester, a developer and a product owner together. The tester knows defect history, the developer knows complexity and change size, the product owner knows business impact. Any one of them alone gets half the picture.

How does risk based testing work in agile sprints?

Score at backlog refinement as part of story preparation. High-risk stories get more test tasks and an exploratory session in the sprint; low-risk stories get automated checks and a review. Re-score at each refinement.

Can you automate risk scoring?

Partially. Change size, defect history and code complexity can be pulled from version control and the defect tracker to propose a likelihood. Impact still needs a human who understands the business.

What do you do with a feature the product owner accepts as untested?

Record it in the features-not-tested section of the plan with the owner's name and the date. That is a legitimate risk decision, as long as it is written down and visible at release.

Sources

  1. ISO/IEC/IEEE 29119-2:2021, Software testing, Part 2: Test processes
  2. ISTQB Certified Tester Foundation Level (CTFL) v4.0 syllabus and overview
  3. ISTQB Glossary of software testing terms

Further reading named in the text

  • ISTQB, Certified Tester Advanced Level Test Management Syllabus (ISTQB, 2012)
  • Rex Black, Pragmatic Software Testing: Becoming an Effective and Efficient Test Professional (Wiley, 2007)
  • Erik van Veenendaal, Practical Risk-Based Testing: Product Risk Management, the PRISMA Method (UTN Publishers, 2012)
  • Paul Gerrard and Neil Thompson, Risk-Based E-Business Testing (Artech House, 2002)

This guide is part of the test management hub. It is best read alongside test strategy and test estimation, which cover the neighbouring questions.