Code coverage of the SQL code

In my database project I have many database unit tests written in the MS DB Unit test framework.
But for the some of the tested code (functions, stored procedures) SonarQube shows coverage but for other for which db unit tests also exists it doesn’t show a coverage, on what it depends ?

My SonarQube version is 9.2.3.

Hi,

Coverage support is language-specific, and from what I can tell, there isn’t any coverage for T-SQL (which I’m guessing is the topic of interest based on your other post).

It ought to work though if you convert your T-SQL coverage reports to the Generic Test Data format.

 
:woman_shrugging:
Ann