Search code examples
c#visual-studio-2013code-metrics

how to find most used classes in Visual Studio solution


Who knows how to find the most used classes (written/implemented, not referenced) in a Visual Studio solution? The solution contains a lot of projects. By 'most used' I mean the largest number of member invocations.

Thank you.


Solution

  • There are certain tools like NDepend which my help you found how much classes are coupled together. Depending on Visual Studio version (ex. 2013 Ultimate) you can use Analyze tool to Calculate code metrics and see class coupling. Personally I would go for NDpened as it gives you a lot of feedback about your solution and dependencies.