General plugins (Local) ::: local_codechecker
Maintained by One poor developer...Eloy Lafuente (stronk7), Tim at Lone Pine Koala SanctuaryTim Hunt, Víctor Déniz Falcón, Sara Arjona Téllez
A tool for developers that helps them follow Moodle's coding style.

Code-checker 2011040400

Moodle 2.0, 2.1
Released: Monday, April 2, 2012, 9:16 PM
This Moodle plugin uses the Pear CodeSniffer library to check that code follows
the Moodle coding guidelines

It was created by developers at the Open University, including Sam Marshall,
Tim Hunt and Jenny Gray. It is now maintained by Moodle HQ

To install using git, type this command in the root of your Moodle install
git clone git:// local/codechecker
Then add /local/codechecker to your git ignore.

Alternatively, download the zip from
unzip it into the local folder, and then rename the new folder to codechecker.

After you have installed this local plugin , you should see a new option
Site administration -> Development -> Code checker in the settings block.

We hope you find this tool useful. Please feel free to enhance it.

Tip for Eclipse users:

If if you use Eclipse for development, you might want to install the
PHP CodeSniffer plugin (
1. Create a new "CodeSniffer standard" in the preferences page.
2. Point it at the moodle directory inside the codechecker folder.
3. Thank Michael Aherne from University of Strathclyde who worked this out!

Version information

Version build number
Can be updated to
2012030100, 2.2.1 (2012040800), 2.2.2 (2012061600), 2.3.0 (2014021700)
MD5 Sum
Supported software
Moodle 2.1, Moodle 2.0, PHP 5.3
  • Latest release for Moodle 2.0
  • Latest release for Moodle 2.1

Version control information

Version control system (VCS)
VCS repository URL
VCS branch

Default installation instructions for plugins of the type General plugins (Local)

  1. Make sure you have all the required versions.
  2. Download and unpack the module.
  3. Place the folder in the "local" subdirectory.
  4. Visit to finish the installation.