Xcode: code coverage percentage

Just some clarification on where to find these numbers in Xcode 10:

  1. Run your tests and navigate to the Test navigator
  2. Right click on the test and select "Jump to Report"

enter image description here

  1. Next to your target you should see "Test", right click on that, then select "Coverage" enter image description here
  2. Test Coverage info is then shown

enter image description here


Unfortunately, the code coverage overview in Xcode is really bad. If you do not use Xcode server to test your projects the only way to obtain the percentage is by mouse over each bar.

enter image description here

If you use Xcode server you will see the percentage for every device type in a table.


Hover over on top of the first row with the .app. It will tell you the calculated percentage