Problem: Code Coverage is not reflecting in SONAR Qube. It shows 0% . Refer attached screenshot.
SONAR Qube Developer edition, version 8.7.1 (build 42226)
The XMl file size generated out of xccov is around 8 Mb. Let us know whether the SONAR Qube developer edition has any limitation on the size of XML.
Attached the log file of Azure Devops runcode analysis
IOS LOG.txt (33.9 KB)
The error that is received is as below:
INFO: Sensor Generic Coverage Report
INFO: Parsing /Users//sonarqube-generic-coverage.xml
INFO: ------------------------------------------------------------------------
INFO: EXECUTION FAILURE
INFO: ------------------------------------------------------------------------
INFO: Total time: 2:58.549s
INFO: Final Memory: 63M/240M
INFO: ------------------------------------------------------------------------
ERROR: Error during SonarScanner execution
ERROR: Error during parsing of the generic coverage report ‘/Users//sonarqube-generic-coverage.xml’. Look at SonarQube documentation to know the expected XML format.
Request for your suggestions to get the code coverage in SONAR Qube.
With Regards,
Murali.S