· Code Review is carried out after the module is successfully compiled and all the syntax errors have been eliminated.
· Code Reviews are extremely cost-effective strategies for reduction in coding errors and to produce high quality code.
· Type of Code Review
o Code Walk Through
o Code Inspection
Code Walk Through
· Code walk through is an informal code analysis technique.
· The main objectives of the walk through are to discover the algorithmic and logical errors in the code.
· A few members of the development team are given the code few days before the walk-through meeting to read and understand code.
· Each member selects some test cases and simulates execution of the code by hand
· The members note down their findings to discuss these in a walk-through meeting where the coder of the module is present.
Code Inspection
· The aim of Code Inspection is to discover some common types of errors caused due to improper programming.
· In other words, during Code Inspection the code is examined for the presence of certain kinds of errors.
o For instance, consider the classical error of writing a procedure that modifies a parameter while the calling routine calls that procedure with a constant actual parameter.
o It is more likely that such an error will be discovered by looking for these kinds of mistakes in the code.
· In addition, commitment to coding standards is also checked.