DevopsIntermediate

Developer Experience Metrics That Don't Get Gamed

DeveloperHat Team
24 min read

TL;DR

DORA's five metrics, the SPACE framework, and DX Core 4 — what each one actually measures, how teams game them, and the small counterbalanced set that survives contact with reality.

Every engineering team measures something. The question is whether what they measure tells them anything true — and whether the measurement survives the week the team realises it is being measured. Count pull requests and pull requests get smaller. Count deployments and deploys get trivial. Count tickets closed and the backlog fills with one-line tickets. The metric does not describe the team any more; it describes the team's adaptation to the metric. That is Goodhart's law, stated by the economist Charles Goodhart as: when a measure becomes a target, it ceases to be a good measure.

The short version: measure a small, counterbalanced set — the five DORA delivery metrics, one perceptual measure of how the work actually feels, and one impact measure of whether the work mattered — at team level only, reviewed as trends, and never tied to performance reviews or individual rankings. Everything in this guide is the evidence behind that sentence: the three frameworks worth knowing, the numbers they actually use, how each one gets gamed, and the starter set that fits a real team.

Three frameworks, one question: is the team getting better? DORA measures the system. SPACE chooses what to measure. Core 4 ties it to impact. DORA 5 delivery metrics SPACE 5 dimensions DX Core 4 4 dimensions Counterbalanced set speed · experience · quality · impact Team dashboard trends, not targets No single framework covers the team. The set only works when the metrics pull against each other.

Why counting output fails

The failure mode is not that the numbers are wrong. The failure mode is that the numbers are right about the wrong thing, and they get righter as the team optimises for them.

Lines of code reward verbosity and punish the engineer who deletes a thousand lines by replacing a library with a call. It was discredited decades ago and still shows up in dashboards, because it is easy to compute and looks precise.

Pull requests per engineer is the modern version of the same mistake. It counts output, not outcome. A team that splits one change into six PRs looks six times as productive as the team that ships the same change in one reviewable unit — and the split version costs more review time, more CI time, and more risk. DX Core 4 uses diffs per engineer as its speed metric, but only with three explicit preconditions: never at individual level, never tied to performance evaluations, and always counterbalanced by an oppositional metric. Remove any of the three and the number turns into an incentive to slice work into confetti.

Tickets closed measures the shape of the backlog, not the value of the work. A team that writes its own tickets and closes them quickly looks busy while the hard, valuable work sits untouched, because hard work does not close neatly in a sprint.

Hours logged measures attendance. In a profession where the best hour of the week is often the one spent not writing code — reading a design doc, deleting a feature, talking a teammate out of a bad abstraction — hours are a measure of presence, and presence is not productivity.

The pattern in every case is the same: the metric is an activity count, it is reported at individual level, and it is attached to a consequence. Change any one of those three and the gaming pressure drops. Change all three — measure outcomes, at team level, as trends with no reward attached — and the numbers start telling the truth. That is what the three frameworks below are actually for: not dashboards, but a set of counterweights.

DORA: five metrics, and what changed in 2024

DORA — the DevOps Research and Assessment programme, now part of Google Cloud — is the closest the industry has to a standard for measuring software delivery. It does not measure developers. It measures the delivery system: how fast changes flow through it and how often it breaks. That distinction is the whole point, and it is the reason DORA survives as a measurement set where activity counts do not.

The model used to be four metrics. In 2024 DORA added a fifth, deployment rework rate, and regrouped the set into two factors:

