The DBMS_PLSQL_CODE_COVERAGE package is used to collect the coverage of PL/SQL code during runtime.
Note
This system package is supported starting from V4.4.1.
Privilege requirements
The privilege of this system package is AUTHID CURRENT_USER.
Subprograms
The following table lists the subprograms of the DBMS_PLSQL_CODE_COVERAGE package in the current version of OceanBase Database and their brief descriptions.
| Subprogram | Description |
|---|---|
| START_COVERAGE | Starts the coverage collection and records the PL coverage of the current session. |
| STOP_COVERAGE | Stops the coverage collection and aggregates the results into the statistics table. |
| CREATE_COVERAGE_TABLES | Creates the DBMSPCC_RUNS, DBMSPCC_UNITS, and DBMSPCC_BLOCKS tables for storing coverage information. |
