home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / autopsp.zip / CHK2.DAT < prev    next >
Text File  |  1994-01-21  |  1KB  |  54 lines

  1.  
  2. Completeness:
  3.     * Does the code implement all functions described in the design
  4.  
  5. Includes:
  6.     * Are all included files available and properly scoped
  7.  
  8. Initialization:
  9.     * Are all variable initialized at program start
  10.     * ... at the start of all loops?
  11.     * ... at the entry of all methods?
  12.  
  13. Calls:
  14.     * Are functions being called correctly?
  15.     * Are pointers being employed properly?
  16.     * Is the address of operator being correctly used?
  17.  
  18. Names:
  19.     * Are names consistent in spelling?
  20.     * Are variables used within their scope?
  21.  
  22. Strings:
  23.     * Are strings being properly initialized?
  24.     * Is termination of strings handled correctly?
  25.  
  26. Pointer:
  27.     * Are pointer initialized to NULL?
  28.     * Is memory properly allocated and deallocated?
  29.  
  30. Output:
  31.     * Have the designs for output been met?
  32.     * Does the output appear consistent and logical?
  33.  
  34. Syntax:
  35.     * Are {} pairs matched?
  36.     * Is == and = being properly used?
  37.     * Do your comparisons and assignments say what you mean?
  38.     * Is your punctuation proper?
  39.  
  40. Files:
  41.     * Ensure that all files are:
  42.        opened.
  43.        checked for open error.
  44.        closed.
  45.  
  46. Standards:
  47.     * Ensure that all coding standards are met.
  48.     * Ensure that the code has been commented.
  49.  
  50.  
  51.  
  52.  
  53.  
  54.