Appendix A. Classification of Bugs
This appendix details the bug classifications used in this book. Appendix B, “Index of Bugs by Type,” allows you to quickly find all the bugs of a particular type. (Ideally, you should only consult Appendix B after the problems are solved because knowing the type of bug in a particular example makes it easier to find.) Because of the imprecise nature of the bug classification, there is some overlap. In many situations, a particular bug can be classified in several different ways.
When talking about bugs, there are really three types—failures, faults, and errors:
A failure is visible to the end user of a program. For example, the program is supposed to print a one and instead prints a zero.
A fault is the underlying ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access