3 ms·
The coverage seems to be only line-based. I don't know if it's relevant for Go, but you might want to see how the coverage looks like for branch-based analysis
by Mithaldu 11y ago
The coverage seems to be only line-based. I don't know if it's relevant for Go, but you might want to see how the coverage looks like for branch-based analysis (if Go has software for that).
Otherwise, nice to see someone take quality serious. :)
- anonfunction 11y agoThe coverage is based on the built in go tooling, which supports line or function based analysis. In addition it can start a webserver where you can browse coverage by file with color output. # Generate coverage data go test -coverprofile=coverage.out # View coverage by function go tool cover -func="coverage.out" # View coverage line by line go tool cover -html="coverage.out"