Software Delivery Throughput

  • Change lead time — time from code commit to successful production deployment.
  • Deployment frequency — how often application changes are deployed.
  • Failed deployment recovery time — time to recover from a failed deployment. This replaced the older "time to restore service" framing, narrowed to recovery from failures caused by changes to production.
  • Software Delivery Instability

  • Change fail rate — the percentage of deployments that cause a failure in production and need remediation.
  • Deployment rework rate — the percentage of deployments that are unplanned work to fix bugs. DORA's survey asks what share of deployments in the last six months were not planned but were performed to address a user-facing bug.
  • The rework metric exists because DORA's researchers suspected change failure rate was acting as a proxy for how much rework a team is forced into, and in 2024 they started asking directly. The two are related but not the same: a deployment can fail without generating rework, and a team can drown in unplanned fix deploys while its formal failure rate looks acceptable.

    The benchmarks most people quote come from DORA's 2024 Accelerate State of DevOps report, which clustered respondents into four performance groups:

    ClusterShareChange lead timeDeployment frequencyChange fail rateRecovery time
    Elite19%Under one dayOn demand, multiple per day5%Under one hour
    High22%One day to one weekDaily to weekly20%Under one day
    Medium35%One week to one monthWeekly to monthly10%Under one day
    Low25%One to six monthsMonthly to biannually40%One week to one month

    Read that table carefully, because it contains the reason the tiers are not a ladder. Medium teams have a lower change fail rate (10%) than High teams (20%). These are observed clusters in survey data, not rungs — teams do not climb from Medium to High by improving one number, and a team with elite lead time and a 40% failure rate is not "almost elite", it is a team shipping broken code quickly. DORA's 2025 report moved away from the tier labels entirely, toward team profiles, which is the right direction: the tiers were always a rough yardstick, and they were being used as targets, which is exactly how a good measure stops being one.

    Two honest limits. First, DORA measures delivery, not value: a team can deploy flawlessly every hour and still build the wrong product. The Impact dimension of DX Core 4 exists to cover that gap. Second, DORA's numbers are self-reported survey data, not instrumented fact — a team that counts "degraded service" differently from its neighbour will report a different failure rate for the same reality. That is why the numbers are only useful compared against the team's own history, never against another team. Our platform engineering ROI guide covers how to use DORA numbers in a budget review without turning them into a league table.

    SPACE: the framework for choosing, not the metrics

    The SPACE framework, published in ACM Queue in January 2021 by Nicole Forsgren, Margaret-Anne Storey, Chandra Maddila, Thomas Zimmermann, Brian Houck, and Jenna Butler, is not a set of metrics. It is a way of choosing metrics — and its central claim is that productivity "cannot be reduced to a single dimension (or metric!)". Only by examining a constellation of metrics in tension can you understand developer productivity at all.

    SPACE names five dimensions:

  • Satisfaction and well-being — how fulfilled, happy, and healthy developers are. Best captured by asking people, not by reading systems.
  • Performance — the outcome of a process. Did the work move the product forward? Customer satisfaction, reliability, the value shipped — not the volume.
  • Activity — the count of actions or outputs: commits, code reviews completed, deployments. The countable layer, and the most dangerous one on its own.
  • Communication and collaboration — how people talk and work together: review quality, how knowledge spreads, how long it takes a new engineer to become productive.
  • Efficiency and flow — how smoothly work moves through the system with minimal delays or interruptions: lead time split by stage, handoffs, the number of times a change waits for someone else.
  • The framework's operating rule is specific: measure across at least three of the five dimensions, and make sure at least one of the measures is perceptual — a survey, a self-report, something that asks a human how the work feels. A set made only of system metrics can be green while the team is miserable and the product is wrong; the perceptual measure is the check that catches it. The paper is equally specific about the danger: activity metrics should never be used in isolation to reward or penalise developers, because activity is the easiest dimension to inflate and the least connected to value. The full paper is short and worth reading before you build a dashboard.

    SPACE's strength is that it is a lens, not a product — there is nothing to buy, and nothing in it ties you to a vendor. Its weakness is the same thing: it tells you how to choose and what shape the set should have, but it does not hand you the set. Two teams following SPACE can end up measuring different things, which is fine for them and useless for benchmarking. Use SPACE to design the set; use DORA to fill the delivery half of it.

    DX Core 4: four dimensions that pull against each other Speed — Diffs per engineer* · lead time · deployment frequency Effectiveness — Developer Experience Index (DXI) · time to 10th PR Quality — Change failure rate · failed deployment recovery time Impact — % of time on new capabilities · initiative ROI *Diffs per engineer is never measured at individual level. Speed without Quality is shipping bugs faster.

    DX Core 4: DORA, SPACE, and DevEx in one frame

    DX Core 4, announced in December 2024 by Abi Noda of DX with Laura Tacho, is the attempt to unify the three frameworks — DORA, SPACE, and DevEx — into a single set a team can actually run. It was developed with input from the authors of the other frameworks, including Nicole Forsgren, and its design bet is that four counterbalanced dimensions are enough: push one and the others push back, so no single number can be gamed without another number noticing.

    DimensionKey metricSecondary metrics
    SpeedDiffs per engineer (PRs or MRs) — never at individual levelLead time; deployment frequency; perceived rate of delivery
    EffectivenessDeveloper Experience Index (DXI)Time to 10th PR; ease of delivery; regrettable attrition (org level only)
    QualityChange failure rateFailed deployment recovery time; perceived software quality; operational health and security metrics
    ImpactPercentage of time spent on new capabilitiesInitiative progress and ROI; revenue per engineer and R&D as a percentage of revenue (org level only)

    Three things to notice. First, two of the four key metrics are borrowed from DORA — lead time and deployment frequency sit under Speed, change failure rate is the Quality key metric — so Core 4 is not a replacement for DORA, it is DORA plus the two things DORA does not measure: how the work feels, and whether it mattered. Second, the Effectiveness key metric, the DXI, is a proprietary survey instrument: an aggregated score from 14 standardised Likert-scale survey items measuring drivers such as code quality, focus time, and CI/CD. You cannot compute a DXI without DX's instrument, which is a real dependency — the framework's most portable idea is its shape (one speed, one experience, one quality, one impact measure, read together), not the proprietary score. Third, the Impact dimension is the one no other framework has: it frames engineering in direct business terms, and its key metric — the share of time spent on new capabilities versus maintenance and keeping the lights on — is the number that tells you whether the team is building or treading water. It is also the hardest to attribute to one team, which is why the revenue-based secondaries are organisational-level only. The Core 4 paper and the announcement are the primary sources.

    The counterbalance is the mechanism, and it is worth understanding mechanically. Diffs per engineer goes up when a team ships more, but if the team ships more by splitting changes, the Quality dimension catches it: change failure rate rises, perceived software quality falls. If the team ships more by working longer, the Effectiveness dimension catches it: the DXI falls, regrettable attrition rises. If the team ships more of the wrong thing, the Impact dimension catches it: the share of time on new capabilities stays flat while the initiative ROI does not move. No metric in the set can be optimised alone without the set objecting — which is precisely what "counterbalanced" means, and precisely why a single-metric dashboard cannot be fixed by adding more single metrics. It needs metrics that disagree with each other.

    Head to head: DORA vs SPACE vs DX Core 4

    DORASPACEDX Core 4
    What it isFive delivery metrics, two factorsA framework for choosing metrics across five dimensionsA unified set: four dimensions, four key metrics
    What it measuresThe delivery system — speed and stabilityWhatever you choose, across at least three dimensionsDelivery, experience, quality, and business impact together
    Perceptual dataNone — system metrics onlyRequired — at least one perceptual measureBuilt in — DXI survey plus perceived rate of delivery and perceived quality
    Business impactNot coveredOnly if you choose a performance metric that covers itCovered — % time on new capabilities is the Impact key metric
    Effort to stand upLow — five numbers from CI/CD, deploy, and incident dataMedium — design work, then instrumentation plus a surveyMedium — DORA data plus a survey; DXI needs DX's instrument
    Gaming riskModerate — deployment frequency and lead time are gameable; failure rate depends on how "failure" is definedLow by design — the dimensions counterbalance, if you follow the ruleLow by design — the four dimensions counterbalance each other
    Best forA team that needs a delivery baseline this quarterA team designing its own measurement set from first principlesAn org that wants one standard set across teams, with business reporting
    Honest limitMeasures delivery, not value; survey data, not instrumented factGives you the shape, not the set; two teams can follow it and measure different thingsDXI is proprietary; diffs per engineer needs its three preconditions or it becomes a quota

    The honest answer to "which framework" is usually DORA first, because it is the cheapest to stand up and the hardest to argue with — five numbers, all from systems you already have. Add SPACE's rule (at least three dimensions, one of them perceptual) as soon as the DORA numbers are flowing, because a delivery-only dashboard is a dashboard that can be green while the team burns out. Move to Core 4 when more than one team needs to be compared or when leadership asks what engineering is worth — that is when the Impact dimension earns its keep.

    How every metric gets gamed — and the countermeasure

    Gaming is not a character flaw. It is what a rational team does when a number has consequences. The fix is never "tell people not to game it"; the fix is a countermeasure built into the measurement.

    Deployment frequency. Game it by deploying trivia — config-only changes, empty commits, one-line fixes split across deploys. The number climbs and nothing of value ships faster. Countermeasure: read it alongside change lead time and change failure rate. Trivia deploys do not move lead time for real changes, and they do not move failure rate either, which is the tell — frequency rising while the other two stay flat means the team is manufacturing deployments.

    Change lead time. Game it by batching: hold commits locally, open one large PR, and let the clock start at the PR rather than the first commit. Or game it the other way — split a feature into tiny PRs so each one races through review, while the feature as a whole takes just as long. Countermeasure: measure lead time from first commit to production, not from PR creation, and split it by stage (time in review, time in queue, time in deploy) so the stage that is actually slow is visible. A single blended number hides the bottleneck; stage-split numbers expose it.

    Change failure rate. Game it by redefining failure: the incident was not caused by the deploy, it was "pre-existing"; the rollback was a "planned revert"; the hotfix was a "follow-up". Countermeasure: define failure in the incident system, not in the deploy system — a deployment fails if it is followed by a rollback, a hotfix, or an incident within a fixed window, regardless of what anyone calls it. Tag deployments by reason at deploy time, and let the incident data, not the deployer's judgement, decide. Our incident management guide covers how blameless postmortems keep this honest: the moment a failure classification affects a person's review, the classification stops being honest.

    Diffs per engineer. Game it by splitting one change into six PRs, or by opening PRs that are mostly generated code. Countermeasure: the three preconditions from the Core 4 paper — never at individual level, never tied to performance evaluations, always counterbalanced by the DXI. A team whose diffs rise while its DXI falls is not getting faster, it is getting busier.

    Survey scores. Game it by leading questions ("How much do you love our CI?"), by surveying right after a launch, or by making the survey visible to managers so nobody answers honestly. Countermeasure: use a fixed, validated instrument asked the same way every quarter, keep responses anonymous and aggregated at team level, and publish the trend, not the score. A survey whose results nobody can act on is a survey people stop answering — and the response rate is itself a metric worth watching.

    Time to 10th PR. Game it by giving new engineers trivial PRs to clear the bar. Countermeasure: treat it as an onboarding-health signal, not a hiring signal — a rising time-to-10th-PR means the onboarding docs, the dev environment, or the review queue is broken, not that the new hire is slow. Pair it with a qualitative question in the same survey: "I could get my first change reviewed without chasing someone."

    The meta-rule: any metric attached to a reward gets optimised; any metric read as a trend gets discussed. Keep the metrics in the second category and the gaming mostly goes away, because there is nothing to win by gaming a trend you are going to talk about honestly in a retro.

    The starter set: four numbers and one survey

    Pick the measurement set by org size, not by fashion What should we measure? team size · maturity Small team, <15 one service, one on-call Growing org, 15–100 several teams, one platform Large org, 100+ many teams, exec reporting DORA five + survey 4 numbers, quarterly DORA + SPACE set one metric per dimension DX Core 4 org-level impact metrics Start with four numbers and one survey. Add a metric only when a decision needs it.

    If you are starting from nothing, this is the minimum viable set — four system numbers and one quarterly survey, reviewed monthly as trends, owned by the team, not by management.

    What to measureSourceCadence
    Change lead time, split by stageGit + CI/CD + deploy eventsWeekly trend, reviewed monthly
    Deployment frequencyDeploy eventsWeekly trend, reviewed monthly
    Change failure rateDeploy events joined to incidentsWeekly trend, reviewed monthly
    Failed deployment recovery timeIncident systemWeekly trend, reviewed monthly
    Developer experience survey (short, fixed questions, anonymous)Survey toolQuarterly

    That is DORA's five minus one — deployment rework rate joins once the first four are flowing, because it needs the deploy-reason tagging that the first four do not. The survey is the SPACE requirement: one perceptual measure, without which the set is blind to the team's actual experience. Keep the survey short — ten to fourteen questions, the same questions every quarter — and ask about the drivers that show up in the research: code quality, focus time, CI/CD friction, review speed, and whether people can get help when blocked.

    The review ritual matters more than the dashboard. Once a month, the team looks at the four trends together and asks three questions: what got better, what got worse, and what are we going to change. One change per month, not five — a measurement set that produces a list of twenty actions produces none. And the numbers never leave the team without context: a trend line with the story of what changed is information; a number in a slide deck is a target waiting to happen.

    Architecture Decision

    Decision: Measure developer experience with DORA's five delivery metrics plus one quarterly perceptual survey, read as team-level trends, and adopt DX Core 4's four-dimension shape — one speed, one experience, one quality, one impact measure — when the org needs a standard set across teams.

    Context: The team has no shared measurement of developer experience. Leadership asks for productivity numbers; the team has only activity counts (tickets closed, PRs merged) that everyone knows are gameable, and any number that reaches a slide deck becomes a target. The team needs a set that survives being measured, that covers delivery, experience, and value, and that does not turn into individual ranking.

    Options considered: (1) The DORA-five-plus-survey set above. (2) DORA alone — cheapest, but blind to experience and value, and the numbers go green while the team burns out. (3) DX Core 4 in full — the complete set, but the DXI needs DX's proprietary instrument and the Impact metrics only make sense at organisational level. (4) A home-grown activity dashboard — PRs per engineer, tickets closed, lines of code — cheapest of all, and the fastest route to a team optimising for the dashboard instead of the product. (5) No measurement — honest, but leaves leadership to invent its own numbers, which are always worse.

    Why this one: DORA's five are the cheapest credible baseline, all from systems the team already has, and they measure the delivery system rather than the people in it. The quarterly survey is the SPACE requirement that keeps the set honest — it is the only number that can say "the pipeline is fast and the work is miserable". The Core 4 shape is the upgrade path: when the org is ready, the same four numbers slot into its four dimensions and the Impact key metric gets added, without rebuilding the measurement set from scratch.

    What it costs you: A survey to run and protect — anonymous, aggregated, published as trends — and a monthly review ritual that takes an hour and produces one change. The rework-rate tagging costs a deploy-time discipline (every deploy tagged by reason). And the DXI dependency is real if you adopt Core 4 in full: the headline effectiveness score belongs to a vendor's instrument, so keep a second, open perceptual measure alongside it.

    When to reverse it: When the team is under fifteen people and one service, drop to the DORA five and a five-question survey — the full set is ceremony at that size. Reverse toward Core 4 in full when leadership needs cross-team comparison or business reporting, because ad-hoc team sets cannot be compared. Reverse the whole measurement programme if the numbers start appearing in performance reviews: the moment a metric has a consequence for an individual, it stops measuring the team and starts measuring the team's adaptation to the metric, and the honest move is to stop measuring until the consequence is removed.

    What NOT to measure

    Some numbers are not merely useless — they actively damage the team that tracks them, because they reward the wrong behaviour and punish the right behaviour.

  • Individual-level anything. Diffs per engineer, commits per person, tickets per person, review counts per person. The moment a number is attached to a name, it becomes a ranking, and rankings are gamed. Every framework in this guide says the same thing: team level only. The one exception is a private, opt-in number a developer tracks for themselves.
  • Lines of code. Rewards verbosity, punishes deletion, and measures nothing about value. The only legitimate use is as a diagnostic — a sudden spike in generated code in a PR — and even then it is a smell, not a metric.
  • Tickets closed or story points burned. Measures the shape of the backlog. A team that games it writes smaller tickets; a team that does not game it looks worse. Either way the number tells you about ticket-writing, not engineering.
  • Hours logged or time in the editor. Measures presence. The best engineering hour of the week is often spent not writing code at all.
  • AI acceptance rates as productivity. A high rate of accepted AI suggestions can mean the suggestions are good, or that the developer accepts everything without reading it. DORA's 2025 research found higher AI adoption associated with both increased delivery throughput and increased delivery instability — the tool amplifies the team it is given, strong or weak. Measure the delivery metrics and let them absorb the AI effect, rather than measuring the tool directly.
  • Number of meetings, Slack messages, or comments. Activity is the easiest dimension to count and the least connected to value — the SPACE paper's warning, not an opinion.
  • The test for any proposed metric is three questions: does it measure an outcome or an activity, is it read at team level, and does anything bad happen to a person if it moves the wrong way? If the answer to the first is "activity" or the third is "yes", do not track it.

    When NOT to measure developer experience

    Measurement is not free, and there are times when the honest answer is to wait. Do not build a DX measurement programme while the team is under fifteen people and shipping its first product — the survey will have five respondents, the trends will be noise, and the time is better spent on the product. Do not build it during a reorg, a layoff, or a leadership change — the numbers will measure the disruption, not the team, and nobody will trust them afterwards. Do not build it if you cannot act on the results: a survey that surfaces "CI is slow" three quarters in a row with no fix is worse than no survey, because it teaches the team that speaking up changes nothing. And do not build it as a reporting tool for leadership. The moment the set exists to produce a slide, it stops being a tool for the team and becomes a target for the team — and Goodhart does the rest.

    The right time is when the team is stable enough that trends mean something, big enough that one person's week does not move the numbers, and trusted enough that an honest survey answer has no consequence. Then the set earns its keep: not by proving the team is productive, but by showing the team where its time actually goes, and whether the last quarter's change made any of it better.

    The point of measuring developer experience was never the dashboard. It is the conversation the dashboard forces: four numbers and one survey, read together, once a month, with the team in the room, asking what got better and what to change next. DORA gives you the delivery numbers. SPACE gives you the rule for choosing the rest. Core 4 gives you the shape that ties them to the business. Keep the set small, keep it counterbalanced, keep it at team level, and keep it away from performance reviews — and the numbers will still be telling the truth a year from now, which is more than most dashboards can say. Our testing strategy guide covers the quality side of the same question — what each layer of testing catches, and what it costs to test at the wrong layer — and our SLO and error budget guide covers what to do with the reliability numbers once you have them.

    Why This Matters

    Understanding the business and technical context helps you make informed decisions rather than blindly following patterns.

    Trade-offs to Consider

    Every architectural decision involves trade-offs. Consider your specific requirements, team expertise, and scale when evaluating options.

    When NOT to Use This

    Knowing when a solution doesn't apply is as valuable as knowing when it does. Consider alternatives for your specific situation.

    Decision Framework

    Use this framework to evaluate whether this approach is right for your use case based on your specific constraints and requirements.

    Share this articleShare on XShare on LinkedIn

    Keep the decision frameworks coming

    One practical architecture guide a week — patterns, trade-offs, and when not to use them. No spam, unsubscribe anytime.