Old modules and plugins

Note: This database has been replaced by the Moodle Plugins Directory.

Page: () 1 ... 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 ... 783 ()

Other: Code checker

Type: Other
Requires: Moodle 2.0 or later
Status: Contributed
Maintainer(s): Tim Hunt

This is a simple little script written by sam marshal and others at the Open University to help ensure that your code follows some of the basic rules from the Moodle coding style guidelines.

At the moment, the checks are very basic (they mostly just use simple regular expressions) so treat the output from this script as suggestions for bits of code you may wish to review, not as a definitive list of problems you must fix.

To install

Download the zip (or clone using git). Rename the folder you get to <tt>codechecker</tt>, and copy it into the <tt>local</tt> folder of your Moodle install.

You should then find a new entry Site administration -> Development -> Code checker in the settings block.

New version

https://github.com/timhunt/moodle-local_codechecker/tree/experiment - the version uses the more sophisticated PHP CodeSniffer library to do better checks.



Record added by Tim Hunt - Tuesday, 29 March 2011, 3:11 PM
Last modified - Tuesday, 5 April 2011, 2:14 AM
Page: () 1 ... 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 ... 783 ()