covercore

command
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 18, 2026 License: Apache-2.0 Imports: 10 Imported by: ? 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.

Documentation

Overview

Command covercore runs `go test -cover` on the core packages, prints a per-package coverage table and exits 1 when any package is below the minimum, naming it.

Usage: go run ./tools/covercore [-min 85] [-go go] [package pattern ...]

With no patterns it covers the core packages of Story 1.23: internal/engine, internal/source/..., decode, detect, suppress, verify, enrich, grade, secret, netx, registry, gitx, internal/config, the public config package and internal/hook. A package with no test files or no coverage line counts as 0.0%. Exit code 2 means the tests failed or the tool could not run.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL