CodeIgniter Forums
PHP static analysis tool - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: PHP static analysis tool (/showthread.php?tid=25117)



PHP static analysis tool - El Forum - 12-01-2009

[eluser]tchule[/eluser]
Hello,

Just a message to say that i've worked on a little tool to do some static code analysis on a PHP project.

If some people have some time to lose, you can have a look here :
http://developer.spikesource.com/projects/phpcheckstyle

The project is similar (but less advanced than) PHP_CodeSniffer but the idea is to have something very easy to use.

It can also count the number of lines of codes and comments in the project.

It have been tested to work with Hudson and some java plugins (Violations and JavaNCSS).

Feel free to make some comment.


PHP static analysis tool - El Forum - 12-01-2009

[eluser]jedd[/eluser]
Hey tchule - looks like a really neat utility. I've used ohcount for summaries of code in the past, but never a style checker per se (mostly because my style borders on unique Smile

SCM on spike appears to be down (or at least slow enough to appear to be down).


PHP static analysis tool - El Forum - 12-01-2009

[eluser]tchule[/eluser]
Yes, the SCM is down I am not a admin of the forge but I have asked for an intervention.

If you want to participate don't hesitate to use their forum or to send me directly some patches until the SCM is restored.

Tchule.