The START_COVERAGE procedure starts code coverage collection for the current session.
Note
This subprogram is supported starting 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 for the current code coverage collection task. |
Examples
Start code coverage collection:
BEGIN
l_run_id := DBMS_PLSQL_CODE_COVERAGE.start_coverage('TEST_RUN_1');
END;
/
