Table C58 C++ Code Review Checklist PROGRAM NAME AND #: Purpose: To guide you in conducting an effective code review. General: As you complete each review step, check that item in the space to the left. Complete the checklist for one program unit before you start to review the next. __ Complete Verify that the code covers all the design. __ Includes Verify that includes are complete __ Initialization: Check variable and parameter initialization: __ - at program initiation __ - at start of every loop __ - at function/procedure entry __ Calls: Check function call formats: __ - pointers __ - parameters __ - use of '&' __ Names: Check name spelling and use: __ - is it consistent? __ - is it within declared scope? __ - do all structures and classes use '.' reference? __ Strings: Check that all strings are __ - identified by pointers and __ - terminated in NULL. __ Pointers: Check that __ - pointers are initialized NULL __ - pointers are deleted only after new, and __ - new pointers are always deleted after use. __ Output Format: Check the output format: __ - line stepping is proper __ - spacing is proper __ {} Pairs: Ensure that the {} are proper and matched __ Logic Operators: __ - Verify the proper use of ==, =, ||, and so on. __ -Check every logic function for proper (). __ Line by Line Check:Check every LOC for __ - instruction syntax and __ - proper punctuation. __ Standards: Ensure that the code conforms to the coding standards. __ File Open and Close: Verify that all files are __ - properly declared, __ - opened, and __ - closed. Date Performed: Participants: