Go stdlib package — runtime/coverage. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.
.ClearCounters()NeutralClearCounters() error
ClearCounters clears/resets all coverage counter variables in the
.WriteCounters()NeutralWriteCounters(w io.Writer) error
WriteCounters writes coverage counter-data content for the
.WriteCountersDir()NeutralWriteCountersDir(dir string) error
WriteCountersDir writes a coverage counter-data file for the
.WriteMeta()NeutralWriteMeta(w io.Writer) error
WriteMeta writes the meta-data content (the payload that would
.WriteMetaDir()NeutralWriteMetaDir(dir string) error
WriteMetaDir writes a coverage meta-data file for the currently
| FQN | Field | |
|---|---|---|
| runtime/coverage | fqns[0] |
Wrong FQN → 0 findings. Verify with: change fqns to garbage → must produce 0 results.
// standard library — no go.mod entry required
from codepathfinder.go_rule import ... # runtime/coverage