Tools to determine what Procedures/Functions are never used?

Our IT shop is using Visual Studio 2013 Professional edition. Is there any kind of tool within VS 2013 that can be used to determine what Sub-Procedures/Functions aren't used?

Thanks!
BlakeMcKennaAsked:
Who is Participating?
 
Éric MoreauSenior .Net ConsultantCommented:
MZ-Tools has a dead code reviewer in their list of features: http://www.mztools.com/v7/features.aspx

I mainly use this tool for the tab order feature.
0
 
Fernando SotoRetiredCommented:
Hi BlakeMcKenna;

There is a tool but it comes with Visual Studio Ultimate only called Dependency Graphs. That said Visual Studio does have an indication whether the "Sub-Procedures/Functions aren't used". Above each Class, Sub, Function / Methods you will see something like the following, "3 references", which states that the Class/Sub/Function is called from three different locations. If you see the following "0 references" this means that no calls are using it. Be careful with this one because Event Handlers such as Button_Click will show "0 references" but are being called by the system so unless you code calls it, it will be, "0 references".
0
 
Éric MoreauSenior .Net ConsultantCommented:
>>That said Visual Studio does have an indication whether the "Sub-Procedures/Functions aren't used"

BlakeMcKenna is using the Pro version of VS and the code-lens are only available in higher editions.
0
 
BlakeMcKennaAuthor Commented:
So I'm guessing unless I have the Ultimate Edition, there really isn't much I can do to check for this?
0
 
BlakeMcKennaAuthor Commented:
Thanks Eric...I'll take a look at this tool....
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.