ASP.NET Code Coverage

I recently inherited good-sized projects with approximately 100,000 lines of code and would like to know what code is actually executing. I have found several routines that are not called at all, and am looking for a quick and automatic way to learn the business level to find out how to quickly edit other code.

This is an ASP.NET website with VB.NET code and a business layer.

+3
source share
4 answers

I personally like ReSharper and its Find All Opportunity functionality. There are several additional options, but in essence it can quite quickly find all the places where a specific block is used (function, class, interface).

, " ", , ( ), , . NCover MS Test Visual Studio.

+4

NDepend - , , . . , .

SO .

+3

TestDriven Visual Studio " ".

This will give you some useful statistics about which lines of code are being executed (I used it to analyze how much of the code is being checked by my unit test).

+1
source

There also nCove r - has both a path and a base reach.

+1
source

Source: https://habr.com/ru/post/1732412/


All Articles