About PureCoverage API functions

Use the PureCoverage application programming interface (API) for fine-grained control over the collection and management of PureCoverage data. The API functions let you control what part of your code has data collected, when the data is saved, and where it is saved.

By default, PureCoverage collects data from the beginning of the program through the exit of the program, and saves it at the exit of the program regardless of whether the program completes successfully. The API functions enable you to change this behavior to suit your needs.

The PureCoverage API includes the following functions:

purecov_set_filename
purecov_save_data

purecov_clear_data

purecov_disable save

purecov_enable_save

purecov_is_running

PureCoverage can also collect coverage data for Java applications running on a Solaris SPARC 32-bit Java virtual machine (JVM). For API methods that can be used with Java code, click