SonarQube Web API - How to get Excluded Code?

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
    8.9 LTS
  • what are you trying to achieve
    Use the SonarQube WebApi to get the list of all classes which were excluded as per sonar.coverage.exclusion parameter in Maven POM
  • what have you tried so far to achieve this
    Looked into the Measures API

Thanks
Milind

Do not share screenshots of logs – share the text itself (bonus points for being well-formatted)!

Hi,

Your version is past EOL. You should upgrade to either the latest version or the current LTS at your earliest convenience. Your upgrade path is:

8.9.* → 9.9.1 → 10.1 (last step optional)

You may find these resources helpful:

If you have questions about upgrading, feel free to open a new thread for that here.

Regarding your question, we do not store the list of excluded files.

 
Ann

Thanks Ann for the response.

We are in process of upgrade in the company , which takes time, as we have quite a big portfolio.