473,385 Members | 1,693 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Tool to find unused methods?

Hi folks,

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

Thanks,

Oct 3 '07 #1
2 3347
On Wed, 03 Oct 2007 23:03:38 +0200, Ming <mi*******@gmail.comwrote:
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
Oct 4 '07 #2
"Ming" <mi*******@gmail.comwrote in message
news:11********************@d55g2000hsg.googlegrou ps.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).

Oct 5 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Mike Thomas | last post by:
Access 2000 - Is there a 3rd party tool available, or perhaps some method built into Access 2000, which could isolate unused Access reports, queries, forms, etc? I have a 5 year old app which...
2
by: Venkat | last post by:
Hi, My application is splitted into more than one assembly. And I want to clean up the methods which are not called or not used among any of the assemblies.
5
by: Venkat | last post by:
Hi, My application is splitted into more than one assembly. And I want to clean up the methods which are not called or not used among any of the assemblies. And also I want to remove the code...
9
by: ThazKool | last post by:
I am just wondering if all the methods that are never called upon during a programs execution are removed when optimizing. For example you have: class FooA { void a(); ... void z(); }
9
by: Martijn Mulder | last post by:
A nice feature of the csc.exe compiler is that it warns you if a variable is declared but never used. But unused methods are not flagged, even when the warning level is set to 4.
6
by: Frank Neuhaus | last post by:
Hi sorry - I guess this is slightly OT but still ;) Iam looking for some tool (win32 please) that can find unused member functions / member variables in my project. Does anyone have any...
8
by: Frank Rizzo | last post by:
Is there a setting in VS2005 to quickly locate methods that are unused (maybe through compiler warnings)? If not, any utilities out there that do that? Thanks
0
by: Fabian Wein | last post by:
Hi, I hope this is not too off-topic! Is there a free tool that scans for unused methods? Maybe a (gnu) linker option? Thanks, Fabian
2
by: Julek | last post by:
Hi, is there a tool which parses cpp and h files, finds unused things, and deletes them from code? For example unused methods, enums, enum values, defines... It doesn't have to be sophisticated...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.