From the course: Agile Software Development: Code Quality

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Visualizing code coverage with NDepend

Visualizing code coverage with NDepend - SonarQube Tutorial

From the course: Agile Software Development: Code Quality

Start my 1-month free trial

Visualizing code coverage with NDepend

- [Instructor] Let's look at different ways to visualize code coverage data using the NDepend extension for Visual Studio 2017. NDepend has a lot of of different capabilities, which we're going to completely gloss over. Some which you might want to dig into on your own, is that it computes the cyclomatic complexity metric, and it will give your .net solution an overall letter grade to help you determine how healthy your project is. Navigate to where you cloned the Nancy project, and open Nancy.sln in Visual Studio 2017. After the solution finishes loading, click on NDepend, and then attach new Ndepend project to current VS solution. By default, NDepend ignores test code. Let's remove the dash test filter to have them included. Click the button with the play icon that says analyze 38.NET assemblies. This kicks off NDepend's analysis of all of the code in the solution. This might take a couple of minutes. When it's done, two things are going to pop up. In your web browser, a web version…

Contents