Bugs love places to hide. This is true for software bugs as well. Likely the single best deterrent of software bugs is clean code design.
Likely bug injection points include:
- Incorrect or failed processing of certain test cases.
- Incorrect or failed processing for null test cases.
- Adding new or changing functionality.
- Failure to validate input data or to maintain data integrity.
- Failure to follow SRP.