Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a827b94

Browse files
authored
Update coverage MD
1 parent ed09351 commit a827b94

1 file changed

Lines changed: 1 addition & 22 deletions

File tree

docs/userguide/coverage.md

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -53,32 +53,11 @@ The report allow you to navigate to each source file and inspect line by line co
5353
![Coverage Details page](../images/coverage_html_details.png)
5454

5555

56-
#### Oracle 12.2 block coverage.
57-
In Oracle 12.2 new functionality was released which supports native [block coverage](https://docs.oracle.com/en/database/oracle/oracle-database/12.2/arpls/DBMS_PLSQL_CODE_COVERAGE.html#GUID-55A9E502-9EC2-4118-B292-DC79E6DC465E).
58-
This has been enabled in utPLSQL code coverage as a separate option. It can be invoked by passing a argument a_coverage_type with value 'block'. By default profiler option is enabled ('proftab').
59-
60-
Example:
61-
```sql
62-
begin
63-
ut.run(ut_coverage_html_reporter(),a_coverage_type => 'block');
64-
end;
65-
/
66-
```
67-
68-
In this mode html reporter will show additionally number of lines that been partially covered and highlight them in orange. Number of blocks in code, blocks covered and missed.
69-
7056
#### Oracle 12.2 extended coverage with profiler and block coverage
7157
Using data collected from profiler and block coverage running parallel we are able to enrich information about coverage.
7258
For every line recorded by profiler if we have a partially covered same line in block coverage we will display that information
73-
presenting line as partially covered and displaying number of block and how many blocks been covered in that line.
59+
presenting line as partially covered, displaying number of block and how many blocks been covered in that line.The feature will be automatically enabled in the Oracle database version 12.2 and higher, for older versions current profiler will be used.
7460

75-
Example:
76-
```sql
77-
begin
78-
ut.run(ut_coverage_html_reporter(),a_coverage_type => 'extended');
79-
end;
80-
/
81-
```
8261

8362
Sample output:
8463
![Package Coverage Summary](../images/extended_coverage_html_summary.png)

0 commit comments

Comments
 (0)