Filters on files list in coverage report

I am using SonarQube community Edition version 8.9.10 and am noticing a behaviour I am not able to explain when looking at the files list for coverage overall and on new code.
In particular, the number of files appearing in the “new code” section appears to always be bigger than the one on “overall code”, while logically I would think it should be the opposite.
In the API call to generate that list there appear to be a bunch of filters:


I refer to “strategy” in particular. Why should these files be excluded?
Would working on all the files, even those not appearing in the overall coverage section, contribute to increasing the overall coverage percentage?

Thank you a lot in advance!


Your version is past EOL. You should upgrade to either the latest version or the current LTA (long-term active version) at your earliest convenience. Your upgrade path is:

8.9.10 → 9.9.4 → 10.4 (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.

If your issue persists after upgrade, please come back to us.