Report scripts allow you to format and process the data that PureCoverage has saved in .pcv data files. PureCoverage includes a set of report scripts that you can:
Run as-is
Modify for your environment
Use as a starting-point for writing your own custom report scripts
PureCoverage includes the following report scripts:
Report Name |
Script |
Description |
coverage data | ||
Reports files with low coverage | ||
Mails a low coverage report to the last user to modify insufficiently covered files | ||
Summarizes coverage data in spreadsheet format | ||
Lists files for which coverage has changed | ||
Compares coverage data from two builds of an application | ||
Annotates a copy of the source file with coverage data | ||
Annotates the output of diff for modified source code | ||
Identifies the subset of tests required to exercise modified source code |
The scripts are located in the <purecovhome>/scripts directory. You can add the directory to your path, or install links to the scripts from a location such as /usr/local/bin. See the Installing and Getting Started manual for details about installing links. The scripts are written in Perl, a basic version of which is included with PureCoverage in the <purecovhome>/PERL directory.
All scripts accept the -force-merge and -apply-adjustments options. For general information about options, click
Note:
These scripts do not support .cfy data files. Tools provided by Rational XDE or PureCoverage for Windows (the Diff tool, for example) can provide some of the same information.