What are the root causes of software bugs? By looking into the root causes of software bugs and where and when the bugs appear, we can establish better ways to avoid them in the first place.
Bugs in code are not just caused by faulty code. They can be caused by poor requirements, poor implementation, poor configuration, poor documentation, poor design, inadequate testing and of course poor attention to code quality.
This table represents the main root cause of software defects:
Measured in defects per function point.
Source: p. 256. Capers Jones, Quantifying Software, 2018 CRC Press.