By NHI Mgmt Group Editorial TeamDomain: Cyber SecuritySource: CycodePublished October 8, 2025

TL;DR: Developer productivity is best measured as a balance of delivery speed, code quality, collaboration, and business impact, not as raw output, according to Cycode's analysis. The article argues that vanity metrics and security-driven friction distort performance signals, while security-native measurement can preserve developer flow without hiding risk.


At a glance

What this is: This is an analysis of how enterprises should measure developer productivity without relying on vanity metrics, with the key finding that balanced frameworks outperform raw output measures.

Why it matters: It matters to IAM, PAM, NHI, and security leaders because measurement systems shape behaviour, and the wrong productivity model can increase security risk while rewarding the wrong work.

By the numbers:

  • Only 44% of developers are reported to follow security best practices for secrets management, exposing a significant developer behaviour gap.

👉 Read Cycode's analysis of developer productivity metrics and security friction


Context

Developer productivity measurement fails when organisations confuse visible activity with real engineering value. In practice, lines of code, commit counts, and ticket closure rates often reward speed over maintainability, security, and team effectiveness, which is why balanced frameworks such as DORA and SPACE matter for software delivery governance.

The identity and security angle is especially relevant where developer workflows intersect with secrets, CI/CD access, and AppSec controls. When security tooling adds unnecessary context switching, teams may see slower delivery but not weaker outcomes, while weak controls can preserve apparent flow at the expense of exposed credentials and elevated risk. That tension is typical in modern enterprise engineering, not an edge case.


Key questions

Q: How should organisations measure developer productivity without encouraging gaming?

A: Use a balanced model that combines delivery speed, code quality, collaboration, and business impact. Avoid using lines of code, commit counts, or story points as performance proxies because they reward visible activity rather than real value. The best measures show whether teams deliver reliable software faster with fewer defects and less rework.

Q: Why do security controls sometimes appear to reduce developer productivity?

A: Because controls can add handoffs, review loops, and tool sprawl that interrupt flow. The right question is not whether a control adds friction, but whether it prevents larger rework later by reducing defects, incidents, or access risk. Good security should shift effort earlier only when it improves delivery outcomes.

Q: What do engineering teams get wrong about individual productivity measurement?

A: They often assume individual output reflects contribution, even when work is highly dependent on collaboration, mentoring, debugging, and architecture decisions. Individual scores miss the team-level effects that often create the most value. In practice, team performance is usually a better unit of analysis than personal throughput.

Q: How do security and developer experience fit into the same measurement model?

A: They should be measured together because security tooling, access workflows, and pipeline checks directly affect lead time and change failure rates. If a control makes delivery safer but also creates unnecessary delays, the measurement model should show both effects. That lets leaders improve control design instead of guessing.


Technical breakdown

Why vanity productivity metrics fail in software engineering

Developer productivity is multidimensional, which is why single metrics collapse under scrutiny. Lines of code, commit counts, and story points measure activity, not value. They also ignore task complexity, collaboration, debugging effort, and the security work that keeps software reliable. A developer who writes fewer lines may still deliver better architecture, reduce defects, or remove access risk from the delivery pipeline. Balanced measurement frameworks exist because engineering output is a system property, not an individual counter.

Practical implication: measure outcomes and flow, not just visible output.

How DORA, SPACE, and DX Core 4 work together

DORA focuses on delivery performance through deployment frequency, lead time for changes, change failure rate, and MTTR. SPACE adds satisfaction, performance, activity, communication, and efficiency, which helps capture the human and collaborative side of engineering. DX Core 4 combines speed, quality, and business impact into a more operational view of developer experience. Used together, these frameworks reduce the risk that one narrow metric distorts behaviour across the software lifecycle.

Practical implication: use multiple frameworks so speed, quality, and developer experience are all visible.

Why security and productivity should be measured together

Security controls can improve productivity when they remove late-stage rework, but they can also create friction when they add unnecessary review loops or tool sprawl. The key is to measure how controls affect lead time, change failure rates, and developer flow, rather than treating security as separate from delivery. In AppSec and identity-heavy pipelines, this matters because credential handling, code scanning, and access governance directly shape both risk and throughput.

Practical implication: evaluate security controls by their effect on delivery and risk, not by overhead alone.


NHI Mgmt Group analysis

Vanity metrics are a governance failure, not just a management mistake. When organisations use lines of code, commit volume, or tickets closed as proxies for productivity, they reward visible activity instead of durable engineering value. That creates perverse incentives, especially in teams where security work, code review, and architectural decisions are essential but less visible. For IAM and security leaders, the lesson is that measurement design can quietly create risk. The correct response is to govern the measurement system itself, not just the people being measured.

Security friction should be measured as part of productivity, not outside it. The article correctly surfaces the cost of context switching, late-stage review, and tool sprawl. In practice, AppSec and identity controls should be assessed for whether they remove rework and reduce downstream defects, or whether they simply shift effort earlier without improving outcomes. This aligns with NIST-CSF and NIST-800-53 thinking: controls are only effective if they improve resilience without creating hidden operational drag.

Developer productivity now includes security-native delivery signals. Modern software teams cannot separate engineering performance from secrets handling, access control, and secure CI/CD behaviour. That is where the identity angle matters most. If developers or pipelines are managing service credentials, tokens, or privileged access, then productivity measurement must reflect the state of those controls as well. The emerging concept here is security-flow coupling: the degree to which security controls either preserve or interrupt developer throughput, and the implication is that weak coupling becomes a governance blind spot.

