Reputation: 9120
Any of you knows how can I get percentage of code coverage in Xcode?. Right now I only see the bars:
I'll really appreciate your help.
Upvotes: 12
Views: 5297
Reputation: 3195
Also, make sure to have "Gather coverage for" is enabled in the edit scheme:
Upvotes: 1
Reputation: 1059
Just some clarification on where to find these numbers in Xcode 10:
Upvotes: 3
Reputation: 1461
For anyone coming across this question the percentage is show in Xcode now (currently 9.3).
Upvotes: 0
Reputation: 155
Hover over on top of the first row with the .app. It will tell you the calculated percentage
Upvotes: 3
Reputation: 4367
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.
If you use Xcode server you will see the percentage for every device type in a table.
Upvotes: 13