Skip to content
Playbook
AdvancedPillarHRManagerPeopleOps

Engineering performance metrics that aren't lines-of-code

The honest guide to measuring engineering performance — why LoC, commit count, and PR count are anti-metrics; the DORA four, SPACE framework, and DX Index…

22 min read
On this page
60-Second Summary
  • Lines of code, commit count, PR count, hours logged, story points completed — these are all anti-metrics. They measure activity, not value. Worse, they get gamed within weeks of being introduced.
  • The credible team-level metrics: DORA's four (deployment frequency, lead time, change failure rate, MTTR) for delivery health, plus DX Index or SPACE-derived metrics for developer experience.
  • Individual engineer performance is qualitative — scope, impact, influence, leverage — assessed by their manager using the leveling rubric. Quantitative metrics are inputs to that assessment, never outputs.
  • The HRBP's job is to prevent metrics misuse: never compare engineers on quantitative metrics, never use individual DORA-like data for performance, and push back when an exec asks 'who shipped the most?'

Engineering performance measurement is where 90% of HR functions lose engineering's trust. The pattern: an exec asks 'how do we know who's productive?' HR (or a Jira admin) proposes a dashboard with commit counts and story points. Within a quarter, engineers are gaming the metrics — small commits, inflated estimates, padded PRs. Velocity 'increases' while actual output drops. The eng leader stops trusting HR with performance work. This article is how to avoid that pattern.

The anti-metrics (and why they fail)

