Errors - Boundary, Calculation, States

Boundary related errors
  • Numeric boundaries
  • Equality as a boundary
  • Boundaries on numerosity
  • Boundaries in space
  • Boundaries in time
  • Boundaries in loops
  • Boundaries in memory
  • Boundaries within data structures
  • Hardware-related boundaries
  • Invisible boundaries
  • Calculation errors
  • Outdated constants
Calculation Errors
  • Impossible parentheses
  • Wrong order of operators
  • Bad underlying function
  • Overflow and underflow
  • Truncation and roundoff error
  • Confusion about the representation of the data
  • Incorrect conversion from one data representation to another
  • Wrong formula
  • Incorrect approximation
Initial and Later states
  • Failure to set a data item to 0
  • Failure to initialize a loop-control variable
  • Failure to initialize (or reinitialize) a pointer
  • Failure to clear a string
  • Failure to initialize (or reinitialize) registers
  • Failure to clear a flag
  • Data were supposed to be initialized elsewhere
  • Failure to reinitialize
  • Assumption that data were not reinitialized
  • Confusion between static and dynamic storage
  • Data modification by side-effect
  • Incorrect initialization
  • Reliance on tools the customer may not have or understand