A Feature in < 20 Seconds: Code Coverage

20seconds

(Mark Alldritt) #1

Follow us on Twitter or FaceBook to see more in this ongoing series of videos.


(Jean Christophe Helary) #2

I don’t understand what this is supposed to show~ :frowning:


(Shane Stanley) #3

Read the tooltips as they appear…


(Jean Christophe Helary) #4

I see “Hits 1”, etc. But I have no idea what that is showing. The code is trivial enough so it’s not related to that. Sorry, I must be missing something.


(Jean Christophe Helary) #5

Ok, I got it. It the number of times a given line/block of code is accessed when running the script…


(Shane Stanley) #6

Right. The circle gets bigger and the color changes, so you can see at a glance where your script’s time is being spent.


(John Joyce) #7

The link in from the web site says “A Feature in < 20 Seconds: Code Completion” so the title there is quite misleading as this says and is about code coverage.


(Mark Alldritt) #9

Thank you for pointing this out. I’ve corrected the bog post to correctly indicate Code Coverage.