View historic coverage for a specific folder?

Hello,

We are using “Version 8.9.10 (build 61524)” of SonarQube. We are able to view a hierarchy of each folder in our project and the code coverage percentage for each folder.

Our project is huge and different teams own different folders in the project. Each team would like to have a historic view of the code coverage over time for the code they own, that is, a specific folder.

Right now we can view code coverage of each folder but we don’t have that historical data.

For example, consider this folder structure:

  • Root
    • Folder1
    • Folder2
    • Folder3

Team2 would like to view a chart with code coverage of Folder2 over time.

Thanks in advance,

Nicolás

Hi Nicolas,

Welcome to the community, and sorry about your missing accent^ (AmE keyboard :flushed: )!

The best way to get what you want is to analyze each folder as a separate project.

:warning: Make sure you upgrade to SonarQube v9.9 LTS soon, not only to benefit from our Best LTS Ever™, but because soon we will systematically ask users to upgrade when they ask questions about earlier versions of SonarQube, which are now considered unsupported. :smiley:

 
HTH,
Ann

Hi Ann, thanks for your answer, we will consider the option you propose.

1 Like