Collecting hit-count data in coverage reports

You can create or edit profiling configurations that collect data not only on whether a method or class is covered, but on the number of times it has been exercised. This topic describes how to set this up for an existing profiling configuration, but you can also set this up when you first create the profiling configuration.

To add hit-count data for classes and methods to your coverage reports:
  1. In the Profiling tab, Overview subtab, select the Code Coverage - Method and Line Level profiling set and click Edit, then Next.
  2. In the Edit Profiling Set dialog box, select the Count mode activated check box.
  3. Click Finish.
Feedback
(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.