github.com/onsi/gomega.HaveLen
third-partyThe 844th most-called third-party function by production calls. Called 5,493 times across 34 modules; 835 of those run outside tests and generated code.
103% in production calls vs 2026-W39 (412 → 835)
- prod calls
- 835
- non-test, non-generated
- all calls
- 5,493
- total callsites
- modules
- 34
- distinct callers
- in loop
- 3%
- of prod calls
- in tests
- 85%
- 4,658 calls
- resolved
- 100%
- 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 →
- Package function100%A direct call to an exported package function, resolved by type.
who calls this
Notable callers
Production calls into HaveLen from notable Go projects. Open one on the map to see what else it hammers.
- Kubernetes 377 45%
- KubeVirt 173 21%
- Velero 7 <1%
- Cilium 3 <1%
where it's called
Callsites in the wild
12 representative callsites of 5,493, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
-
k8s.io/kubernetes @v1.37.1
test/integration/dra/uses_all_resources.go:82
in loop - in loop
-
kubevirt.io/kubevirt @v1.9.0
tests/launchsecurity/sev.go:204
in loop - in loop
- in loop
- in loop
- in loop
-
kubevirt.io/kubevirt @v1.9.0
tests/storage/restore.go:1150
in loop - in loop
-
k8s.io/kubernetes @v1.37.1
test/e2e/common/node/node_lease.go:109
in loop - in loop
top callers
The modules that reach for it
The modules that call HaveLen most in this snapshot.
- github.com/kubevirt/kubevirt1,32724%
- kubevirt.io/kubevirt1,32724%
- github.com/navidrome/navidrome1,07320%
- github.com/cloudnative-pg/cloudnative-pg3707%
- github.com/kubernetes/kubernetes2635%
siblings
More from github.com/onsi/gomega
The other most-called functions in this package. See all →