Code review
- Setup environment
- Detect an invalid patch URL
- Detect invalid repository information
- Detect invalid patch format
- Detect a non-applicable patch
- Detect invalid PHP syntax
- Detect a review run failure
- Detect coder flags
Ensure that your code follows the Drupal standard and passes a coder review.
- Complete coder review with all passed
3 minor(s), 1 critical(s), and 6 normal(s)
Non-pass
| Test name | Minor | Critical | Normal |
nodeasblock.install | 2 | 0 | 2 |
| Message | Group | Filename | Line | Function | Status |
| There should be no trailing spaces | Other | nodeasblock.install | 5 | N/A |  |
| Use sentence case, not title case, for end-user strings. (Wikipedia) | Other | nodeasblock.install | 18 | N/A |  |
| Function summaries should be one line only. (Drupal Docs) | Other | nodeasblock.install | 34 | N/A |  |
| There should be no trailing spaces | Other | nodeasblock.install | 35 | N/A |  |
|
nodeasblock.module | 0 | 1 | 3 |
| Message | Group | Filename | Line | Function | Status |
| Function documentation should be less than 80 characters per line. | Other | nodeasblock.module | 15 | N/A |  |
| Function summaries should be one line only. (Drupal Docs) | Other | nodeasblock.module | 20 | N/A |  |
| Potential problem: drupal_set_title() only accepts filtered text, be sure to use check_plain(), filter_xss() or similar to ensure your $variable is fully sanitized. | Other | nodeasblock.module | 208 | N/A |  |
| The $text argument to l() should be enclosed within t() so that it is translatable. | Other | nodeasblock.module | 376 | N/A |  |
|
nodeasblock.tpl.php | 1 | 0 | 1 |
| Message | Group | Filename | Line | Function | Status |
| @file description should be on the following line (Drupal Docs) | Other | nodeasblock.tpl.php | 4 | N/A |  |
| the final ?> should be omitted from all code files | Other | nodeasblock.tpl.php | 16 | N/A |  |
|
All
| Test name | Minor | Critical | Normal |
nodeasblock.install | 2 | 0 | 2 |
| Message | Group | Filename | Line | Function | Status |
| There should be no trailing spaces | Other | nodeasblock.install | 5 | N/A |  |
| Use sentence case, not title case, for end-user strings. (Wikipedia) | Other | nodeasblock.install | 18 | N/A |  |
| Function summaries should be one line only. (Drupal Docs) | Other | nodeasblock.install | 34 | N/A |  |
| There should be no trailing spaces | Other | nodeasblock.install | 35 | N/A |  |
|
nodeasblock.module | 0 | 1 | 3 |
| Message | Group | Filename | Line | Function | Status |
| Function documentation should be less than 80 characters per line. | Other | nodeasblock.module | 15 | N/A |  |
| Function summaries should be one line only. (Drupal Docs) | Other | nodeasblock.module | 20 | N/A |  |
| Potential problem: drupal_set_title() only accepts filtered text, be sure to use check_plain(), filter_xss() or similar to ensure your $variable is fully sanitized. | Other | nodeasblock.module | 208 | N/A |  |
| The $text argument to l() should be enclosed within t() so that it is translatable. | Other | nodeasblock.module | 376 | N/A |  |
|
nodeasblock.tpl.php | 1 | 0 | 1 |
| Message | Group | Filename | Line | Function | Status |
| @file description should be on the following line (Drupal Docs) | Other | nodeasblock.tpl.php | 4 | N/A |  |
| the final ?> should be omitted from all code files | Other | nodeasblock.tpl.php | 16 | N/A |  |
|