1.88.2.32 (checked in on 2008/03/29 at 23:55:19 by douggreen)
Developer Module that assists with code review and version upgrade that supports a plug-in extensible hook system so contributed modules can define additional review standards.
Built-in support for:
| Name | Description |
|---|---|
| SEVERITY_CRITICAL | |
| SEVERITY_MINOR | |
| SEVERITY_NORMAL |
| Name | Description |
|---|---|
| coder_admin_settings | Implementation of settings page for Drupal 5. |
| coder_cron | Implementation of hook_cron(). |
| coder_form_alter | Implementation of hook_form_alter(). |
| coder_help | Implementation of hook_help(). |
| coder_menu | Implementation of hook_menu(). |
| coder_page | Implementation of code review page. |
| coder_page_form | Implementation of hook_form(). |
| coder_page_form_submit | Implementation of hook_submit(). |
| coder_perm | Implementation of hook_perm(). |
| coder_reviews | Implementation of hook_reviews(). |
| coder_settings_form_submit | Callback function for settings page in Drupal 5. |
| coder_theme | Implementation of hook_theme(). |
| do_coder_review | Perform code review for a review array. |
| do_coder_reviews | Perform batch coder reviews for multiple files. |
| do_coder_review_callback | Allow for an arbitrary callback function to perform a review. |
| do_coder_review_grep | Search for a string. |
| do_coder_review_grep_invert | Search for potentially missing string. |
| do_coder_review_regex | Implements do_coder_review_* for regex match. |
| theme_coder | Format coder form and results. |
| theme_coder_warning | Format a coder warning to be included in results. |
| theme_drupalapi | Format link to Drupal API. |
| theme_phpapi | Format link to PHP documentation. |
| _coder_default_reviews | Helper functions for settings form. |
| _coder_error | Builds an error message based on the rule that failed and other information. |
| _coder_error_msg | Does the actual saving of error to results array and generating its unique numeric id. |
| _coder_get_default_settings | Returns a active settings array for coder. |
| _coder_is_drupal_core | Return true if $module is in Drupal core. |
| _coder_modified | Return last modification timestamp of coder and all of its dependencies. |
| _coder_page_form_includes | Add results to form array for display on form page. |
| _coder_read_and_parse_file | Parse and read a file into a format easy to validate. |
| _coder_reviews | Get all of the code review modules, including contributions. |
| _coder_search_string | Search for a string. |
| _coder_settings_array | Generate settings array for either modules or themes. |
| _coder_settings_form | Build settings form API array for coder. |
| _coder_severity | Return the integer severity magic number for a string severity. |
| _coder_severity_name | Return string severity for a given error. |