Balanced measurement frameworks reduce gaming and reveal real enterprise value. DORA, SPACE, and DX Core 4 are useful because they combine speed, quality, collaboration, and business impact rather than elevating a single number. That matters for identity programmes too, where teams often over-optimise one control while missing the broader operating effect. The practical conclusion is straightforward: if a productivity model can be gamed, it will be gamed, so governance must be designed around complementary signals.

AppSec teams should treat productivity as a joint engineering and security outcome. When security tools increase handoffs, slow reviews, or add repetitive checks, they can reduce the very developer effectiveness they are meant to protect. That does not mean removing controls. It means measuring whether those controls improve delivery quality, lower incident rates, and reduce rework. For practitioners, the decision is not security versus speed, but whether the control model supports both.

What this signals

Security-flow coupling: enterprises will increasingly need to prove that security controls improve delivery quality rather than simply relocating friction into development workflows. That pushes AppSec, IAM, and platform teams toward shared metrics, especially where CI/CD access, service credentials, and review gates shape throughput.

The practical signal for programme owners is that productivity dashboards will need to include security debt indicators alongside lead time and defect rates. Where secrets, tokens, and pipeline identities are involved, those indicators should be tied to rotation, access scope, and exception handling rather than treated as separate hygiene tasks.

Teams that cannot explain how a control improves both risk and flow will struggle to defend it to engineering leadership. The next phase of developer measurement will be less about output counting and more about proving that the control model preserves speed while reducing avoidable failure.


For practitioners

  • Replace single-number productivity metrics Use a balanced scorecard that combines deployment frequency, lead time, change failure rate, code quality, and developer experience instead of commit counts or lines of code.
  • Measure security friction inside delivery metrics Track how AppSec and identity workflows affect lead time, review time, and rework so you can distinguish protective friction from avoidable interruption.
  • Involve developers in metric design Validate measures with engineering teams before rollout so the programme captures real workflow constraints and avoids surveillance-driven behaviour.
  • Use secure CI/CD controls as productivity enablers Pair pipeline protection with automated checks that remove late-stage security findings, especially where secrets and privileged access are handled in build and deployment paths. Refer to NIST SP 800-53 Rev 5 Security and Privacy Controls for access and integrity control alignment.
  • Link productivity to secrets governance where relevant Where developers handle service credentials, tokens, or certificates, include rotation, scanning, and access governance in the measurement model so security debt is visible early. See the Ultimate Guide to NHIs , Why NHI Security Matters Now for the operating context around machine identity growth.

Key takeaways

  • Developer productivity metrics fail when they reward activity instead of value, especially in teams where security and collaboration are central to delivery.
  • Balanced measurement frameworks such as DORA, SPACE, and DX Core 4 are better suited to enterprise software teams because they capture speed, quality, experience, and business impact together.
  • Security controls should be evaluated by how they affect flow, rework, and risk, particularly where secrets and privileged access live inside delivery pipelines.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

NIST CSF 2.0, NIST SP 800-53 Rev 5 and CIS Controls v8 set the technical controls, while ISO/IEC 27001:2022 define the regulatory obligations.

FrameworkControl / ReferenceRelevance
NIST CSF 2.0PR.AT-1The article focuses on measurement, awareness, and governance of developer behaviour.
NIST SP 800-53 Rev 5SA-11Security testing must be measured alongside delivery if code quality is part of productivity.
CIS Controls v8CIS-16 , Application Software SecurityThe post repeatedly links productivity with AppSec and secure SDLC practices.
ISO/IEC 27001:2022A.8.28Development lifecycle security is relevant where productivity and secure delivery intersect.

Track productivity measures alongside secure application development controls and remediation loops.


Key terms

  • Developer Productivity: Developer productivity is the extent to which engineering teams create reliable, valuable software efficiently. It is not the same as raw output. The best measures balance speed, quality, collaboration, developer experience, and business impact so teams improve outcomes instead of maximising visible activity.
  • DORA Metrics: DORA metrics are four delivery measures used to understand software performance: deployment frequency, lead time for changes, change failure rate, and mean time to restore. They help leaders assess whether a team can deliver changes quickly without increasing instability or operational risk.
  • Security-Flow Coupling: Security-flow coupling describes how strongly security controls affect the pace and quality of software delivery. Strong coupling can either preserve flow by automating protection or interrupt it through extra handoffs and rework. The concept is useful for judging whether a control improves operations or simply adds drag.
  • Vanity Metric: A vanity metric is a number that looks good but does not prove that a control, programme, or process improved security. In identity governance, it often measures activity such as attendance or completion rather than whether access, secrets, or ownership actually changed.

What's in the full article

Cycode's full blog post covers the operational detail this post intentionally leaves for the source:

  • A fuller breakdown of how Cycode weights delivery speed against code quality and security signals across the SDLC
  • Examples of the specific dashboard and workflow patterns the vendor uses to reduce context switching
  • The article's stepwise approach to selecting productivity measures for engineering teams
  • How its platform ties AppSec findings to delivery efficiency and change impact analysis

👉 Cycode's full post covers the DORA, SPACE, and DX Core 4 framing in more implementation detail.

Deepen your knowledge

NHI Foundation Level course, the industry's only accredited NHI security programme, covers NHI governance, machine identity security, secrets management, and identity lifecycle fundamentals. It gives security and identity practitioners a common language for governing access across modern delivery environments.
NHIMG Editorial Note
Published by the NHIMG editorial team on August 20, 2026.
NHI Mgmt Group — the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org