Xcode 7 code coverage - what does blue progress and gray lines mean?

As part of my project, after running the tests, I got to the coverage tab:

enter image description here

Then, when I click on the gray arrow for distanceTitle():

enter image description here

And for the static method findLocationWithIdentifier():

enter image description here

And for the non-static method deliveryInfo():

enter image description here

Now questions:

  • DBLocation.distanceTitle completely covered (blue progress bar is full) - does this mean 100% coverage for this method?

  • When I'm inside this method, it is grayed out, and the number 0 is on the right side . What does it mean?

  • Why is my method findLocationWithIdentifierwhite and the number 70 next to it ? Why is this function not grayed out as it is called 70 times? I am wrong?

  • ? , 0%, - .

? :

  • ?

, , , . ?

Apple.

+4
1

2 3, Xcode , , . Xcode . , , ( ), , . , , , , . , 0.

1, . 100% . / Xcode. , distanceTitle() 100% , distanceTitle() .

, 4.

0

All Articles