Tech moves fast! Stay ahead of the curve with Techopedia!
Join nearly 200,000 subscribers who receive actionable tech insights from Techopedia.
A code review is the process of examining written code with the purpose of highlighting mistakes in order to learn from them.
Code review can be static or dynamic. When code is analyzed for mistakes and syntax errors, it is termed as a static code review. When code is executed to compare the actual results with the expected results, it is termed as a dynamic code review.
The code may have syntax errors, like an undefined variable or improper keyword usage, and logical errors, where the proper syntax is used but yields incorrect output due to a flaw in the algorithm. Syntax errors can be removed using a static code review, while logical errors can be removed only with a dynamic code review, as the mistake in the code is not known to the developer at compilation time.
Code review are (should) be carried out regularly during the code design phase. An audit meeting is heldto determine code reliability and, if possible, suggest better alternatives to the existing code. Code is generally reviewed for security, maintainability, reliability, upgradability, flexibility, integration capability, and other features during the code review process.