I have been struggling with this issue. I have been able to generate the HTML
reports with the help of DotCover
. Also, I have given the path of the reports in the Sonar Portal too under Project Settings--> C# --> CodeCoverage --> DotCoverReportPath
and also in the Sonar.Properties
file for the particular solution (Mine is a DotNet
application).
When I run the Sonar-Runner
it seems to parse the HTML
files and also says that Execution success, but however my dashboard on the Sonar System
shows "No Data" for the coverage.
Please help me out if any of you have faced a similar issue and have been able to figure out the error.