Blog

    Software Development Metrics

    By GauravNovember 13, 202610 mins read
    On this page

    A health product team can ship on a calendar and still be slow where it matters. The deploy pipeline looks fine, the sprint report is green, and a lab interface has been retrying the same order for two days. Story points will not show that. A blended 'engineering health' score will hide it.

    Software development metrics, used properly, describe one application: how changes move, how often they hurt production, and how the clinical edges fail. This guide covers the DORA delivery measures without turning them into a target, then the healthcare measures that DORA does not name: defect escape, interface uptime, and safety-related defects.

    Which software development metrics should a health team track?

    Want a metric set that survives a clinical incident?

    Agnotic Technologies sets up delivery metrics for health products, per application, with safety and interface signals beside DORA.

    Software development metrics for a health product team are a small set of delivery measures, starting with DORA throughput and instability, plus healthcare measures such as defect escape, interface uptime, and safety-related defects. They describe one application over time. They are not a scoreboard for comparing teams, and they are not a velocity target.

    Keep the set small enough to review in one meeting. If you cannot say what you would change when a metric moves, drop it. A metric with no decision attached becomes a report people stop reading, and then a number someone quotes out of context.

    What do the DORA delivery metrics measure?

    DORA's current guide describes five software delivery performance metrics, grouped as throughput and instability. They replaced the older habit of treating speed and stability as opposites. DORA states that the metrics are correlated for most teams, and that they are best applied to one application or service at a time.

    • Change lead time: time for a change to go from commit in version control to production.
    • Deployment frequency: how many deployments happen in a period, or the time between deployments.
    • Failed deployment recovery time: time to recover from a deployment that fails and needs immediate intervention.
    • Change fail rate: the ratio of deployments that need immediate intervention after the deployment, often a rollback or a hotfix.
    • Deployment rework rate: the ratio of deployments that were unplanned and exist because of a production incident.

    The first three are throughput. The last two are instability. DORA's guide says a common way to improve them together is to reduce the batch size of a change. It also warns against setting the metrics as goals, because teams then game the number, and against blending unlike applications into one organizational score.

    Do not import published performance bands into a target. This post does not quote them. A team that deploys a patient-facing app and a team that changes a claims adapter do not share a useful league table. Compare the application to its own recent history.

    How do healthcare failures change the metric definitions?

    Use DORA's definitions as written, then label the clinical impact beside them. A deployment that stays up and files a result on the wrong patient is a change failure if it needs immediate intervention. A deployment that is blocked in test is not: the failure never reached a user.

    • Count a bad interface map as a change failure when production data is wrong and someone must roll back, hotfix, or stop the feed.
    • Do not count a test failure, a refused pull request, or a change stopped by a safety check. Those are the pipeline working.
    • Tag recovery by user impact: chart unavailable, interface queued, wrong data visible, or cosmetic. Recovery time without the tag invites people to restart a pod and call it restored while the queue is still stuck.
    • Include configuration and content changes if they ship through the same path as code. A rules-file edit that changes an alert is a change.

    DORA notes that highly regulated teams sometimes treat compliance as a reason not to improve delivery. Regulation changes what you must prove about a change. It does not make an unmeasured pipeline safer. The audit trail of the change and the speed of the change are different questions.

    How should you measure defect escape and interface uptime?

    Defect escape asks whether a defect reached a user after your checks. Interface uptime asks whether the clinical feed was usable, which is a different question from whether the web app returned a page.

    • Defect escape: production defects that a defined test layer was supposed to catch, counted by severity. A defect found and stopped before release is not an escape.
    • Escape by surface: patient-facing, clinician-facing, interface, batch job, report. A wrong column in an internal report is not the same escape as a wrong dose display.
    • Interface uptime: time the HL7 v2 feed or FHIR endpoint accepted and acknowledged messages correctly, minus time it queued, rejected, or wrote to the wrong patient.
    • Queue age: the oldest unacknowledged message. An interface can be 'up' by a port check and still be hours behind.
    • Ack and error codes: count negative acknowledgements and repeated retries as signal, not as noise to delete.

    Give interface uptime to the team that owns the feed, and application uptime to the team that owns the service. One green dashboard for both is how a silent ADT outage survives a status meeting.

    How do safety defects fit next to delivery metrics?

    Keep a separate count of safety-related defects: wrong patient, wrong encounter, a value displayed with the wrong unit, an alert that fired on a chart it should not have, or a result that never arrived. Do not fold them into a general bug burn-down.

    The HIPAA Security Rule's audit-control standard, 45 CFR 164.312(b), requires hardware, software, or procedural mechanisms that record and examine activity in systems that contain or use electronic protected health information. That is not a DORA metric. It is why a healthcare change log has to answer who changed a record, not only how fast the change deployed. If you cannot reconstruct the change after an incident, recovery time is a guess.

    • Safety escape: a safety-related defect found in production. Review each one. Do not average them into a rate and move on.
    • Detection source: user report, monitor, reconciliation job, or audit review. A defect found only by a patient is a different gap than one found by a feed check.
    • Linkage: tie the defect to the deployment or config change when you can. If you cannot, the change fail rate is under-counted.

    Which metrics mislead a healthcare engineering team?

    These measures feel precise and steer the team toward the wrong work.

    • Story points and velocity: they measure estimates inside one team. They are not delivery performance, and they are not comparable across teams.
    • Lines of code or commit counts: easy to inflate, silent on patient impact.
    • A single deploy-frequency target for every service: DORA warns that turning the metric into a goal encourages gaming. A nightly batch and a bedside app should not share a quota.
    • Uptime of the load balancer only: the site answers while orders sit in a dead letter queue.
    • Mean time alone: one long outage and many short ones tell different stories. Keep the distribution, or at least the worst case, beside the average.
    • Individual engineer rankings: DORA's guide treats siloed ownership as a pitfall. Shared delivery metrics exist so development, operations, and release look at the same failure.

    How do you instrument this without a metrics project?

    Start from systems you already have. DORA explicitly says that building a perfect integration across every tool can cost more than it teaches, and that a baseline conversation is a valid start.

    • Deployments: the pipeline already knows when a release reached production. Emit one event per deployment with application id, version, and time.
    • Failures: the incident record should say whether this was a bad deployment, and when users were whole again. That is recovery time. Agree on 'whole' before you argue about the clock.
    • Escapes: the bug tracker needs a field for found-in-production and safety-related. Without the field, the count is a search through titles.
    • Interfaces: the integration engine already has queue depth and acknowledgements. Graph those. Do not wait for a new observability stack.
    • Review: one recurring meeting per application, with the on-call notes open. The metric is an input to that meeting, not a separate religion.

    Resist a program that scores teams against each other. The useful comparison is this application now versus this application last quarter, after a change you can name.

    Name the events before you name the chart. A deployment event carries an application id, a version, and a production timestamp taken from the pipeline. A failure event carries the deployment it belongs to, the user-visible symptom, and the time that symptom ended. An escape event carries severity, the surface it hit, and whether a safety review is required. With those three records, a reviewer can rebuild lead time, fail rate, recovery time, and defect escape. Without them, another dashboard repeats the argument.

    Write the application boundary down. The patient app and the interface engine that feeds it are two applications even when one squad owns both. Lead time for the app starts at the app commit. Lead time for a map change starts at the map commit. Mixing them makes a one-line fix look like a migration, or a migration look like a one-line fix. When the boundary changes, keep the old events so last quarter can still be explained.

    How often should the team act on the numbers?

    Review on the same cadence as releases and incidents for that application. A monthly slide is late for a feed that fails overnight. A daily scoreboard is noise for a batch product that ships twice a month.

    When a metric moves, pick one constraint. DORA's own improvement loop is: baseline, name the friction, commit to the tightest bottleneck, add a leading indicator such as review time or test quality, do the work, then check again. Adding three initiatives because four charts dipped is how the metric program replaces the delivery work.

    A useful review for a clinical application has a fixed agenda. Read recovery events since the last review and agree whether 'recovered' matched what clinicians experienced. Read safety escapes one by one. Read the oldest interface queue, not the average. Then choose a single change to the pipeline, the test layer, or the feed. Leave velocity, headcount, and cross-team rankings out of that hour. Those conversations belong somewhere else, and they drown the signal this set is for.

    How Agnotic can help

    Agnotic Technologies sets up delivery measurement for healthcare product teams: deployment and recovery events per application, defect-escape fields that separate safety issues from ordinary bugs, and interface checks that treat a stuck HL7 v2 or FHIR feed as downtime. We use DORA's definitions for throughput and instability and we do not turn them into a cross-team ranking.

    On an engagement we usually start with one production application, agree what 'recovered' means for its users, and wire the events you already emit. The dashboard comes after the definitions survive a real incident.

    Measure the application, not the sprint

    Set up delivery metrics with our engineers, or read more in the software engineering hub.

    Related reading on Agnotic

    Quality practices, how healthcare software is tested, and the architecture choices that make these metrics collectable.

    Sources

    Frequently Asked Questions

    No. DORA says the metrics work best for one application compared with itself, and that setting them as goals encourages gaming. Use the definitions. Do not copy a performance band into a quota.

    Talk to an engineer about your project

    We instrument one health application at a time: delivery, recovery, defect escape, and the interfaces clinicians actually use.