Skip to content
callcount

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

third-party

The 569th most-called third-party method by production calls. Called 12,241 times across 45 modules; 1,323 of those run outside tests and generated code.

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

prod calls
1,323
non-test, non-generated
all calls
12,241
total callsites
modules
45
distinct callers
in loop
8%
of prod calls
in tests
89%
10,918 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,241, 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,66914%
  • github.com/containernetworking/plugins1,32711%
  • github.com/go-redis/redis/v81,30711%
  • 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 →