Monday, December 26, 2011

Classification of Defects / Bugs

There are various ways in which we can classify. Below are some of the classifications:
 
Severity Wise:
  • Major: A defect, which will cause an observable product failure or departure from requirements.
  • Minor: A defect that will not cause a failure in execution of the product.
  • Fatal: A defect that will cause the system to crash or close abruptly or effect other applications.
 Work product wise: 
  1. SSD: A defect from System Study document
  2. FSD: A defect from Functional Specification document
  3. ADS: A defect from Architectural Design Document
  4. DDS: A defect from Detailed Design document
  5. Source code: A defect from Source code
  6. Test Plan/ Test Cases: A defect from Test Plan/ Test Cases
  7. User Documentation: A defect from User manuals, Operating manuals
 Type of Errors Wise:  
  1. Comments: Inadequate/ incorrect/ misleading or missing comments in the source code
  2. Computational Error: Improper computation of the formulae / improper business validations in code.
  3. Data error: Incorrect data population / update in database
  4. Database Error: Error in the database schema/Design
  5. Missing Design: Design features/approach missed/not documented in the design document and hence does not correspond to requirements
  6. Inadequate or sub optimal Design: Design features/approach needs additional inputs for it to be completeDesign features described does not provide the best approach (optimal approach) towards the solution required
  7. In correct Design: Wrong or inaccurate Design
  8. Ambiguous Design: Design feature/approach is not clear to the reviewer. Also includes ambiguous use of words or unclear design features.
  9. Boundary Conditions Neglected: Boundary conditions not addressed/incorrect
  10. Interface Error: Internal or external to application interfacing error, Incorrect handling of passing parameters, Incorrect alignment, incorrect/misplaced fields/objects, un friendly window/screen positions
  11. Logic Error: Missing or Inadequate or irrelevant or ambiguous functionality in source code
  12. Message Error: Inadequate/ incorrect/ misleading or missing error messages in source code
  13. Navigation Error: Navigation not coded correctly in source code
  14. Performance Error: An error related to performance/optimality of the code
  15. Missing Requirements: Implicit/Explicit requirements are missed/not documented during requirement phase
  16. Inadequate Requirements: Requirement needs additional inputs for to be complete
  17. Incorrect Requirements: Wrong or inaccurate requirements
  18. Ambiguous Requirements: Requirement is not clear to the reviewer. Also includes ambiguous use of words – e.g. Like, such as, may be, could be, might etc.
  19. Sequencing / Timing Error: Error due to incorrect/missing consideration to timeouts and improper/missing sequencing in source code.
  20. Standards: Standards not followed like improper exception handling, use of E & D Formats and project related design/requirements/coding standards
  21. System Error: Hardware and Operating System related error, Memory leak
  22. Test Plan / Cases Error: Inadequate/ incorrect/ ambiguous or duplicate or missing - Test Plan/ Test Cases & Test Scripts, Incorrect/Incomplete test setup
  23. Typographical Error: Spelling / Grammar mistake in documents/source code
  24. Variable Declaration Error: Improper declaration / usage of variables, Type mismatch error in source code
Status Wise: 
  • Open
  • Closed
  • Deferred
  • Cancelled

No comments:

Post a Comment