Code-checker

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 http://docs.moodle.org/en/Development:Coding_style

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://github.com/moodlehq/moodle-local_codechecker.git local/codechecker
Then add /local/codechecker to your git ignore.

Alternatively, download the zip from
https://github.com/moodlehq/moodle-local_codechecker/zipball/MOODLE_21_STABLE
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 (http://www.phpsrc.org/).
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
2011040400
Can be updated to
2012030100, 2.2.1 (2012040800), 2.2.2 (2012061600), 2.3.0 (2014021700)
Maturity
Unknown
MD5 Sum
ac33059cfdaa74de8a9b74d63eb489fd
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)
GIT
VCS repository URL
VCS branch
MOODLE_21_STABLE

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 http://yoursite.com/admin to finish the installation.