Over the past several months we've been working hard to build the next generation of NCover. We're finally ready to show it off, and we feel confident that you'll love it as much as we do.
So, What's New?
We've reworked how we manage coverage data in NCover, and it has led to performance improvements in many operations, including loading coverage files. It has also finally united the way that NCover and NCover Explorer work, giving a more fluid experience between the applications. With that unification process finally completed, we are able to drive forward with some new features that we're excited to tell you about.
NCover 3 Beta includes Symbol and Branch Point Coverage. It also has two new metrics - Cyclomatic Complexity and Method Coverage.
Cyclomatic Complexity describes the number of independent paths through your methods. It's a great indicator of when you should refactor, and code with a low cyclomatic complexity will help you guarantee that new developers on your teams can get up to speed quickly. You can learn more about Cyclomatic Complexity at Wikipedia.
While method visit coverage previously existed in NCover Explorer, it only worked when you had symbol points for a method. With our new implementation, you can guarantee that methods with no symbol points, including C# 3 automatic properties, have been tested.
Our team has been dreaming of letting developers see how their coverage has progressed for quite some time, and in NCover 3 our dream comes true. Recording trends is as easy as using the append to trends (//at) flag in NCover. Once you've recorded trends you'll be able to generate html reports with graphs of how your coverage has changed over time, and you'll also be able to see those trends in NCover Explorer.
Improved NCover Explorer
We hated the way that NCover Explorer in NCover 2 would close its tree view every time you reloaded coverage, so we fixed that. Now the tree view dynamically updates itself with your new coverage data and stays open just as it was before the reload. Also, the new NCoverExplorer tree view is able to display branch coverage and cyclomatic complexity in addition to symbol and method visit coverage that it supported in version 2.
The statistics panel has been improved to show you more statistics. We now include various statistics on whatever item you have selected in the tree view, and if you have trend data loaded we show you a trends graph.
Improved HTML Report
Trends are available in the html report, too. We have a great graph that works across all major browsers and lets you see just how well your coverage is improving.
We felt like it was important to help you strategically attack uncovered code, so we have replaced the old html report index with a new summary report that tells you the 5 worst coverage offenders in several different categories.
Since coverage is ultimately about digging in and writing tests for uncovered code blocks, we wanted to give you a way to find the blocks to attack at a glance. That's why we created the Uncovered Code Report. The Uncovered Code Report shows you your 25 blocks of uncovered code so that you'll always have a good place to start improving your coverage.