Classes and Methods

Is there any tool or extension for creating a report that contains data about classes and methods? For example, show a summary of all the classes and methods included in each class, with a count of both.

+7
source share
2 answers

I found it in Visual Studio. go to next menu

Analysis> Calculate code metrics to solve

It will display the "Code Metric Result" window. In this window, select export to excel, and you will get a report with all the projects, namespaces, classes, methods and some other details about them in the Excel file.

+8
source

NDepend allows you to do all kinds of queries about your code. I can’t say that I used it myself, but I would be surprised if he did not allow you to create reports.


See reports created by NDepend here .

See explanations about NDepend code metrics here .

You can also get all these results both in Visual Studio 2017, 2015, 2013, 2012, 2010, and in Visual Studio Team Services .

+3
source

All Articles