473,503 Members | 1,700 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Need tool that shows unused methods

I want to make some cleanup in my application. Is there any tool that
would show me methods that are NOT used in my solution ?

--
Adam Nowotny
JID: da**@chrome.pl
GnuPG key 0x42D56D98 at hkp://blackhole.pca.dfn.de
Nov 21 '05 #1
2 965
Hi,

FX Cop
http://www.gotdotnet.com/team/fxcop/
Ken
----------------------
"Adam Nowotny" <ad**@logosoft.pl> wrote in message
news:41********@news.home.net.pl...
I want to make some cleanup in my application. Is there any tool that
would show me methods that are NOT used in my solution ?

--
Adam Nowotny
JID: da**@chrome.pl
GnuPG key 0x42D56D98 at hkp://blackhole.pca.dfn.de
Nov 21 '05 #2
Hi Adam
You can use the .net profiler. This is a tool that allow you to profile
running .net application. What you can do is to attach the profiler to you
application try all possible scenario, and then inspect the (Call tree).
this show all the functions called by your application , you can use that
to compare to list of function that are in your application to check what
was used and what was not
check the link
http://nprof.sourceforge.net/Site/SiteHomeNews.html
hope this helps
Mohamed Mahfouz
MEA Developer Support Center
ITworx on behalf of Microsoft EMEA GTSC

Nov 21 '05 #3

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

Similar topics

48
3181
by: Chad Z. Hower aka Kudzu | last post by:
A few of you may recognize me from the recent posts I have made about Indy <http://www.indyproject.org/indy.html> Those of you coming to .net from the Delphi world know truly how unique and...
5
2088
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
3171
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
1727
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
4144
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
12217
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
1200
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
3351
by: Ming | last post by:
Hi folks, Is there a handy tool to find which methods are not used at all in a php project? Thanks,
2
1569
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
7201
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7328
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6988
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5578
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5011
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...
0
4672
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3166
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1510
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
734
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.