Resetting code coverage statistics

You can reset code coverage statistics to zero so that you can determine the code coverage of different tests or transactions that might use the same classes or projects.

Procedure

To reset code coverage statistics:

  1. Click Run > Code Coverage > Reset coverage statistics.Alternatively, right-click the code coverage indicator margin area in a Java Editor, and select Reset coverage statistics. Select the server launches to reset code coverage.
    Important: Note that the reset code coverage statistic feature is only supported for code coverage enabled applications running on the server (not Java applications).
  2. Select the launches that you want to reset statistics for.
  3. Click OK.

Results

The code coverage statistics are reset to zero for the launches that you selected.

Feedback