I am on SQ version 8.9 (LTS) and I’ve noticed that for any C# method marked “async” across all my projects, it does not mark them as being Lines to Cover. Is this expected in Sonarqube? And if so, why?
Update: this does not seem to be the case on our .NET Core projects, only on our .NET 4.8 projects.
SonarQube reads coverage reports to decide which lines are considered executable – it doesn’t decide on its own. Do your coverage reports show these methods as being covered by tests?