What Is a Software Defect?

A software defect is a deficiency in a software product that causes it to perform unexpectedly. From a software user’s perspective, a defect is anything that causes the software not to meet their expectations. In this context, a software user can be either a person or another piece of software. A few examples are listed in Table 1-1. From a software developer’s perspective, a defect is anything that must be corrected in a software work product.

Table 1-1. Software Defects from the User’s Perspective
Typical Examples of Software Defects
User ExpectationThe software will help me accomplish a task
Software DefectDesired software functionality is missing
User ExpectationClicking on the button performs the task I want to do ...

Get The Practical Guide to Defect Prevention now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.