News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Francesco Montefoschi's Blog:
PHPADD abandoned docblocks detector
December 14, 2010 @ 13:34:34

Francesco Montefoschi has a recent post to his blog looking at a tool you could use to ensure the quality of your code comments - PHPADD, the abandoned docblock detector.

PHPADD can analyze a directory with PHP source code and detect (for each file, for each class, for each method) if the parameters in the function declaration are compatible with the parameters found in the docblock, reporting the outdated ones. This can be easily integrated in your build script and the result can be published in build result. Using Hudson, you just need HTML Publisher plugin.

The include the (super simple) installation instructions for pulling it in via the PEAR installer and running it on your codebase. There's even some sample output included. If you're interested in the source, check out (or fork) the latest code on github.

0 comments voice your opinion now!
phpadd abandoned docblock comment detector github


blog comments powered by Disqus

Similar Posts

David Coallier's Blog: PEAR is using jQuery et new features

Greg Beaver's Blog: pecl/docblock version 0.2.0 released

Davey Shafik's Blog: Return Values

Brandon Savage's Blog: Where Comments Are Useful

Anthony Ferrara's Blog: To Comment Or Not To Comment - A Tale Of Two Stories


Community Events

Don't see your event here?
Let us know!


voicesoftheelephpant opinion api community wordpress interview unittest extension middleware conference introduction podcast release laravel laravel5 development library language series framework

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework