Pull Request Analysis, code display only touched files


I’m using Sonarqube 8.2 developer edition and I’m doing Gitlab pull requests analysis for a maven multi-module project. It works well but I see something strange and I would like to know if it’s the wanted behavior :

In my pull requests branch, if I got to the “Code” tab it didn’t show me all the packages with the coverage. It seems to show me only packages with touched files.

Is this behavior fixed or can I change an analysis options to display all sources with their corresponding coverage ?

Thanks in advance.


Hi Raph,

Welcome to the community!

This is the intended behavior. We’re focusing here on the changed code. The coverage of old code doesn’t really seem relevant.