Are you able to see the coverage of other files in your project ? Maybe you should check if your analysis is correctly configured to take the coverage into account, you can have a look at this documentation page.
Can you share a link to the PR or piece of code that has the issue (actual code and test file) ?