Repository Analysis

zeromicro/go-zero

A cloud-native Go microservices framework with cli tool for productivity.

0.2 Likely human-written View on GitHub
0.2
Adjusted Score
0.2
Raw Score
100%
Time Factor
2026-05-30
Last Push
33,055
Stars
Go
Language
171,793
Lines of Code
1118
Files
31
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 0HIGH 0MEDIUM 0LOW 31

Pattern Findings

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

Over-Commented Block26 hits · 26 pts
SeverityFileLineSnippet
LOWzrpc/resolver/internal/targets/endpoints.go21// GetHosts returns the comma-separated etcd hosts from the target URL.
LOWtools/goctl/config/config.go21//go:embed default.yaml
LOWtools/goctl/model/sql/template/template.go21// Types defines a template for types in model.
LOWtools/goctl/model/sql/template/template.go81//
LOWtools/goctl/model/sql/template/template.go101//
LOWtools/goctl/model/sql/template/template.go121//
LOWtools/goctl/rpc/generator/gen.go21 ProtoGenGoDir string
LOWtools/goctl/gateway/conf.yml1Name: gateway-example # gateway name
LOWcore/logx/config.go1package logx
LOWcore/logx/config.go21 // Level represents the log level, default is `info`.
LOWcore/logx/writer.go21 // Writer is the interface for writing logs.
LOWcore/breaker/breaker.go21type (
LOWcore/breaker/breaker.go41 // If a panic occurs in the request, the Breaker handles it as an error
LOWcore/stores/cache/cache.go21 // DelCtx deletes cached values with keys.
LOWcore/stores/redis/redisblockingnode.go21//
LOWcore/stores/redis/redis.go261
LOWcore/stores/redis/redis.go281// Doesn't benefit from pooling redis connections of blocking queries
LOWcore/stores/redis/redis.go1921// exhausting the connection pool. Blocking commands hold connections for extended periods and should
LOWcore/stores/mon/collection.go81 // FindOneAndDelete returns at most one document that matches the filter. If the filter
LOWcore/stores/mon/collection.go601 // Find finds the documents matching the provided filter.
LOWmcp/types.go81// tool := &mcp.Tool{
LOW.github/workflows/codeql-analysis.yml1# For most projects, this workflow file will not need changing; you simply need
LOW.github/workflows/codeql-analysis.yml41 - name: Initialize CodeQL
LOWrest/server_test.go801 assert.Nil(t, err)
LOWrest/chain/chain.go41// c.Append(m3, m4)
LOWrest/chain/chain.go61// is equivalent to:
Example Usage Blocks3 hits · 4 pts
SeverityFileLineSnippet
LOWcore/stores/redis/redisblockingnode.go26// Example usage:
LOWcore/stores/redis/redis.go268// Example usage:
LOWcore/stores/redis/redis.go1924// Example usage:
Verbosity Indicators2 hits · 3 pts
SeverityFileLineSnippet
LOWtools/goctl/pkg/parser/api/parser/parser.go1691// The following code block are experimental, do not call it out of unit test.
LOWrest/handler/timeouthandler.go228// The purpose of this function is to provide more helpful error messages.