SonarCloud incorrectly flagging code covered by unit tests

  • ALM used: GitHub
  • CI system used: GitHub actions
  • Scanner command used: dotnet sonarscanner begin /k:“PROJECT_KET” /d:sonar.token=$SONAR_TOKEN /d:sonar.scanner.scanAll=false
  • Languages of the repository: C#

Hello

We have SonarCloud incorrectly flagging as uncovered code that is actually covered; please see attached screenshots


Can you please clarify/advise why we see this discrepancy?

Regards,

Roberto

What do your analysis logs say about the import of code coverage?