0

Is there any way to know the most used methods from external libraries within a C# project / solution? Right now, i'm using Visual Studio 2008 (but ansers for newer versions are ok).

Just need a simple listing like:

Namespace    Class     Method      Times used
---------------------------------------------
Namespace1   Class1    MethodA     10
Namespace1   Class2    MethodA     9
Namespace2   Class2    MethodB     7

Maybe there is no easy way, ideas for doing it programmatically are welcomed.

Thanks!

cag
  • 129
  • 2
  • 5
  • 3
    Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it. – Liam Feb 06 '14 at 11:05
  • 2
    Then again this is something that might be covered inside Visual Studio so it's not necessarily asking for a tool. Help with IDE's is on-topic here. – Jeroen Vannevel Feb 06 '14 at 11:09

1 Answers1

3

The commercial application NDepend can do that (and much more of course).

Thomas Weller
  • 55,411
  • 20
  • 125
  • 222
  • I've been trying NDepend. Shows a 'Third-Party Usage' chart with the global count of third party methods, types, assemblies and namespaces. Can I see, somewhere else, more detailed statistics? Like in my example. Thanks. – cag Feb 06 '14 at 16:45