
Productivity in Software Teams: DORA, SPACE, and AI without Vanity Metrics
Lines of code and logged hours don't measure the real value of engineering. Discover how to apply DORA, SPACE, flow metrics, and AI to accelerate deliveries without micromanagement.
Evaluating productivity in software development teams is one of the greatest management challenges of the digital age. Unlike traditional industrial manufacturing, creating software is essentially an intellectual, non-linear, and deeply collaborative activity. When leadership tries to measure engineers' work using simplistic metrics from the factory era, the result is disastrous.
Indicators like the number of commits, lines of code written, or hours tracked in monitoring software are known as vanity metrics. They create an illusion of control but distort team behavior, encourage verbose code, and destroy the organizational climate.
Over the past few decades, scientific research programs such as DORA (DevOps Research and Assessment by Google Cloud) and the SPACE framework (developed by researchers from GitHub and Microsoft) have demonstrated that true engineering performance is a multidimensional sociotechnical phenomenon. It balances delivery speed, operational stability, architectural quality, developer well-being, and continuous value flow.
With the massive popularization of artificial intelligence programming assistants (like GitHub Copilot, Cursor, and Claude Code), measuring productivity has become even more strategic: AI generates drafts in seconds, but it is up to the engineering ecosystem to ensure that the generated code reaches production safely and without accumulating technical debt.
💡 Goodhart's Law in engineering: "When a measure becomes a target, it ceases to be a good measure." If you reward engineers for lines of code written, you will receive verbose and unnecessary code; if you reward them for the number of tasks closed, you will get small, fragmented tasks with no real value for the customer.
Do you want to structure your tech team's metrics and velocity?
At Shinier, we help founders, CTOs, and technical leaders implement DORA and SPACE metrics, optimize CI/CD flows, and accelerate software development without falling into the micromanagement trap.
Why don't lines of code and hours worked measure productivity?
In software engineering, the quantity of inputs or the amount of text produced has zero—and often negative—correlation with solving business problems. A senior developer might spend three days investigating a complex concurrency or performance failure and solve it by deleting 50 lines of redundant code. From the perspective of outdated metrics, they would have produced "negative productivity."
As classically pointed out by Tom DeMarco and Timothy Lister in Peopleware, effort in software development is cognitive and creative. Trying to apply mechanical effort metrics produces dangerous systemic traps, as we analyze in detail below:
Lines of Code (LOC)
Measuring engineering work by Lines of Code (LOC) encourages the proliferation of duplicated code, unnecessary classes, and a lack of abstraction. Good code is concise, readable, and lean. Writing less code to solve the same problem reduces the bug surface and drastically lowers future maintenance costs.
Logged Hours & Timesheets
Time tracking measures physical presence or digital presenteeism, not technical problem-solving ability. This model encourages artificially inflating task estimates and generates a climate of mutual distrust, in addition to accelerating mental exhaustion and team burnout.
Volume of Commits and Pull Requests
Without proper context analysis, pure commit counting encourages the artificial fragmentation of valueless changes and the submission of incomplete pull requests simply to inflate individual counting dashboards.
To break this vicious cycle, high-performing technology organizations have migrated to consolidated frameworks based on measuring delivery outcomes and sociotechnical flow health, definitively abandoning effort (input) measurements.

What are the 4 DORA metrics and how to measure speed with stability?
The DORA (DevOps Research and Assessment) model was developed over seven years of statistical research conducted by Dr. Nicole Forsgren, Gene Kim, and Jez Humble, covering more than 32,000 tech professionals worldwide. DORA's great scientific innovation was proving that delivery speed and operational stability are not opposing forces, but rather mutually reinforcing levers.
DORA organizes engineering health into four fundamental indicators, rigorously divided between two throughput metrics (speed) and two stability metrics (quality). Below, we present a detailed analysis of each of the four metrics:
1. Deployment Frequency
Deployment Frequency (DF) measures how often valid code is successfully deployed to the production environment. In teams with early maturity or bureaucratic legacies, deployments occur bi-weekly or monthly in large packages (big-bang releases), accumulating hundreds of simultaneous changes. In elite performance teams, deployment frequency is daily or on-demand (multiple deployments per day).
Increasing deployment frequency forces a drastic reduction in code batch sizes. Small deployments reduce integration complexity, facilitate peer review, lower the risk of merge conflicts, and make bug identification infinitely simpler and more direct.
2. Lead Time for Changes
Lead Time for Changes (LTC) measures the total time elapsed from the moment code is committed to the repository until that code is effectively running in production and generating value for the end-user. This metric accurately exposes the efficiency of the delivery pipeline and the company's level of automation.
High-performing teams maintain an LTC of under an hour, supported by automated test suites, integrated security validations (DevSecOps), and continuous integration (CI/CD). When LTC is high (weeks or months), the main culprit is rarely the time spent writing code, but rather the time the code sits idle in passive queues awaiting manual testing and bureaucratic approvals.
3. Change Failure Rate
Change Failure Rate (CFR) measures the percentage of deployments or changes to production that cause direct service degradation, critical incidents, security vulnerabilities, or an immediate need for a rollback or hotfix. It is the guardian metric that prevents the team from accelerating delivery speed while destroying system stability.
Elite organizations sustain a Change Failure Rate between 0% and 5%. A high CFR indicates that the team is neglecting unit testing, integration automation, or code reviews. DORA's goal is to demonstrate that it is possible to increase speed while keeping CFR at minimum safety levels.
4. Mean Time to Restore (MTTR)
Mean Time to Restore (MTTR) measures how long it takes the team to identify, diagnose, and fully restore normal system operation after an unforeseen failure or outage in production. In complex and distributed systems, incidents will eventually occur; the difference in an elite team lies in their ability to recover the service in minutes.
Achieving a low MTTR (under 60 minutes) requires investments in advanced observability (structured logs, metrics, and distributed tracing), proactive automated alerts, and quick mechanisms for deploying fixes or graceful degradation (feature flags and one-click automated rollbacks).

What is the SPACE framework and its 5 productivity dimensions?
Co-created by researchers from GitHub, Microsoft Research, and Victoria University (published in ACM Queue), the SPACE framework emerged to address the limitations of purely technical metrics. SPACE argues that developer productivity is impossible to capture with a single indicator or isolated dimension.
The model structures productivity into five interconnected sociotechnical dimensions. To avoid bias, an organization should select metrics from at least three different SPACE dimensions simultaneously. Below, we detail each of the 5 dimensions:
1. Satisfaction & Well-being (S)
The Satisfaction and Well-being dimension measures how satisfied and fulfilled developers are with their daily tasks, work tools, team environment, and organizational culture. Empirical research proves that dissatisfaction and mental exhaustion (burnout) are directly linked to high turnover rates, a drop in code quality, and an increase in operational errors.
To evaluate this dimension without invading professionals' privacy, periodic anonymous surveys like eNPS (Developer Employee Net Promoter Score), work tool friction metrics (DevEx), and voluntary talent retention rates within the engineering team are used.
2. Performance (P)
The Performance dimension evaluates the result and real impact of the work delivered by the team, combining software effectiveness with strategic business objectives. Instead of measuring the volume of work produced, performance focuses on architectural quality, system reliability, and end-user satisfaction with the provided solution.
Typical indicators for this dimension include service reliability scores (SLOs/SLAs), the adoption rate of new features by customers, the absence of critical regressions, and the financial or operational impact generated by engineering deliveries.
3. Activity (A)
The Activity dimension encompasses the quantitative count of operational actions executed throughout the software development process. Although activity is the easiest dimension to measure mechanically via systems (like GitHub or Jira), the SPACE framework emphatically warns that it should never be evaluated in isolation nor used as an individual productivity goal.
Examples of activity metrics include commit volume, the number of Pull Requests opened and reviewed, technical specifications written, and test build executions. These metrics serve as operational volume signals for sizing system capacity, not for ranking developers.
4. Communication & Collaboration (C)
The Communication and Collaboration dimension measures how individuals and teams interact, share knowledge, and coordinate dependent work. Software development at scale is a team sport; communication barriers between product, engineering, and operations teams are the biggest sources of delays and rework in the industry.
This dimension analyzes response speed in code reviews (PR review responsiveness), the quality of shared technical documentation, the onboarding time for new engineers, and the fluidity of cross-functional communication between departments.
5. Efficiency & Flow (E)
The Efficiency and Flow dimension analyzes the ability of engineers to execute their work with minimal friction, interruptions, or unnecessary delays. It measures the continuous progress of work through the system and the team's ability to maintain prolonged states of deep concentration (Deep Work).
Essential metrics for this dimension include Wait Time in queues, the number of daily context switches imposed by fragmented meetings, total task cycle time, and developers' perception of having "uninterrupted time to code."
How to combine speed, quality, satisfaction, and collaboration?
Isolated metrics cause systematic distortions. If a team focuses solely on Deployment Frequency (speed), they might be tempted to release code without proper test coverage, inflating the Change Failure Rate (quality). The secret to healthy engineering lies in the balanced interplay of four vital dimensions:
1. Speed + Quality
The DORA report statistically proved that elite tech teams do not choose between speed and quality: they achieve both simultaneously. Speed is obtained through test automation (CI/CD) and continuous integration, allowing frequent deployments in small batches with a very low failure rate.
2. Satisfaction + Well-being
Satisfied developers produce cleaner, safer code. The Satisfaction dimension in SPACE evaluates team retention, eNPS levels, and the lack of friction in work tools. Slow tools and bureaucratic processes erode technical motivation.
3. Collaboration & Communication
Modern software is built as a network. Measuring PR review time, the onboarding speed for new engineers, and active searching for documentation prevents the formation of knowledge silos where only one person masters a specific module.
4. Efficiency & Flow
Being in a "flow state" means being able to work for uninterrupted blocks of time (Deep Work) without fragmented meetings throughout the day. Minimizing context switching exponentially increases engineering's creative output.
Combining these metrics ensures that delivery acceleration is sustainable in the long term, preserving both people's mental health and system resilience.
How to measure capacity and idleness without micromanagement?
Many managers fear that without monitoring every developer's steps, the team will fall into idleness. However, micromanagement is the most inefficient and expensive way to manage a tech team. Productive capacity must be analyzed from a **system perspective**, not individual surveillance.
Healthy Utilization vs Chronic Overload
In engineering queuing theory (Kingman's Law), an operating system running at 100% human resource utilization achieves infinite wait times for new demands. Planned idleness (slack time) of 15% to 20% is essential for code refactoring, learning new technologies, responding to emergencies, and innovation.
Focus on Queue Bottlenecks (Wait Time)
If a developer is "idle", 90% of the time it is not by choice; they are blocked waiting for product specifications, access credentials, testing environments, or a Pull Request approval. Instead of demanding action from the individual, leadership must remove the blockage in the flow.
Culture of Psychological Safety
Research from Google's Project Aristotle proved that **psychological safety** is the primary factor for high-performing teams. Environments where people feel safe to admit mistakes, ask for help, and propose experiments deliver significantly better results than those driven by the fear of surveillance.
When do AI assistants increase or merely shift work?
Studies conducted by GitHub Research with over 2,000 developers showed that using AI assistants like Copilot allows tasks to be completed, on average, **55% faster**. However, an increase in typing speed does not automatically translate into a higher throughput of business deliveries if the ecosystem is unbalanced.
Real Gain with AI (Effective Increase)
The real gain occurs in the elimination of repetitive code (boilerplate), mocks, and automated testing structures, the reduction of external searches for API syntax, and the increase in time spent in a cognitive flow state with less mental friction.
Work Displacement (Transferred Bottleneck)
The risk lies in flooding the Code Review queue with massive PRs generated by AI without human curation, increasing technical debt by blindly accepting plausible but inefficient or unsafe code, and overloading QA testing, resulting in a higher Change Failure Rate in production.
To extract maximum value from AI, leadership must ensure that code review processes, test automation, and architectural governance evolve at the same speed as the code being generated.
Which flow metrics help forecast deliveries?
Instead of relying on subjective estimates in hours ("Planning Poker"), modern engineering teams use **flow metrics based on historical data** (as recommended in practical guides by Atlassian and Kanban statistics). The four essential flow metrics are:
1. Throughput
The number of work items (stories, bugs, tasks) completed and delivered to production per unit of time (e.g., per week or per sprint). Provides the stochastic basis for realistic forecasting.
2. Work in Progress (WIP)
The amount of work started but not yet completed in the system. Controlling WIP is the #1 lever for reducing Lead Time (according to Little's Law).
3. Cycle Time Scatterplot
A scatter plot of the cycle time for each completed task. Allows analysis of predictability percentiles (e.g., "85% of our tasks are completed within 4 days").
4. Cumulative Flow Diagram (CFD)
A cumulative diagram that visualizes the accumulation of work between stages, instantly revealing hidden bottlenecks, system stability, and pace variations.
Scorecard model for software teams
Below is a balanced Engineering Performance Scorecard model. It consolidates the best parameters from DORA, SPACE, and Flow Metrics into operational maturity ranges for your company:
| Dimension | Indicator / Metric | Evolving (Low/Medium) | Elite / High Performance |
|---|---|---|---|
| DORA Speed | Deployment Frequency | 1x to 2x per month | Multiple deploys per day |
| DORA Speed | Lead Time for Changes | Between 1 and 4 weeks | Under 1 hour |
| DORA Stability | Change Failure Rate | > 15% to 30% | 0% to 5% |
| DORA Stability | Mean Time to Restore (MTTR) | Over 1 day | Under 30 minutes |
| SPACE Human | Satisfaction & Well-being (eNPS) | Below +20 | Above +50 |
| Flow & Forecast | Flow Efficiency (Flow %) | < 10% (much queuing) | > 35% to 50% active touch time |
How to implement this scorecard in 30 days:
- Week 1
Repository Connection, CI/CD, and Automated DORA Calculation
Connect your repository tools (GitHub, GitLab, Bitbucket) and continuous integration/delivery pipelines (GitHub Actions, ArgoCD, Jenkins) to a data engineering platform. Calculating the 4 DORA metrics (Deployment Frequency, Lead Time for Changes, Change Failure Rate, and MTTR) must be 100% passive and automated via webhooks, without requiring engineers to fill out manual reports or spreadsheets.
- Week 2
Biweekly DevEx Survey, eNPS, and Friction Mapping
Implement a short, anonymous, and recurring survey (maximum 3 to 5 questions every 14 days) focused on measuring the team's eNPS, satisfaction levels with development tools (DevEx), and main sources of anxiety or daily friction. This routine captures the human-centric signals of the SPACE framework, preventing mental exhaustion and burnout before they impact talent retention.
- Week 3
Establishing WIP Limits and Reducing Queue Time
Define strict Work in Progress (WIP Limits) on the columns of your agile board (Kanban/Jira), especially in the Code Review and QA Testing phases. Forcing the team to stop starting new tasks before finishing ongoing ones is the #1 lever to reduce Lead Time for Changes and drastically increase continuous value delivery throughput to the customer.
- Week 4
Scorecard Consolidation and Continuous Analysis in Retrospectives
Present the consolidated sociotechnical scorecard monthly during team retrospectives. Use historical data to celebrate flow achievements, identify systemic infrastructure bottlenecks, and plan continuous improvement experiments (Kaizen). The primary goal of the scorecard should always be the evolution of the engineering system and the removal of blockers, never individual judgment.
With this sociotechnical model, your company eliminates sterile discussions about micromanagement and begins building a high-performance culture based on trust, value delivered to the customer, and sustainability in software development.
Referências
- DORA. Accelerate State of DevOps. Global research program by Google Cloud on high-performing software engineering, establishing the four fundamental metrics of speed and stability (Deployment Frequency, Lead Time for Changes, Change Failure Rate, and MTTR). Access official DORA portal
- FORSGREN, Nicole et al. The SPACE of Developer Productivity. Study published in ACM Queue that revolutionized the measurement of software productivity by proposing a multidimensional view covering Satisfaction, Performance, Activity, Communication, and Efficiency. Read original scientific article on ACM Queue
- GITHUB. Research on Copilot Productivity and Happiness. Empirical research quantifying the impact of AI assistants on development speed, focus on the flow state, and personal satisfaction of software engineers. Read GitHub research report
- KIM, Gene; HUMBLE, Jez; FORSGREN, Nicole. Accelerate. Book based on four years of statistical research with thousands of organizations, empirically demonstrating that agility in software delivery directly drives business performance. Discover Accelerate publications
- DEMARCO, Tom; LISTER, Timothy. Peopleware: Productive Projects and Teams. Classic work on people management in technology, demonstrating that the main problems in software development are sociotechnical and behavioral, not purely technological. Consult Peopleware book at O'Reilly
- ATLASSIAN. Agile Reports and Flow Metrics Overview. Guide on the practical application of flow metrics, cumulative flow (CFD), and capacity control for stochastic delivery forecasting in agile projects. View Atlassian Jira reporting guide