Tool to find unused methods?
am 03.10.2007 23:03:38 von MingHi folks,
Is there a handy tool to find which methods are not used at all in a
php project?
Thanks,
Hi folks,
Is there a handy tool to find which methods are not used at all in a
php project?
Thanks,
On Wed, 03 Oct 2007 23:03:38 +0200, Ming
> Hi folks,
>
> Is there a handy tool to find which methods are not used at all in a
> php project?
xdebug can generate a report about unused lines on a specific request:
http://xdebug.org/docs/code_coverage
--
Rik Wasmus
"Ming"
news:1191445418.652962.4150@d55g2000hsg.googlegroups.com...
> Hi folks,
>
> Is there a handy tool to find which methods are not used at all in a
> php project?
Zend Studio.
http://www.epinions.com/content_290447527556
It's free for evaluation for a few weeks, and then costs about $100 - $300
for enterprise edition.
I tried the "Analyze Code" feature on the Tools menu, and it was waaay cool.
One of the things it tagged was about a million times where I created a
variable, but never used it.
I'm pretty sure it does the same for methods (functions).