Package covprofile parses Go coverage profiles. It is shared by the
dev-only scripts/cov*.go helpers so the profile-line parser has a single
implementation instead of being copied per script.
Parse reads a Go coverage profile (the leading `mode:` header line is
skipped) and returns blocks grouped by source file path. Malformed lines
are skipped, matching `go tool cover` leniency.