title: Where is statement counter incremented for reporting coverage within Go source code?
body: <p>I am looking into the Golang source code and want to understand how does it calculate coverage. I understand that each block of code has it's own statement counter; however, where is that statement counter being incremented? 
  Here is a link for the cover.go: <a href="https://github.com/golang/go/blob/master/src/cmd/cover/cover.go" rel="nofollow noreferrer">https://github.com/golang/go/blob/master/src/cmd/cover/cover.go</a></p>