The horrible truth about software development estimation, and what to do about it

Facebook
Twitter
LinkedIn
Pinterest
WhatsApp

In recent years I’ve been working with many software development teams and almost all of them struggle with estimating the work. The energy spent on this and the frustration it causes should come to a halt. And so, in this short article, I combine knowledge gained by many people with my experience and explain how to address this.

A significant amount of time is spent on estimating the work required to build software. I’ve seen teams spending around two days every two weeks trying to understand how much the work will cost, with organizations spending valuable time of managers and experts haggling, pushing and fighting over estimations.

Does it work? Do they get the estimations right? No, they don’t. Why? Simply put, building software is complex. We think we know what’s ahead of us, but we just don’t. This is very difficult to grasp and accept. Requirements evolve. Design evolves. We gain understanding through the work. Things change all the time.

And so, as your expertise increases you come to the conclusion that, while it is usually possible to know the magnitude of order (hours/days/weeks), accurate estimation of the work in hours, days, weeks or months is almost impossible.

This is a great breakthrough, as once you understand this reality, that accurate estimation of software development is not possible, you can start moving forward.

What can be done? How can we have a prediction of when things will get done?

Reduce possibility of development going out of control

The key to the solution is to reduce the possibility of the development process getting out of control. Instead of trying to figure out how much effort it will take to develop features, we take two main measures to increase the predictability of our development process.

The first measure is keeping the batch size, the amount of requirements we develop, small enough. This is because the complexity of development increases at an exponential rate with the growth of the number of requirements.

The main question, therefore, when estimating work is not how much effort it is but rather is it in the right size. If it is too big we need to break it down to smaller pieces.

The right size may change from team to team according to several factors, but from my experience a software development team working with modern tools usually aims towards a few days per development item, something that can be demonstrated to a product manager.

Below see a cycle time control chart of a development team, produced from Jira Software. Each dot is one or more development items that ended on the time indicated by the X axis. The Y axis shows how long it took to develop that item. This team’s average cycle time is around 4 days, but from time to time There are items escaping that average – the team discusses these items in order to improve.

As written above, the first thing to do to handle the problem of estimating work items is to try and bring them down to a size the team is comfortable with. Whether it is 2, 3, or 4 days doesn’t matter – what matters is that it is more or less the team’s usual size, which gives plenty of space for changes during the actual development.

Increase development predictability

The second approach to adopt to increase development predictability is combining forces, working together as a team.

To handle the complexity of software development we use a whole team approach. The team plans its work and does it together. The approach of the team leader making the plan and then each team member getting an assignment that they work on alone doesn’t work.

Practically, what does “Teamwork” mean? It means planning together: the team looks at the scope of items, determines together whether they are small enough (see above), and decides on their forecast for the development period. The team then starts handling the various items. They take items according to priority and work on them together. Working on items together sometimes means working on two parallel streams of the same job, sometimes it means sitting together at one development machine (pairing). It means that according to need and priority people switch tasks to help their teammates, and in general, the team does whatever it takes to get the work done.

Here is an example of a team who moved from investing a lot of time (2 days per person per 2 weeks) on estimating to working together and avoiding exact estimation. The gray columns are how much was planned for a development period and the green columns are how much was actually done (the changes in throughput are due to personnel changes)

To summarize, instead of being heartbroken over spending endless time on estimation and not hitting the estimates, strive to break your work into smaller, lower complexity items and focus on teamwork. Software development work is thinking. And nothing beats thinking together.

(Photos by ThisisEngineering RAEng on Unsplash)

Categories:

Tags:

Hybrid Work
Operational Value Stream
SAFe Release Planning
Agile Mindset
Built-In Quality
BDD
Sprint Iteration
A Kanban System for Software Engineering
Risk-aware Product Development
Scrum Primer
Sprint Retrospectives
The Kanban Method
Legacy Enterprise
Amdocs
RTE Role
Limiting Work in Progress
Introduction to Test Driven Development
Continuous Planning
Nexus vs SAFe
Agile Contracts Best Practices
SA
LeSS
ATDD vs. BDD
Lean Agile Basics
Agile
Lean Agile Management
AgileSparks
Rapid RTC
Continuous Improvement
Quality Assurance
ROI
LPM
Kanban 101
PI Objectives
Scrum Values
Artificial Intelligence
Professional Scrum Master
NIT
Agile Release Planning
Certification
Nexus and SAFe
Sprint Planning
IT Operations
Agile Program
Product Management
RSA
Nexus and Kanban
Agile for Embedded Systems
Lean Budgeting
Agile and DevOps Journey
Lean Risk Management
Agile India
Agility
Lean Startup
Software Development
Continuous Deployment
Kaizen
Agile Games
Nexus Integration Team
Enterprise DevOps
EOS®
RTE
Managing Projects
speed @ scale
speed at scale
Iterative Incremental Development
Certified SAFe
Agile Product Ownership
Agile Marketing
ART Success
Agile Release Management
Risk Management on Agile Projects
Principles of Lean-Agile Leadership
Webinar
Kanban
Story Slicing
SAFe
Change Management
Agile Development
Lean-Agile Software Development
Video
Coaching Agile Teams
Agile in the Enterprise
Test Driven Development
TDD
Jira Plans
Engineering Practices
Kanban Kickstart Example
Games and Exercises
Agile Games and Exercises
Code
Kanban Game
Lean Software Development
Agile Project Management
Large Scale Scrum
Software Development Estimation
Scrum.org
Value Streams
DevOps
Spotify
Scrum With Kanban
Manage Budget Creation
Planning
Lean and Agile Techniques
Releases Using Lean
Agile Outsourcing
System Archetypes
lean agile change management
Systems Thinking
Introduction to ATDD
Agile Project
Scrum Master
Managing Risk on Agile Projects
ScrumMaster Tales
Self-organization
Advanced Roadmaps
GanttBan
Scrum
Agile Israel Events
Scrum and XP
ARTs
ALM Tools
Lean Agile Leadership
Scaled Agile Framework
Continuous Delivery
Lean and Agile Principles and Practices
Jira Cloud
Professional Scrum Product Owner
Tips
Release Train Engineer
Kanban Basics
Implementation of Lean and Agile
Continuous Integration
Scrum Master Role
The Agile Coach
PI Planning
Entrepreneurial Operating System®
What Is Kanban
Agile Product Development
Applying Agile Methodology
AI Artificial Intelligence
WIP
Agile Testing Practices
SAFe DevOps
Agile Assembly Architecture
Process Improvement
Jira
Professional Scrum with Kanban
POPM
Atlaassian
Agile Delivery
QA
Frameworks
Agile Basics
System Team
ATDD
Risk Management in Kanban
Accelerate Value Delivery At Scale
Portfolio for Jira
Nexus
Agile Exercises
Program Increment
Agile Community
Lean-Agile Budgeting
Effective Agile Retrospectives
Product Ownership
Scrum Guide
Legacy Code
Reading List
Daily Scrum
SPC
Acceptance Test-Driven Development
Agile Risk Management
Elastic Leadership
Achieve Business Agility
Perfection Game
Kaizen Workshop
Implementing SAFe
Presentation
System Integration Environments
Business Agility
An Appreciative Retrospective
Development Value Streams
LAB
Slides
Covid19
Lean Agile
Agile Techniques
Lean Agile Organization
AgileSparks
Logo

Contact Us

Request for additional information and prices

AgileSparks Newsletter

Subscribe to our newsletter, and stay updated on the latest Agile news and events

This website uses Cookies to provide a better experience
Shopping cart