Skip to content
callcount

google.golang.org/protobuf/reflect/protoreflect.List.Len

third-party

The 6082nd most-called third-party method by production calls. Called 180 times across 17 modules; 100 of those run outside tests and generated code.

49% in production calls vs 2026-W39 (67 → 100)

All of google.golang.org/protobuf/reflect/protoreflect → Docs on pkg.go.dev ↗

prod calls
100
non-test, non-generated
all calls
180
total callsites
modules
17
distinct callers
in loop
7%
of prod calls
in tests
11%
20 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 List.Len 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 180, prioritizing in-loop and non-test usage. We link to source, never display it.

List.Len · 12 of 180 callsites
  • in loop
  • google.golang.org/protobuf @v1.36.12

    internal/impl/equal.go:101

    in loop
  • in loop
  • google.golang.org/protobuf @v1.36.12

    internal/impl/equal.go:122

    in loop
  • google.golang.org/protobuf @v1.36.12

    internal/impl/message_reflect.go:241

    in loop
  • google.golang.org/protobuf @v1.36.12

    testing/prototest/message.go:504

    in loop
  • google.golang.org/protobuf @v1.36.12

    testing/prototest/message.go:507

    in loop
  • in loop test
  • google.golang.org/protobuf @v1.36.12

    encoding/prototext/fuzz_test.go:54

    in loop test
  • google.golang.org/protobuf @v1.36.12

    encoding/protojson/fuzz_test.go:54

    in loop test
  • google.golang.org/protobuf @v1.36.12

    internal/testprotos/nullable/nullable_test.go:95

    in loop test
  • google.golang.org/protobuf @v1.36.12

    proto/extension_test.go:281

    in loop test

top callers

The modules that reach for it

The modules that call List.Len most in this snapshot.

  • google.golang.org/protobuf11966%
  • github.com/bytebase/bytebase106%
  • github.com/jhump/protoreflect/v2106%
  • buf.build/go/protovalidate63%
  • github.com/bufbuild/buf63%

siblings

More from google.golang.org/protobuf/reflect/protoreflect

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