Why Review Code
Why Review Code
Page 1 of 4
Authors need editors to catch mistakes. It is human nature that one cannot adequately
proof-read one's own work. Authors of software need the same assistance as authors of
novels to achieve the goals of the software organization.
The purposes for code review are as diverse as the environments in which they are
conducted. However, almost all code reviews have these goals in common:
Code review takes place during all stages of development, except with small projects such
as demos and experiments that are designed to be written quickly and probably thrown
away. Even during the final stages of development when everyone is trying to meet a
deadline, code reviews greatly reduce the number of regression bugs and ensure that
company coding practices are not abandoned.
Our code review software saves time in almost every aspect of the code review process.
A code reviewer will look for common bugs, especially those that are notoriously difficult
to find after-the-fact. These include proper thread synchronization, dealing with error
conditions correctly and completely, correct accounting for reference-counting and other
potential resource leaks, security problems, and ensuring that unit tests cover all code
paths, error cases, and limit cases.
in inspections.
--Software Practice and Experience,
22(2):173-182, Feb. 1992.
Ensuring maintainability
The expense of developing software is not just in its initial creation but in the ability of
developers to use and modify existing code in the future. Software is notoriously difficult
and expensive to maintain. This is especially true when a developer leaves a project and a
new developer arrives, but it is even true with a single developer looking back on code he
wrote six months ago.
Code review can be expensive to implement if the participants don't have the right tools.
Our code review software saves time in almost every aspect of the code review process.