NDepend has some nice tools for visualizing code coverage information, and code coverage data can significantly improve the information that NDepend reports on your project. Learn how to send your code coverage results to NDepend so that it can help you gain greater insight into how your code coverage affects the overall quality of your project’s code in this video.
- [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. …
Author
Released
3/28/2019- Code quality metrics and tools
- Exploring code complexity
- Adjusting complexity thresholds
- Analyzing hotspots and churn
- Visualizing code coverage
- Finding duplication
- Securing dependencies
- Maintaining a consistent coding style
Skill Level Intermediate
Duration
Views
Related Courses
-
Agile Software Development
with Shashi Shekhar1h 53m Beginner -
Agile Software Development: Refactoring
with Richard Kasperowski1h 31m Intermediate
-
Introduction
-
1. Code Quality
-
What is code quality?1m 28s
-
-
2. Complexity
-
What is complexity?2m 39s
-
Adjust thresholds3m 36s
-
-
3. Hotspots and Churn
-
What are hotspots and churn?2m 22s
-
-
4. Code Coverage
-
What is code coverage?2m 56s
-
Windows setup2m 9s
-
macOS X setup3m 19s
-
-
5. Duplication
-
What is duplication?2m 10s
-
-
6. Securing Your Dependencies
-
Why secure dependencies?1m 51s
-
Setting up Snyk1m 24s
-
-
7. Consistent Coding Style
-
Why consistent coding style?1m 40s
-
Setting up Flask2m 1s
-
-
Conclusion
-
Next steps36s
-
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.
CancelTake notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.
Share this video
Embed this video
Video: Visualizing code coverage with NDepend