Selecting PowerCov Settings for All Programs (Coverage Monitoring)

Related Topics

 

1.        Open the Default Settings dialog box.

2.        Select the PowerCov tab.

3.        Select whether to use Line or Function as the default coverage level for all PureCoverage sessions.

4.        For native-compiled (unmanaged) code, select an instrumentation mode:

§    To use inclusive instrumentation, select All Modules.

Select whether to exclude all modules in the Windows directories, for all PureCoverage sessions. By default, PureCoverage excludes these modules instead of using the specified default coverage level, to improve instrumentation and runtime performance of the program during monitoring.

Click the Configure... button following All Modules to specify how to record data for specific modules, for all PureCoverage sessions.

§    To use selective instrumentation, select Selected Modules, then click the associated Configure... button to specify the modules to instrument.

5.        For Java and .NET managed code, inclusive instrumentation is the default. To use selective instrumentation for Java/Managed code, click Configure... to specify the classes to monitor.

Notes:

§                  PureCoverage uses debug line information to collect line-by-line coverage data. If this debug data is not available for a module, PureCoverage excludes that module. For native-compiled (unmanaged) programs, PureCoverage also requires relocation data to collect data at line or function level. If relocation data is not available for a module, PureCoverage excludes the module.

§                  By default, PureCoverage excludes certain modules in the Windows directories. Some of these modules, known as system modules, are always excluded and you cannot change their coverage levels.

§                  For changes to the coverage level to take effect, you must rerun the program.

§                  PureCoverage saves settings for all programs in the Coveragew_pure.ini file. These settings apply for all future runs of all programs. To override a default setting for a specific program, use the Settings for <exename> dialog box.

(C) Copyright IBM Corporation 1993, 2010.