Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 497 Bytes

README.md

File metadata and controls

24 lines (16 loc) · 497 Bytes

covertool

Calculate total coverage from a Go coverage profile, excluding generated files.

Example usage:

go test -coverprofile=cover.out ./...
covertool -profile=cover.out

# Example output:
total: (statements) 32.66%

Installation:

go install github.com/neilgarb/covertool@latest

Resources: