Skip to content
callcount

github.com/onsi/gomega/types.Assertion.NotTo

third-party

The 576th most-called third-party method by production calls. Called 12,532 times across 46 modules; 1,362 of those run outside tests and generated code.

652% in production calls vs 2026-W39 (181 → 1,362)

All of github.com/onsi/gomega/types → Docs on pkg.go.dev ↗

prod calls
1,362
non-test, non-generated
all calls
12,532
total callsites
modules
46
distinct callers
in loop
8%
of prod calls
in tests
89%
11,170 calls
resolved
0%
to a known target

resolution mix

How each call resolves

How each call was attributed. Only resolved kinds, where the target function is known, count toward the ranking. Interface dispatch and unresolved receivers are reported separately and never guessed. Read the taxonomy →

  • Interface method100%Called through an interface. The runtime target may differ.

who calls this

Notable callers

Production calls into Assertion.NotTo from notable Go projects. Open one on the map to see what else it hammers.

where it's called

Callsites in the wild

12 representative callsites of 12,532, prioritizing in-loop and non-test usage. We link to source, never display it.

top callers

The modules that reach for it

The modules that call Assertion.NotTo most in this snapshot.

  • sigs.k8s.io/controller-runtime1,72714%
  • github.com/containernetworking/plugins1,32711%
  • github.com/go-redis/redis/v81,30710%
  • github.com/kubevirt/kubevirt1,19710%
  • kubevirt.io/kubevirt1,19710%

siblings

More from github.com/onsi/gomega/types

The other most-called members in this package. See all →