In software testing, defect classes (also called defect categories) are
used to classify defects based on their nature and cause. This helps in
better analysis, reporting, and prevention of defects.
Defect Classes in Software Testing
1. Functional Defects
Defects related to incorrect or missing functionality.
Examples:
Login button does not work.
Calculation gives wrong result.
Required field validation missing.
Search feature not returning results.
2. Performance Defects
Defects related to speed, response time, and load handling.
Examples:
Application loads very slowly.
System crashes when multiple users log in.
Page takes more than expected time to respond.
Memory leakage causing system slowdown.
3. Usability Defects
Defects affecting ease of use and user experience.
Examples:
Confusing navigation.
Important buttons not visible.
No error message when input is wrong.
Difficult form layout.
4. UI (User Interface) / Cosmetic Defects
Defects related to look and feel of the application.
Examples:
Spelling mistakes.
Misaligned buttons.
Incorrect font size or color.
Overlapping text.
5. Compatibility Defects
Defects that occur on specific devices, browsers, or OS.
Examples:
Website works on Chrome but not on Firefox.
Mobile app crashes on Android but works on iOS.
Layout breaks on different screen resolutions.
6. Security Defects
Defects related to data protection and authorization.
Examples:
User can access restricted pages.
Password visible in plain text.
No session timeout.
SQL injection vulnerability.
7. Data Defects
Defects related to data handling, storage, and integrity.
Examples:
Incorrect data saved in database.
Data loss during transaction.
Duplicate records created.
Wrong data displayed after update.
8. Configuration Defects
Defects caused by wrong system or environment configuration.
Examples:
Incorrect server settings.
Wrong API endpoint configured.
Application fails after deployment.
9. Integration Defects
Defects that occur during interaction between modules or systems.
Examples:
Payment gateway not connecting.
Data not passing between modules.
API returns wrong response.
10. Documentation Defects
Defects in user manuals, help files, or requirement documents.
Examples:
Incorrect steps in user guide.
Missing screenshots.
Wrong system requirements mentioned.