MiniCTRM - Build Tutorial 821: Code coverage gates: what they measure, and why MiniCTRM keeps none
→ to begin · N for the speaker notes
On a phone: Next or a swipe left to begin, Notes for the words.
What you'll learn
You know what line, branch and instruction coverage measure and what they miss, you have read your own system's coverage report once, you have tests for the three untested pieces of code that would cost the most if they were wrong, and you have decided - for your own reasons, written in CLAUDE.md - whether your system keeps a gate.
What it counts – Lines, branches and instructions; what a high number says and what it cannot say.
Why MiniCTRM keeps none – What a gate catches, the two kinds of flaw it cannot see, and MiniCTRM's decision.
When a gate is right – The circumstances where a team is right to keep one, and the honest middle ground.
Your system – A report once, the untested code that would cost money, and a gate that only looks forward if you need one.
Copyright 2026-2027 Brian Shydlo. MiniCTRM is source-available under the PolyForm Strict License 1.0.0 (https://polyformproject.org/licenses/strict/1.0.0): free for learning and other noncommercial use; no changes and no redistribution; commercial use needs permission.
Welcome
A number most people have never seen
1 / 9What it counts
What a coverage number says, and what it cannot
2 / 9Why MiniCTRM keeps none
What a gate misses, and MiniCTRM's decision
3 / 9When a gate is right
When a team is right to keep one
4 / 9Your system
Read your coverage once
5 / 9Your system
The untested code that would cost money
6 / 9Your system
If you must have a gate: one that only looks forward
7 / 9Ship it
Ship it
8 / 9Where next
Tests that check behavior
9 / 9
You have finished lesson 821, Code coverage gates: what they measure, and why MiniCTRM keeps none.