From The SPACE of Developer Productivity, by Nicole Forsgren, Margaret-Anne Storey, Chandra Maddila, Thomas Zimmermann, Brian Houck, and Jenna Butler (ACM Queue, 2021).
A way to measure developer productivity across five dimensions, satisfaction, performance, activity, communication, and efficiency, because no single metric describes how a software team is doing.
A dashboard for one engineering team, one measure for each of the five dimensions
The team's dashboard starts with commits alone. Pick one measure for each dimension, or none, and the figure checks the two tests the authors recommend: at least three dimensions, and at least one survey. Change the picks until both pass. Illustrative.
Satisfaction and well-being
Performance
Activity
Communication and collaboration
Efficiency and flow
- Read the two results below, and add a dimension or a survey if either one fails.Commits are up and nothing else is on the page. Whether the work reached customers, or whether people are wearing out to produce it, cannot be read from a count.Activity now sits beside an outcome and a survey. A rise in commits can be told apart from a rise in strain or a rise in value.
- Commits are up and nothing else is on the page. Whether the work reached customers, or whether people are wearing out to produce it, cannot be read from a count. (sat: Not measured, perf: Not measured, act: Commits per week, comm: Not measured, eff: Not measured)
- Activity now sits beside an outcome and a survey. A rise in commits can be told apart from a rise in strain or a rise in value. (sat: Quarterly survey, perf: Feature adoption, act: Commits per week)
- At least three dimensions measured
- Pick every rowNoYes
- At least one survey of what people feel
- Pick every rowNoYes
An example
A logistics software company moved its engineers to remote work and watched its dashboard improve. Commits were up, merged pull requests were up, and the head of engineering reported the change as a gain. One team lead was uneasy. People on her team were answering messages at night, and two good engineers had started asking about other jobs.
She added a short quarterly survey on workload and tooling, plus the share of new features customers actually used. The survey showed that satisfaction had dropped sharply, and adoption of new features had not moved. The extra commits were people working longer to cover for slow builds and unclear priorities. The company kept the activity counts, added the survey and the adoption measure to every team's page, and put the slow builds at the top of the next quarter's list. Two quarters later, commits came back down to their old level and feature adoption had risen.
The core idea
The SPACE framework says productivity has five dimensions and that a sound picture needs several of them at once. Satisfaction and well-being is how fulfilled and healthy people are. Performance is the outcome of the work, such as quality and customer impact. Activity counts what gets done, such as commits and reviews. Communication and collaboration covers how people and teams work together and how fast information moves. Efficiency and flow is how much work proceeds without interruption or delay.
The authors recommend metrics from at least three dimensions, at least one of them a survey of what people experience, and metrics at several levels: the individual, the team, and the system. They expect the measures to pull against one another, and they treat that tension as intended, since a balanced view shows more than any one number. Activity counts alone, they warn, cannot show whether a rise comes from better tooling or from people working longer hours to get around bad systems and poor planning.
The thinking behind it
Nicole Forsgren Nicole Forsgren was lead author of The SPACE of Developer Productivity, published in ACM Queue in February 2021 and later in Communications of the ACM, with five colleagues from GitHub, Microsoft, and the University of Victoria. She was then vice president of research and strategy at GitHub and had written Accelerate. The paper takes on the habit of hunting for one metric that matters and explains why that metric does not exist.
Margaret-Anne Storey Margaret-Anne Storey is a professor of computer science at the University of Victoria and holds a Canada Research Chair in the human and social aspects of software engineering. She co-authored the paper, and two of its pieces of advice follow from that line of work: perceptions deserve a place beside system data, and measures should be read at the level of the individual, the team, and the system.
Thomas Zimmermann Thomas Zimmermann is a senior principal researcher at Microsoft Research, best known for mining software repositories, the study of what the records of real software projects reveal about how they are built. The paper's lists of measures that engineering systems can collect, each with a note on what it can and cannot show, draw on that kind of evidence, gathered across many software projects.
Where it sits in the layers
The SPACE framework belongs in Layer 7, the assessment and maturity models, because it is a way of reading where an engineering organization stands: a frame for choosing measures across five dimensions, with no process to follow. It takes for granted the commitment of the improvement philosophies in Layer 6 that productivity can be observed and improved, and the warning of Goodhart's Law in Layer 5 that a single rewarded measure stops telling the truth. Below it, delivery methods in Layer 8 such as DevOps are what it assesses, the DORA metrics, also in Layer 8, supply numbers for its performance and flow dimensions, and team reviews in Layer 10 act on the results. The common mistake is asking it to set targets or rank people. It describes how a team is doing and leaves the choice of what to change to the team.
How organizations put it to work
Ownership usually sits with an engineering leader and a small group that runs the measures, with human resources and product leaders at the table, because three of the five dimensions are about people and outcomes. The framework changes measures first. A team writes down the metrics it uses today, places each in a dimension, and fills the gaps, adding at least one survey and one outcome. It also changes decisions: activity counts stop being used on their own to reward or penalize anyone, since the authors warn that they mislead.
The routine is light: a short survey each quarter, a monthly look at the paired measures, and a conversation in which the team explains what moved. Sustaining it takes honest surveys, which depend on people trusting that results will not be used against them, and a leader who acts on what the survey says.
Expect the first year to produce an uncomfortable discovery or two: a dashboard that looked healthy turns out to hide strain, or a favorite measure turns out to correlate with nothing. Expect the business to depend less on a few visible heroes and to lose fewer experienced engineers to burnout.
Where it goes wrong
One failure is a checklist. A team collects one metric per dimension, calls the job done, and never asks what each means in its own setting. The sign is a dashboard no one can explain.
Another is using it to rank individuals. The authors warn that activity counts should never be used alone to reward or penalize developers, and a survey that is tied to reviews stops telling the truth. The sign is survey scores that rise while attrition rises too.
A third is the gap between a framework and a method. It names dimensions and gives example metrics, but it does not say which metrics to choose, how to weight them, or what to do when they disagree, so teams may spend a year debating definitions. The sign is a measurement project that outlives its first decision.
Related and rival frameworks
- DORA Metrics. Four or five delivery measures drawn from the pipeline and the incident record. The better pick when the question is how reliably and quickly software ships.
- Goodhart-Aware Metric Selection. The warning behind the framework's insistence on several measures at once. Read it before any metric becomes a target.
- DevOps. The broader approach to delivery that SPACE's efficiency and communication dimensions try to measure, and the place to start if the problem is handoffs between teams.
Go to the source
- The SPACE of Developer Productivity, ACM Queue 19(1); reprinted in Communications of the ACM 64(6), 2021