Tool to find unused methods?

Tool to find unused methods?

am 03.10.2007 23:03:38 von Ming

Hi folks,

Is there a handy tool to find which methods are not used at all in a
php project?

Thanks,

Re: Tool to find unused methods?

am 04.10.2007 07:09:55 von luiheidsgoeroe

On Wed, 03 Oct 2007 23:03:38 +0200, Ming wrote:

> 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

Re: Tool to find unused methods?

am 04.10.2007 19:03:20 von Bucky Kaufman

"Ming" wrote in message
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).