The START_COVERAGE procedure is used to start coverage statistics. After it is started, the coverage of PL in the current session is recorded.
Note
This subprogram is supported from V4.4.1.
Syntax
DBMS_PLSQL_CODE_COVERAGE.START_COVERAGE (
run_comment IN VARCHAR2)
RETURN NUMBER;
Parameters
| Parameter | Description |
|---|---|
| run_comment | The comment or description of the code coverage run task. |
Examples
Start collecting coverage information:
BEGIN
l_run_id := DBMS_PLSQL_CODE_COVERAGE.start_coverage('TEST_RUN_1');
END;
/