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?
Got it based on your feedback. I hadn’t looked to see if it could be a Visual Studio problem which is apparently is. Thank you!
For anyone else looking: Visual Studio Feedback
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.