Zero Bugs

Delete all the bugs from your backlog, now!

Have you done it? If not go and do it now, I'll wait for you...

... okay. now doesn't that feel better? You can delete any meetings you may have had around managing all those bugs too. Also any time you've allocated in sprints for addressing them, or if it's got that bad any "bug fix sprints" you may do, is now freed up for productive work. The best part is you've not lost anything.

Priority Inversion

Not only have you saved time, you're also now in a position to better utilise your time. Once you've reached the point of allocating time to address bugs1, then you have the likelihood of doing lower priority work at the expense of more valuable work. Engineers may be picking trivial bugs from the bug backlog to address which deliver little or no business value whilst new functionality that can deliver value is waiting to be implemented, or vice versa.

How can we get away from this? Well I would say those issues you deleted were not actually bugs.

What Is a Bug?

Why are Birds?

It seems that any deviation of the system from some imagined perfect state can be regarded as a bug. Hence the proliferation of "trivial" or "minor" bugs, some of which were probably not even worth the expense of creating in your ticketing system. This is entirely subjective too, some people seem capable of not seeing a tiny difference in alignment or having their attention immediately distracted by a small typo in the corner of a page (sometimes I envy them2).

An alternative, and I propose far superior, definition of a bug is unacceptable behaviour. Behaviour that must be changed before any other work is started. This is still a subjective bar, but it is a clear and simple decision for the Product Owner to make: Is changing this more important than any new functional work? If so, raise a bug, otherwise the current behaviour is acceptable (at least for some period of time). If it does need to be changed a Story can be raised to properly prioritise that change.

Simple as that; all Bugs must be fixed before any new work can be started.

Bugs fall into two categories:

  • If a bug is serious enough (e.g. it is costing the business money every second until it is addressed) then work on the bug should start immediately interrupting any in progress work.
  • For all other bugs they should be fixed before picking up any new work.

Acceptance

This dovetails nicely with Acceptance Criteria and Product Owner reviews leading to acceptance of a story as a usual part of the Definition of Done. The Product Owner determines that what has been implemented is acceptable, that it meets the acceptance criteria. The same process of acceptance applies to potential defects (you're not raising bugs against in progress stories, are you?).

Zero Bugs

Unsurprisingly this isn't something I've come up with. Searching for something like "zero bugs software" or "zero bugs policy" returns lots of results about this approach (searching for "zero bugs" returns lots of results about pest control).

Zero-Bug Software Development (xolv.io) by Sam Hatoum, probably explains it better than I have.

Footnotes

  1. This is a natural progression. Once you start raising bugs someone is going to start reporting on them. As those numbers grow someone is going to think something needs to be done about them. Before you know it you're allocating time to this shadowy backlog of bugs instead of the business priorities.
  2. Although after having this proof-read it seems I'm not so good at spotting things.
About the author:
Andy White

Andy White

A highly motivated Senior Software Engineer, Andrew has a wide range of commercial experience in designing, developing, deploying, maintaining, and supporting a variety of systems. He is focused on quality of delivery, continually looking for opportunities to improve across the full software delivery lifecycle.

Andrew has extensive knowledge of the Microsoft development ecosystem having worked with all versions of the .NET platform to develop enterprise applications.