Repository Analysis

grpc-ecosystem/grpc-gateway

gRPC to JSON proxy generator following the gRPC HTTP spec

0.7 Likely human-written View on GitHub
0.7
Adjusted Score
0.7
Raw Score
100%
Time Factor
2026-05-30
Last Push
19,901
Stars
Go
Language
174,474
Lines of Code
432
Files
123
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 0HIGH 0MEDIUM 0LOW 123

Pattern Findings

123 matches across 3 categories. Click a row to expand file-level details.

Over-Commented Block119 hits · 116 pts
SeverityFileLineSnippet
LOWruntime/mux.go241 }
LOWinternal/casing/camel.go1package casing
LOWinternal/descriptor/registry.go61
LOWdocs/_config.yml21# Supports true (default) or false
LOWexamples/internal/clients/abe/models/protobuf_any.go21// Foo foo = ...;
LOWexamples/internal/clients/abe/models/protobuf_any.go41//
LOWexamples/internal/clients/abe/models/protobuf_any.go61// if err := any.UnmarshalTo(foo); err != nil {
LOWexamples/internal/clients/abe/models/protobuf_any.go81// }
LOWexamples/internal/clients/abe/models/protobuf_any.go101
LOWexamples/internal/clients/abe/models/protobuf_any.go121 // breaking changes.)
LOWexamples/internal/clients/abe/models/protobuf_any.go141 // A URL/resource name that uniquely identifies the type of the serialized
LOWexamples/internal/clients/abe/models/protobuf_any.go201
LOWexamples/internal/clients/abe/models/protobuf_any.go221 // * Applications are allowed to cache lookup results based on the
LOWexamples/internal/clients/abe/models/examplepb_book.go21
LOW…e/models/a_bit_of_everything_service_update_v2_body.go121
LOW…e/models/a_bit_of_everything_service_update_v2_body.go281 // Leading both
LOW…ng/a_bit_of_everything_service_update_v22_responses.go581 //
LOW…ng/a_bit_of_everything_service_update_v22_responses.go641 // string value
LOW…ing/a_bit_of_everything_service_update_v2_responses.go581 //
LOW…ing/a_bit_of_everything_service_update_v2_responses.go641 // string value
LOWexamples/internal/clients/echo/models/protobuf_any.go21// Foo foo = ...;
LOWexamples/internal/clients/echo/models/protobuf_any.go41//
LOWexamples/internal/clients/echo/models/protobuf_any.go61// if err := any.UnmarshalTo(foo); err != nil {
LOWexamples/internal/clients/echo/models/protobuf_any.go81// }
LOWexamples/internal/clients/echo/models/protobuf_any.go101
LOWexamples/internal/clients/echo/models/protobuf_any.go121 // breaking changes.)
LOWexamples/internal/clients/echo/models/protobuf_any.go141 // A URL/resource name that uniquely identifies the type of the serialized
LOWexamples/internal/clients/echo/models/protobuf_any.go201
LOWexamples/internal/clients/echo/models/protobuf_any.go221 // * Applications are allowed to cache lookup results based on the
LOW…s/internal/clients/responsebody/models/protobuf_any.go21// Foo foo = ...;
LOW…s/internal/clients/responsebody/models/protobuf_any.go41//
LOW…s/internal/clients/responsebody/models/protobuf_any.go61// if err := any.UnmarshalTo(foo); err != nil {
LOW…s/internal/clients/responsebody/models/protobuf_any.go81// }
LOW…s/internal/clients/responsebody/models/protobuf_any.go101
LOW…s/internal/clients/responsebody/models/protobuf_any.go121 // breaking changes.)
LOW…s/internal/clients/responsebody/models/protobuf_any.go141 // A URL/resource name that uniquely identifies the type of the serialized
LOW…s/internal/clients/responsebody/models/protobuf_any.go201
LOW…s/internal/clients/responsebody/models/protobuf_any.go221 // * Applications are allowed to cache lookup results based on the
LOWexamples/internal/clients/abev3/abev3.go341type GrpcGatewayExamplesInternalProtoExamplepbBody struct {
LOW…ples/internal/integration/openapiv3/abe_oracle_test.go1// abe_oracle_test.go is a Tier 2 oracle test for protoc-gen-openapiv3: it
LOW…amples/internal/integration/openapiv3/abe_spec_test.go1// abe_spec_test.go is a Tier 1 structural test for the OpenAPI 3.1 spec
LOW…mples/internal/integration/openapiv3/openapiv3_test.go1// Package openapiv3 contains an end-to-end oracle test for
LOWprotoc-gen-openapiv2/options/openapiv2.pb.go341// info: {
LOWprotoc-gen-openapiv2/options/openapiv2.pb.go361 // Specifies the OpenAPI Specification version being used. It can be
LOWprotoc-gen-openapiv2/options/openapiv2.pb.go381 // serve the API from the `base_path`.
LOWprotoc-gen-openapiv2/options/openapiv2.pb.go621
LOWprotoc-gen-openapiv2/options/openapiv2.pb.go641 // manually removed from your `google.api.http` paths and your code changed to
LOWprotoc-gen-openapiv2/options/openapiv2.pb.go701// Example:
LOWprotoc-gen-openapiv2/options/openapiv2.pb.go721// }
LOWprotoc-gen-openapiv2/options/openapiv2.pb.go741 // definition at the OpenAPI Object. An empty value MAY be used to clear the
LOWprotoc-gen-openapiv2/options/openapiv2.pb.go981 // all operations described in the API. Tools and libraries MAY use the
LOWprotoc-gen-openapiv2/options/openapiv2.pb.go1001 // should be refrained. Default value is false.
LOWprotoc-gen-openapiv2/options/openapiv2.pb.go1361
LOWprotoc-gen-openapiv2/options/openapiv2.pb.go1481
LOWprotoc-gen-openapiv2/options/openapiv2.pb.go1521// title: "Echo API";
LOWprotoc-gen-openapiv2/options/openapiv2.pb.go1721// `Contact` is a representation of OpenAPI v2 specification's Contact object.
LOWprotoc-gen-openapiv2/options/openapiv2.pb.go1841// info: {
LOWprotoc-gen-openapiv2/options/openapiv2.pb.go1921 x.Name = b.Name
LOWprotoc-gen-openapiv2/options/openapiv2.pb.go2021//
LOWprotoc-gen-openapiv2/options/openapiv2.pb.go2181 return m0
59 more matches not shown…
Verbosity Indicators2 hits · 3 pts
SeverityFileLineSnippet
LOWinternal/descriptor/types.go378 // We need to check if the target is not proto3_optional first.
LOWinternal/descriptor/types.go415 // We need to check if the target is not proto3_optional first.
Fake / Example Data2 hits · 2 pts
SeverityFileLineSnippet
LOWdocs/docs/mapping/customizing_your_gateway.md316{"name":"John Doe"}
LOWdocs/docs/mapping/customizing_your_gateway.md325{"success":true,"data":{"name":"John Doe"}}