Rerunning your program under PureCoverage

PureCoverage is most useful when you collect coverage data regularly throughout the development cycle.

Rerun your program under PureCoverage:

Rerunning an unmodified program

By default, PureCoverage merges the results of multiple runs of the same program to provide cumulative information about program coverage. (You don't need to recompile if you haven't changed your code.)

You can, however, keep the results of each run separate. To do this, use the -counts-file option in the command line. PureCoverage writes data to a separate .pcv data file whenever you modify the code. If you have written data to separate coverage files, you can:

Rerunning a modified program

To rerun a program after modifying it, you must again compile and link with PureCoverage to collect coverage data.

By default, PureCoverage writes the new coverage data in a new .pcv file that you can merge (-merge option) or compare (pc_diff report script) with previous runs.

Alternatively, you can use the -force-merge option to merge the data automatically with an older .pcv file.

 

What else can you do?