Discover Packages
github.com/Rememorio/codog
internal
coveragecheck
package
Version:
v0.2.0
Opens a new window with list of versions in this module.
Published: Jul 25, 2026
License: MIT
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0 modules, 0 packages
The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package coveragecheck evaluates coverage for changed Go source lines.
Block describes one statement region from a Go coverage profile.
ParseProfile parses a Go coverage profile and normalizes paths relative to modulePath.
type ChangedLines map[string ]map[int ]struct{}
ChangedLines maps repository-relative files to added line numbers.
ParseDiff extracts added lines from a zero-context unified Git diff.
type Location struct {
File string
Line int
}
Location identifies one changed source line.
Report summarizes coverage for coverable changed lines.
Evaluate reports coverage for changed lines intersecting statement blocks.
MeetsThreshold reports whether the changed-line coverage meets threshold.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.