Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LineSummary ¶
LineSummary models Codecov-style hit/partial/miss line coverage.
type StatementSummary ¶
StatementSummary mirrors go tool cover's statement coverage view.
type Summary ¶
type Summary struct {
Line LineSummary
Statement StatementSummary
}
Summary contains both line-based and statement-based coverage totals.
func AnalyzeProfile ¶
AnalyzeProfile reads a Go cover profile and returns both Codecov-style line coverage and statement coverage, deduplicating repeated blocks produced by multi-package aggregators such as go-acc.
Click to show internal directories.
Click to hide internal directories.