473,569 Members | 2,791 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.d fn.de
Nov 21 '05 #1
2 971
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.d fn.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
3204
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 "huge" Indy is both as a project, in support, development, and use. But Indy is new to the .net world. Indy is a HUGE library implementing over 120...
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 for those methods which are not called in any of my assemblies. 1) I want to remove all methods (either private,
9
3178
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
1728
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
4152
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 suggestions there? Google didnt help me much :/ Thanks in advance
8
12228
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
1206
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
3355
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
1577
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 (it doesn't have to check, that ClassA::funX is used somewhere, but ClassB::funX is not used anywhere, so we can delete only ClassB::funX). Thanks...
0
7693
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7605
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8118
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
6277
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5217
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3631
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2105
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 we have to send another system
1
1207
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
933
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.