Page 1 of 1

Software metrics tool for PHP??

Posted: Sun Dec 05, 2004 4:09 pm
by Arabrab
Hello!

Can someone please recommend a software metrics tool for PHP?
I'm looking for something that would do simple Source Lines of Code (SLOC) to more complex measures such as Cyclomatic Complexity measurements, etc.

Please let me know any suggestions you may have - even if you only know of a simple tool. Many thanks!!

Posted: Mon Dec 06, 2004 10:34 am
by scorphus
[url=http://www.dwheeler.com/sloccount/]SLOCCount[/url] web page wrote: (...) a set of tools for counting physical Source Lines of Code (SLOC) in a large number of languages of a potentially large set of programs. (...) SLOCCount is released under the General Public License (GPL), so you can immediately download it -- at no cost! -- and you can modify it to suit your needs. (...) SLOCCount can automatically identify and measure the following languages (common extensions for the language are listed in parentheses):
(...)
21. PHP (.php, .php[3456], .inc) as of version 2.05
(...)
-- Scorphus

Thanks

Posted: Mon Dec 06, 2004 2:33 pm
by Arabrab
Thanks for your quick reply, I'll check it out.

Same thing much later

Posted: Thu Mar 09, 2006 5:27 pm
by ftrotter
I too am looking for some tools to perform static software metrics on php. I am interested in a clyclomatic complexity calculator for php, amoung other things...

Regards,
-FT