DeepGraph
All posts

"Developer productivity metrics: what to measure and how"

24 November 2026 · The DeepGraph team

Developer productivity is how well a team turns ideas into working software that people use. Developer productivity metrics try to make that visible, so you can see where work flows and where it gets stuck. No single number captures it, and the wrong numbers do real harm: they reward busy work and push good people away.

This guide explains why measuring developer productivity is hard, which frameworks the research offers, which developer productivity metrics are worth tracking, and which ones mislead. It is written by the team behind DeepGraph, which measures part of this from your Git projects. We say plainly which parts it covers and which it doesn't.

Four delivery numbers for twelve weeks of a sample web shop, as DeepGraph shows them. Point at each name to read what it means.

Why measuring developer productivity is hard

  • Output is not outcome. More code, more commits, or more tickets closed don't mean users got more value. Sometimes the most useful change deletes code.
  • Software is team work. A feature passes through several people: someone writes it, someone reviews it, someone fixes what it broke. Splitting the credit between them is mostly guessing.
  • Much of the work leaves no trace. Reviews, design talks, mentoring, and helping a stuck colleague all make a team faster, and none of them shows up as a commit.
  • People react to being measured. Once a number becomes a target, people improve the number, not the work.

Three frameworks for developer productivity

DORA

DORA, from DevOps Research and Assessment at Google, measures how changes flow from commit to production with four numbers: deployment frequency, lead time for changes, change failure rate, and time to restore. It measures the system, not people, and it pairs speed with safety. Read DORA metrics explained in plain words.

SPACE

SPACE, from researchers at GitHub, Microsoft, and the University of Victoria, says productivity has five sides: satisfaction and well-being, performance, activity, communication and collaboration, and efficiency and flow. Its main lesson is to never rely on one side alone, and to mix system data with what people tell you.

DevEx

The DevEx framework, from some of the same researchers, looks at the developer's day: how fast they get feedback, how much they must keep in their head, and how often they can work without interruption. It is measured mostly with short surveys.

Developer productivity metrics worth tracking

Track these for a team, as trends over months.

Delivery

  • Deployment frequency: how often new code reaches production.
  • Lead time for changes: how long a change takes from its first commit to production.
  • Change failure rate: the share of deploys that fail in production.
  • Time to restore: how long it takes to recover from a failed deploy.

Flow

  • Cycle time: how long work takes from start to done.
  • Review time: how long a pull request waits for review.
  • Work in progress: how many things are open at once.

Experience

  • Satisfaction: how people rate their work and their tools, asked the same way every quarter.
  • Time without interruption: how many hours a week people can work on one thing.
  • Friction: what slows people down most, in their own words.

For more examples, with how to measure each, see 15 engineering KPI examples.

What activity data can and can't tell you

Commits, lines changed, and files changed are activity. They can tell you where work happens, who has worked on a part of the code, when a project went quiet, and how work spreads across a team. They can't tell you whether that work was good, hard, or useful.

Use activity data to ask questions, not to answer them. If a project's commits drop for a month, ask the team why. Maybe they were stuck, or maybe they were planning something big.

Developer productivity metrics that mislead

  • Lines of code. It rewards long code and punishes clean-up.
  • Commits per person, as a ranking. It measures habits, not work.
  • Story points, compared between teams. Each team sizes work its own way.
  • Hours online or hours worked. It measures presence, not results.
  • Any single number for one person. It ignores reviews, help, and team work, and it gets gamed.

How to start measuring developer productivity

  • Start from a question. For example: "Why do changes take two weeks to ship?" The question decides what to measure.
  • Measure the team, not people. Show people their own numbers if they want them, but never rank them.
  • Mix system data and surveys. Delivery and flow numbers from your tools, experience from your people.
  • Get a baseline first. Look back three months before you change anything, so you can see if a change helped.
  • Review every quarter. Keep the numbers you act on, drop the rest.

Measure developer productivity with DeepGraph

DeepGraph reads your GitHub, GitLab, Bitbucket, and SourceCraft projects and shows the delivery side and the activity behind it.

  • The four DORA numbers for a project, a folder, a person, or a team. A person's numbers count the deploys that shipped their work, and a team counts everyone in it. See DORA in DeepGraph.
  • Teams. Group people into teams to read numbers for the team, as productivity research suggests.
  • Activity in context. Commits, lines, and files changed for every project, person, and team, with each change behind the totals. See project insights.
  • Trends side by side. Put people and teams on one chart.

DeepGraph does not score people, and it does not measure cycle time, review time, or how people feel. For those, use your issue tracker and ask your team.

Questions

Can you measure developer productivity?

Partly. You can measure how work flows through a team, how often it breaks, and how people feel about their work. No single number measures all of it, so use a few numbers together and read them as trends.

What is the best developer productivity metric?

There isn't one. Most teams start with the four DORA metrics for delivery, add one flow number such as review time, and run a short survey every quarter.

Should you measure the productivity of individual developers?

Not to rank or rate them. Productivity numbers for one person miss reviews, help, and team work, and they get gamed. Measure the team, and let each person see their own numbers if they find them useful.

Get started

Read DORA metrics explained in plain words, see 15 engineering KPI examples, or connect your first project with the Getting started guide.