The Method and Line Code Coverage page lets you select options for the Method and Line Code Coverage profiling type.
To open the Method and Line Code Coverage page, open the Profiling and Logging perspective. From the main menu, select Method and Line Coverage Information profiling set and click Edit.
, and select or create a profiling configuration. In the Profiling tab for the configuration, select theIn the Edit Profiling Set dialog box, expand the entry for Code Coverage and highlight the entry for Method and Line Code Coverage.
The following table describes the options you can select for the Method and Line Code Coverage profiling type:
Option | Description | Default |
---|---|---|
Flush coverage data when any of the following methods run: | If selected, allows you to specify when to flush coverage data to a profiling resource. Flushes are performed automatically, but if the Annotated Source and Coverage Monitor views report No data available for display after you have collected line and method coverage data, trigger an additional flush. To do this, check this checkbox, and then click the Add button to specify the triggering methods in the Method Event and Pattern Editor dialog box. | Off |
The Edit and Remove buttons are enabled when you select one of the currently displayed methods and patterns. Use them to edit the method or pattern specification in the Method Event and Pattern Editor dialog box, or to remove one of the methods and patterns.