SONARQube Code Coverage shows 0% for iOS

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

Hi Murali,

From the log snippet you’ve provided, it appears that your Generic Coverage Report wasn’t in the right format.

 
Ann

Hi Ann,

Thanks for your reply.

Request you to please which part of the log is not correct. Also request you if any sample log for us to refer and verify. 

Thanks in advance.

With Regards,
Murali.S

Hi Murali,

That would be the lines that start with ERROR.

 
:slightly_smiling_face:
Ann