Show me the PR files that failed code coverage. Don't make me navigate from project root

which versions are you using

how is SonarQube deployed

  • Github Actions docker://sonarsource/sonar-scanner-cli:latest

what are you trying to achieve

When my PR fails code coverage, it’s frustrating to have to navigate through my entire folder structure, starting at the root, to find the files that failed. Can you just show me the diff(s) that failed? Or at least just list the files in the PR like Github? Screenshot below is the current UX. I don’t care about folders. Just list the files, or better yet, show me the diff (like Github)

  • what have you tried so far to achieve this

There is no way to modify the UX.

If I go to Measures > Coverage it looks like I can choose to view as list. This solves my problem, but I wish this View As dropdown was visible on the Code tab.

1 Like

If the missing coverage info was surfaced as PR annotations we’d potentially be able to ditch codecov.io and use Sonar in more of our repos.