MetricWhy it's an anti-metricHow it gets gamed
Lines of codeVerbose code isn't better; concise refactors look like 'negative productivity'Avoid refactoring; add unnecessary comments
Commit countMore commits ≠ more valueSplit one commit into ten
PR countMany tiny PRs ≠ better than one well-designed PRArtificially split work; rush reviews
Hours loggedTime-in-seat ≠ outputSit longer; come in weekends performatively
Story points completedEstimation is gameable; comparable across teams only if estimation is calibrated (it isn't)Inflate estimates; sandbag sprints
Tickets closedClosing != completing wellClose prematurely; punt edge cases
Code review turnaround time (as individual metric)Encourages rubber-stampingApprove without reading
Goodhart's Law applied to engineering

'When a measure becomes a target, it ceases to be a good measure.' Any engineering metric used to evaluate individuals will be gamed. Use quantitative metrics for system health (team and org level); use qualitative judgment for individuals.

The DORA four (team-level delivery)

The DORA (DevOps Research and Assessment, now part of Google Cloud) metrics are the industry standard for measuring software delivery performance at the team level. They've been validated across thousands of organizations in the State of DevOps reports since 2014.

Deploy freq
Deployment frequency
How often we deploy to production. Elite: on-demand; Low: <1/month.
Lead time
Lead time for changes
Commit-to-production time. Elite: <1 day; Low: >1 month.
Change fail
Change failure rate
% of deployments causing incidents. Elite: 0–15%; Low: >45%.
MTTR
Mean time to recovery
Time to restore service after incident. Elite: <1 hour; Low: >1 week.

These metrics are correlated with both delivery speed and stability — the highest-performing teams excel at both, dispelling the myth that you trade off. They're team-level metrics. Never individual. Comparing engineers on 'my deploy frequency' is the kind of category error that sends engineers updating their LinkedIn.

The SPACE framework

SPACE was developed by GitHub, Microsoft Research, and the University of Victoria as a multidimensional alternative to single-metric productivity (Forsgren et al., 2021). The five dimensions:

The five SPACE dimensions
  1. 1
    Satisfaction & well-being
    How engineers feel about their work, tools, and team. Measured via surveys (eNPS for engineering, tooling satisfaction).
  2. 2
    Performance
    Outcomes the work produced — quality, customer impact, business metrics moved. Not 'output volume.'
  3. 3
    Activity
    Count of actions (PRs, commits, deploys). Useful at TEAM level for trends. Useless as individual judgment.
  4. 4
    Communication & collaboration
    How well work flows across people and teams. Review turnaround at team level, cross-team PR rates, knowledge-sharing rituals.
  5. 5
    Efficiency & flow
    How much uninterrupted time engineers get to do deep work. Measured via diary studies, calendar audits, focus-time metrics.

SPACE's central insight: any single metric is misleading. Always use at least 3 of the 5 dimensions to assess a team. Always combine quantitative with qualitative (developer survey data).

DX Index (developer experience)

Developer experience (DX) metrics — popularized by DX.com and adopted by Spotify, Block, Pfizer engineering — measure the friction engineers face. The DX Core 4 is a 4-question survey administered quarterly: how often do you experience friction? how often does friction block your work? how confident are you in the team's tools? how would you rate your overall developer experience? Combined with one outcome metric (typically deployment frequency or lead time), this gives a leading indicator of engineering productivity.

DX surveys are particularly useful because they surface invisible drags: slow CI, flaky tests, unreliable staging environments, painful local dev setup. These costs are real and rarely show up in feature-completion metrics — but they're the difference between an engineering org operating at 60% capacity and one at 95%.

Individual vs team metrics

What to measure where
Team / org level — use metrics
  • DORA four (delivery health)
  • DX Index (engineer experience)
  • Incident rate, on-call burden
  • Hiring funnel conversion
  • Voluntary attrition
  • Engineer satisfaction (eNPS)
  • Time-to-onboard
Individual level — use judgment
  • Scope of ownership (system, team, org)
  • Impact stories with business outcomes
  • Influence on others' work
  • Technical judgment quality
  • Cross-team collaboration
  • Mentorship and team-building
  • Growth trajectory vs leveling rubric

How to evaluate IC performance

The qualitative engineer evaluation
  1. 1
    1. Scope check against level
    Is the engineer operating at the scope expected for their level? Use the leveling rubric, not 'I think they're doing well.'
  2. 2
    2. Top 3–5 impact stories
    Concrete projects with business outcomes. 'Reduced checkout latency from 800ms to 240ms, which lifted conversion 0.8% per the experiment readout.' Not 'shipped a lot.'
  3. 3
    3. Influence evidence
    Who did they make better? What patterns did they spread? What decisions did they shape? Names and specifics.
  4. 4
    4. Technical judgment
    Qualitative read from architecture reviews, design docs, code reviews. Are they making decisions that look better 6 months later, not just decisions that ship?
  5. 5
    5. Collaboration & growth
    How they show up in retros, debriefs, conflict. Are they better at their job than 6 months ago — and visibly so?
  6. 6
    6. Honest delta vs level
    Are they exceeding, meeting, or below their level? Be specific. Vague 'meets expectations' is the single biggest source of performance system rot.

Metrics misuse — what to prevent

  • Never rank engineers on individual quantitative metrics (PRs, commits, story points). Push back hard if asked.
  • Never tie DORA metrics to individual performance reviews. They're team-system metrics.
  • Never use Jira velocity to compare teams. Estimation isn't calibrated across teams.
  • Never publish individual-level engineering dashboards visible to peers. Social comparison gamifies the wrong thing.
  • Never let an exec demand 'top 10 / bottom 10' lists from quantitative engineering metrics. The answer is 'we don't measure individuals that way and here's why.'
  • Never let layoff selection use commit/PR counts as input. Multiple companies have been sued over this (Twitter post-acquisition lawsuits, 2023; one settled).

The HRBP's role

  • Own the engineering performance philosophy doc. 1–2 pages: what we measure at team level, what we measure at individual level, what we don't measure and why.
  • Train managers on qualitative IC evaluation. The skill is rare; most managers default to 'shipped a lot' as a proxy.
  • Push back when execs ask for individual-level quantitative dashboards. Document the rationale in writing.
  • Run the team-level metrics review quarterly. Surface DORA + DX trends to eng leadership.
  • Be the metrics misuse guardrail in RIF planning. When layoff input lists include commit counts, intervene — the legal exposure is real.

FAQ

Frequently asked questions

What about using GitHub Copilot acceptance rate as a productivity metric?

It's gameable, biased toward certain languages, and doesn't correlate with shipped value. Use it as a team-level adoption metric, not as productivity.

Can we measure 'time to first PR' for new hires?

Yes, as a team-level onboarding-effectiveness metric. Not as a comparison across individuals.

How do we evaluate an engineer who works on hard, slow problems vs one who ships fast?

Both can be valuable; both can be poor. Evaluate on scope, impact, and influence — not throughput. A staff engineer who shipped one large architectural rework that unblocked five teams outperformed the engineer who closed 80 tickets.

What about AI tools that auto-generate eng performance summaries?

Treat them as draft input only. The eval is the manager's; the AI is a note-taking assistant. Multiple legal frameworks (EU AI Act, NYC LL 144 by extension) increasingly require human accountability for performance decisions.

Written by Pawan Joshi.Sources cited inline.
First published 15 Jun 2026See site changelog →