Leaders reasonably want to know whether software delivery is healthy and improving. Unfortunately, many common measures do more harm than good. Lines of code, story points completed and percent complete all encourage the wrong behavior, and AI-assisted development has made output measures like lines of code meaningless.
A small set of well-chosen measures, used for learning rather than judgment, tells a much more useful story.
Four measures that matter
Research into software delivery performance has repeatedly highlighted four measures that together balance speed and stability:
| Measure | What it tells you |
|---|---|
| Lead time for changes | How long it takes a change to go from commit to production |
| Deployment frequency | How often you release to users |
| Change failure rate | How often a release causes a problem that needs fixing |
| Time to restore | How quickly you recover when something goes wrong |
The first two measure speed. The second two measure stability. Improving one pair at the expense of the other is easy to spot.
Add measures of value
Delivery speed means little if the wrong things are delivered. Pair the four measures with outcome measures that matter to the business, such as task completion rates, time saved for users or reduction in support calls.
How to keep the numbers honest
- Measure teams, not individuals. Individual metrics encourage people to optimize their own numbers at the expense of the team.
- Use measures for learning. Discuss trends in retrospectives to find improvements, not to assign blame.
- Collect automatically. Pull data from source control, pipelines and incident tools rather than asking people to report it.
- Watch for side effects. If deployment frequency rises but change failure rate rises too, something is wrong.
- Show the trend, not a target. Fixed targets invite gaming. Steady improvement is the goal.
What not to measure
- Lines of code, especially now that AI generates code quickly
- Story points as productivity, because points are an estimation tool, not an output measure
- Utilization, because fully utilized teams have no capacity to improve or respond
- Percent complete, because the last 10 percent often takes half the time
Reporting that builds trust
We share delivery measures with clients every iteration, alongside working software. Numbers alone can mislead; numbers next to a demo of what was actually delivered tell the truth.
Measure to learn, not to judge. Teams that trust their metrics improve them; teams that fear their metrics game them.