What's really going on with productivity metrics
Most developers meet this topic under pressure: a new engineering leader arrives with a dashboard, a client asks why the invoice says forty hours, or you look at your own quarter and cannot say what it produced. The uncomfortable context is that the industry has been through three generations of metrics, and the AI era quietly invalidated most of the first two.
Quick Answer
The engineering productivity metrics worth tracking in 2026 fall into three layers: delivery metrics (lead time, deployment frequency, and the rest of DORA), quality metrics (change failure rate and code churn), and leverage (output per unit of real effort, including what your AI agents shipped). Everything measuring raw activity, commit counts, lines of code, hours in the editor, story points, is now unreliable, because an agent can inflate any of them in seconds. The practical answer for an individual or small team is a stack of three: one delivery signal, one quality signal, and one leverage signal, each read from the actual work rather than self-reported. Below: which metrics survived the AI era, which frameworks are worth borrowing from, and how to run this without building surveillance.
Generation one measured activity: lines of code, commit counts, hours logged. Generation two measured process: velocity, story points, tickets closed. Both worked, roughly, when effort and output moved together. That correlation is gone. Claude Code or Cursor can generate a two-thousand-line diff in under a minute, and a one-line fix can follow two hours of reading that leaves no trace anywhere. Measuring activity now measures the wrong variable with total confidence.
This is why the current generation of engineering productivity metrics reads outcomes and consequences instead of motion. The shift is not cosmetic. An outcome metric like change failure rate is expensive to fake, because the only way to look like someone whose changes do not break production is to ship changes that do not break production. An activity metric like commit count costs one cron job to fake. In practice this means every metric on your dashboard should pass a single filter: would faking it cost less than doing the work? If yes, it is a claim, not a measurement.
The engineering productivity metrics worth tracking
If you have ever inherited a dashboard with eleven charts and no decisions attached to any of them, this section is the pruning shears. Here is how the common metrics score in 2026, rated by what they tell you and what it costs to game them.
| Metric | Layer | Hard to fake? | AI-era verdict |
|---|---|---|---|
| Lead time for changes | Delivery | Yes | Keep. Timestamped in the repo, reads real throughput. |
| Deployment frequency | Delivery | Mostly | Keep, with a quality signal beside it. |
| Change failure rate | Quality | Yes | Keep. The single most honest team metric. |
| Time to restore | Quality | Yes | Keep for teams running production services. |
| Code churn / rework rate | Quality | Yes | Keep. Rising churn is the fingerprint of unreviewed AI code. |
| Leverage (output per unit of effort) | Effort | Yes, with real telemetry | Add. The metric the AI era created. |
| Commit count | Activity | No | Retire. One prompt fakes it. |
| Lines of code | Activity | No | Retire. Agents made it meaningless in both directions. |
| Hours in editor | Activity | No | Retire as a productivity measure; keep only as a denominator. |
| Story points / velocity | Process | No | Retire for measurement; fine for planning. |
Two notes on the table. First, the four "keep" delivery and quality rows are the DORA metrics, and they earned their reputation: they read consequences, not activity, which is why they survived a decade of gaming attempts that killed everything else. Second, the one genuinely new row is leverage. When part of your output comes from agents, the interesting question stops being "how much did you ship" and becomes "how much did you ship per unit of your actual attention and cost." That ratio is invisible to every generation-one and generation-two metric.
The frameworks: DORA, SPACE, and what to borrow
Frameworks are where this topic usually drowns, so here is the short, honest version. You will often see teams adopt a framework wholesale, wire up a vendor dashboard, and change nothing about how they work. Borrow instead.
DORA gives you the four delivery and quality metrics in the table above. Borrow all four if you run services, the first three if you do not. They are team-level metrics: they say nothing about individuals, and using them for individual reviews is both a category error and the fastest way to get them gamed.
SPACE is a reminder, not a metric set: satisfaction, performance, activity, communication, efficiency. Its useful contribution is the warning that no single dimension is sufficient, and that activity is explicitly the least trustworthy of the five. Borrow the warning.
Developer experience (DevEx) surveys measure friction: how long builds take, how often you are blocked, how much time dies in review queues. Useful diagnostically, but self-reported, so treat them as hypotheses to verify against the repo rather than results. The closer a metric sits to self-reporting, the closer it sits to fiction, which is the recurring theme of the whole field. Tools in this space, Waydev and GitClear among them, lean on git data to avoid the self-reporting trap, which works for team trends but inherits git's blind spot on time. If you are evaluating that category, the DevClocked vs Waydev comparison and the DevClocked vs GitClear comparison cover where git-only analytics holds up and where it does not.
The layer the frameworks miss: leverage
Almost always, the frameworks above stop at the team boundary and treat effort as unknowable. That was defensible when effort meant salaried hours. It is not defensible now, because the AI era made the effort side of the equation both measurable and interesting: your real cost is a mix of your attention, your agents' runtime, and a token bill.
Leverage is output relative to real effort. A developer who ships a feature in six focused hours with two agents running is operating at a different multiple than one who ships the same feature in thirty hours of manual work, and no DORA metric can see the difference. The trend of that multiple is the closest thing the AI era has to a personal productivity number worth watching, and the same ratio read across a whole team is a leverage benchmark across a team. If you adopted agents and your leverage trend is flat, the tooling is not paying for itself, and that is a finding worth more than any velocity chart. The full method is in how to measure developer productivity, and the AI-specific half in measuring AI coding productivity.
The catch is the denominator. You cannot compute leverage from commit history alone, because commit timestamps no longer correlate with time spent; that failure mode is documented in why commits do not equal work. Git gives you a useful baseline, but the accurate layer is telemetry: real activity events from an editor extension or a CLI tracker that sees agent sessions, with a model learning the relationship between the two. Measure the numerator from the repo and the denominator from telemetry, and leverage becomes a real number instead of a guess.
Where DevClocked fits
If you run a fifty-engineer platform org, buy a team analytics product; Waydev and its enterprise peers are built for VP-level DORA reporting, and the Waydev alternatives page covers that decision if the price or weight does not fit. If you only want repo-level trend lines, a plain git analytics setup is free and takes an afternoon. DevClocked sits in the gap those two leave: it is built for the individual developer or small team that wants the leverage layer, combining a git baseline with telemetry to produce calibrated time, Work Blocks, a Leverage Score, and first-class tracking of AI agents (Claude Code, Cursor, Codex) including token cost. The result doubles as a public dashboard that proves what you shipped, audited to source, rather than a private report your manager reads. Full disclosure: I build DevClocked, so weight that as you see fit.
Common mistakes with engineering productivity metrics
Most metric programs fail the same few ways, and all of them are avoidable. You will often see these within the first month of a new dashboard.
Measuring individuals with team metrics. DORA describes a pipeline, not a person. The moment lead time appears in a performance review, engineers optimise the number instead of the work, and the metric dies. Goodhart's law is not a risk here, it is a schedule.
Keeping activity metrics because they are easy. Commit counts and editor hours are one API call away, so they survive on convenience. Cheap to collect and cheap to fake is the worst possible combination for a measurement.
Ignoring the AI column entirely. If agents write a meaningful share of your code and your metrics cannot distinguish agent output from human output, your quality signals will drift and you will not know why. Churn spikes from unreviewed agent code look identical to sloppy engineering unless you track attribution.
Collecting without deciding. A metric that has never changed a decision is decoration. Pick three, attach a monthly question to each ("is churn rising?", "is leverage trending up?", "did failure rate move?"), and delete the rest.