NCover Documentation

Confused about the type of file you’re seeing from NCover? You’re probably not the first. NCover outputs all of its files as XML and/or HTML. File names and extensions might seem misleading. Here’s a summary of Coverage and Report XMLs, as well as a list of all NCover files below.

Coverage Files

Raw coverage data (XML format only) that NCover.Console outputs. These files are either read by NCover.Explorer or are used to generate stand-alone reports. They are not reports themselves. They facilitate reporting.

Report Files

Reorganized coverage data (XML and/or HTML format) that reports on only the items selected by the chosen report type. These files can be viewed in a browser (HTML) or parsed for data extraction when creating custom reports (XML). To parse the XML, see our report file definition: http://docs.ncover.com/kb/ncover-trend-and-report-file-definition/. For all report types, see http://docs.ncover.com/kb/reports-available-in-ncover-classic-and-ncover-complete/.

File Type Extension Purpose More
Project XML .ncproj Saves a project setup for NCover Explorer. See http://docs.ncover.com/how-to/getting-started/.
Settings XML .xml Saves a project setup to be run on the command line by passing the file as an argument to NCover.Console Created from the script helper in NCover Explorer. Select 'NCover Settings' and copy/paste XML into a new file.
Coverage XML .nccov A single run of coverage for a given project. Typically stored in a coverage directory with the project.
Report XML / HTML .xml / .html Formatted coverage numbers for viewing data http://docs.ncover.com/kb/ncover-trend-and-report-file-definition/ & http://docs.ncover.com/kb/reports-available-in-ncover-classic-and-ncover-complete/
Trend XML .trend A library of accumulated coverage on a given project that can show percentage trends over time http://docs.ncover.com/how-to/tracking-code-coverage-trends/
Log XML .log Records all events during a single coverage run. Can be helpful in debugging problems. To generate a log file, use either NCover Explorer or the command line. From the Explorer window, click 'Project Actions' > 'Project Options' > 'Project Settings' > 'Output Options' to generate a log file in the working folder. On the command line, enter the following along with your regular call to NCover: //l [file name] //ll 'Verbose'.

If you still need technical assistance, we can help:

Submit A Support Ticket

Try NCover Free Contact Us Online