Checkcode

From ClaroDevel

Table of contents

check code

is a tools writed in php using pear and based on the Zend Analyser (provided with zend Studio)

features

list mode

  • parse local repository of Claroline or PEAR
  • list directory and file

check file mode

  • output source with highligthing based on extension

if it's PHP

  • parse code
  • Analyse code

if it's XML

  • compute little stats

future features

  • Log usage
  • use better cache_lite (http://pear.php.net/package/Cache_Lite)

wishlist

  • link to doc for claroline and pear.
  • mail report to last cvs commiter off script
  • ignore some zend analyser hit
  • validate html, css and xml

comments

Christian

It would be good if the tool would check all files in a package directory at once.


Dan Scott

Very cool. The warnings seem reasonable enough. It seems to have
become confused by
http://130.104.58.207/~moosh/checkcode/?script=/cvs.php.net/pear/File_MARC/MARC/Data_Field.php
however; does it not like "array $subfields = null" as a parameter in
a function signature?