Skip to main content
all resources
handbook

Coverage Metrics Handbook

A field reference for the metrics the framework reports — what each one measures, how it is calculated, and where the line sits.

status
  • pass — at or above target
  • warn — trending below
  • fail — below threshold
mtr.line_coverage

Line coverage

The share of executable lines executed at least once by the suite.

formula
executed lines / executable lines
target
80%
at / above target
mtr.branch_coverage

Branch coverage

The share of decision branches — true and false paths — that have been taken.

formula
branches taken / branches reachable
target
75%
at / above target
mtr.mutation_coverage

Mutation coverage

How many seeded code mutations the suite detects. The strongest signal that tests fail when behaviour breaks.

formula
mutations killed / mutations seeded
target
70%
trending below
mtr.flow_coverage

Flow coverage

The share of end-to-end user workflows exercised by the suite, mapped from the code, not the ticket list.

formula
workflows exercised / workflows mapped
target
100%
at / above target
mtr.req_traceability

Requirement traceability

How many requirements have at least one automated case linked to them and a passing result.

formula
traced reqs / total reqs
target
90%
at / above target
mtr.regression_rate

Regression detection rate

The share of introduced regressions the suite catches before the gate, measured across runs.

formula
caught regressions / introduced regressions
target
95%
at / above target
mtr.gate_pass_rate

Gate pass rate

The share of runs that pass the coverage gate on the first attempt. Rising is good; falling is a smoke signal.

formula
passing runs / total runs
target
90%
trending below
mtr.time_to_gate

Time-to-gate

How long the pipeline takes from push to gate decision. The number that keeps coverage fast enough to matter.

formula
gate timestamp − push timestamp
target
< 15 min
at / above target
the principle

Measure what ships, not what runs.

Coverage numbers mean nothing if they come from tests that never gate a release. The framework measures the suite that actually runs in your pipeline — and the gate enforces the target on every push. The baseline promise: 80% automated coverage within four months, measured against these metrics.

See the metrics on your code.

The first coverage-gate report comes with the first week of the engagement.