Code Review
Project page: Code Review
Documentation: http://drupal.org/node/144172
The Code Review module (aka Coder) is a very helpful developer module that assists with code review and upgrading from Drupal API version to the next.
There is built-in support for the following code reviews:
- Drupal Coding Standards
- Drupal Commenting Standards
- Drupal SQL Standards
- Some basic security checks
- Converting 5.x modules to 6.x, 4.7.x modules to 5.x 4.6.x modules to 4.7.x (basic)
A user interface is provided by the Coder module, so you can choose which modules and themes you want to review, and what reviews you want to run. In the Drupal 6 version, it's now also possible to run Coder on patch files. This can be done by providing a URL to the patch or pasting in the patch text. This requires the patch to be in a unified diff format, which is the accepted standard for Drupal patches.
Coder now also supports Drush (the Drupal Shell). Just install Drush and Coder, and type "drush help coder" for the command line syntax. Using this utility you can run Coder from the command prompt, and can also set up automatic code reviews of your modules using cron.
For those of you who need to add your own custom reviews, Coder supports a plug-in extensible hook system so contributed modules can define additional review standards. More details on how to write rules for Coder can be found on the documentation page: http://drupal.org/node/144172
The Coder module was originally developed by Doug Green and is still the lead maintainer on the project. He is a excellent developer and you should really check out his site and other work.


