The tenth installment of my 13-part series on technical debt categories is about Requirement Debt.
What Is Requirement Debt?
In the Towards an Ontology of Terms on Technical Debt paper, the authors define requirement debt as
tradeoffs made with respect to what requirements the development team need to implement or how to implement them.
This is a bit vague, but luckily, they provide some examples:
- partially implemented requirements
- functionalities that don’t satisfy non-functional requirements like security, performance, etc.
Software is never really finished, so this is a very common issue.
The paper does mention the fact that “there is still no consensus in the technical debt research community if the requirements debt can actually be considered as a type of technical debt.” Indeed, I’m not sure myself where I stand on this (see below).
Causes Of Requirement Debt
A big cause of partially implemented requirements is the fact that we work under time constraints. At a certain point, a feature may be implemented “well enough.” The team and stakeholders may know a certain edge case isn’t covered but agree that it hardly ever occurs. And when it does occur, there may be a simple workaround. In such a case, the effort of finishing the feature completely may not be worth it. In other words, the opportunity costs are deemed to high and it is better to start working on something else. This is a case of prudent and advertent requirements debt.
In other cases, it may happen over time that edge cases are discovered. Or non-functional requirements may arise, like new security vulnerabilities or performance degradation because of the success of the product.
In any case, most teams are constantly fighting the risk of an ever-increasing backlog or requirements. They can’t work on everything at once, which is why tradeoffs must be made. Which in turn causes requirements debt.
Solving Requirement Debt
First and foremost, must we solve requirement debt? As mentioned, not everyone is convinced that requirement debt is a form of technical debt. I believe there is no problem with requirements that still need to be fulfilled but where teams and stakeholders agree about the priority in which they should be handled. Again, we can’t work at everything at once.
Where I do see a problem is with backlogs of hundreds or thousands of items. This is impossible to manage and keep up to date. Experience shows that these kind of requirement backlogs contain a large amount of requirements that are no longer valid or relevant.
In fact, I’m convinced that it’s sufficient for a team’s backlog to contain a list of items for the next couple of weeks. Anything further is speculative because priorities change so often in most companies. This is not to say that management can have a vision beyond that horizon. But it makes little sense to make a list of requirements for the next 5 years.
So if you have a ridiculously long list of requirements, I would regard that as requirements debt. Most businesses are afraid of throwing away all that work, so you could work with two lists: one where all the ideas are dumped (and often forgotten) and one showing the upcoming work for the team in the short-term.
The Business Case For Reducing Requirement Debt
Any business needs to prioritize work items. So apart from avoid a useless long list of requirements, I wouldn’t say there is a big business case for reducing requirement debt. We must be aware of lingering requirements that need handling at some point in time. But we can’t avoid having a certain amount of requirement debt and it doesn’t hold a team back from delivering quality software.