No coverage information available on sonarqube since last 3 weeks

Lines to cover on new code is coming as 0 for files which has some changes in it, because of this there is no code coverage getting reported for the new code. This used to get reported before 3 weeks but since then this issue is coming for all my repositories. I have attached screenshot which shows 4 files were changed but new lines on those files is 0.

Hi,

Welcome to the community!

0 lines to cover on new code means that no code changes were detected in the New Code period. Your changes have all been non-code, such as comments and whitespace.

 
HTH,
Ann

Hi Ann,
Thank you for your reply!
If you see the screenshot, it shows there are 4 files changed but the lines covered are 0. Also in my PR, I can see I have made changes in the java files and there should be new code detected. It is not just comments and whitespaces.
Also please note that this issue is occuring for all our PRs and all our repositories. Earlier this used to work but since last 2 months we are facing this.

Hi,

Are the changes detected as new code? If not, this is about the SCM metadata available to analysis. You should make sure the prerequisites are in place.

 
HTH,
Ann