Checkout this excellent blog post on the SonarSource blog that might be related your situation, specifically because this describes a change that occurred between v6.0 and v7.5 (I think… v6.2, but that’s not too important): Why did my coverage just drop?!
This is also a good guide regarding SonarQube and Code Coverage: