Executive summary
zeromicro/go-zero scores 58 out of 100 and is rated Adequate, while five of its six lenses score higher still: Performance at 83, rated Strong, and Architecture at 80, Maturity at 68, Security and Compliance at 60 and Code Health at 59, all rated Adequate.
The score is lower than those five because the weakest lens counts most, and here that is Production Readiness, which scores 52 and is rated Adequate. Its DR & Backup dimension scores 0 out of 10, and until that reaches 4, Production Readiness can't be rated higher than Adequate. The first actions are to resolve the 2 Deprecated module finding(s) in Dependency Hygiene and to resolve the 1 Flaky test finding(s) in Test Reliability, and if Production Readiness rose to 70, the score would rise from 58 to about 63.
30 findings are critical: 22 in Static Analysis (SAST), six in IaC & Container Security, one in Secrets (history) and one in Test Reliability.
Watchdog couldn't measure 14 dimensions in this code, among them Code Coverage, Internal API Consistency and Navigability, so they are left out of the score. The product code is 62,058 lines, which would take an estimated 0.9 person-years, around €140,000, to rebuild.
If Production Readiness rose from 52 to 70, the lowest score rated Strong, the score would rise from 58 to about 63.
New since the last survey: 7 findings
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Supply-chain Provenance & Signing · REDACTED
- Supply-chain Provenance & Signing · REDACTED
- Supply-chain Provenance & Signing · REDACTED
- Supply-chain Provenance & Signing · REDACTED
- Supply-chain Provenance & Signing · REDACTED
Fixed since the last survey: 3 findings
- Dependency Vulnerabilities · Medium CVE: REDACTED REDACTED
- Dependency Vulnerabilities · Medium CVE: REDACTED REDACTED
- Supply-chain Provenance & Signing REDACTED
Rebuild cost: about €140,000 · Estimate
| Cost to rebuild | €45,000 to €230,000, for 755 to 2,395 hours of work, about 0.9 person-years for 1 to 2 engineers |
|---|---|
| Difficulty of the problem | Standard, judged from the kind of software and how it is built. Code that solves a harder problem, such as payments or medical bookings, costs more per line to write. |
| Quality factor | ×0.8 at a score of 58. Better code takes more work to write, so the factor is ×1.0 at a score of 70, lower below it and higher above it. |
| Size | Medium: 62,058 lines of product code |
Top priorities
Diagnosis: what the measurements show together
Architecture: which parts of the code depend on which
| uses → | 1 com/zeromicro/go-zero/core/codec | 2 com/zeromicro/go-zero/core/hash | 3 com/zeromicro/go-zero/core/mapping | 4 com/zeromicro/go-zero/core/mathx | 5 com/zeromicro/go-zero/core/metric | 6 com/zeromicro/go-zero/core/syncx | 7 com/zeromicro/go-zero/core/threading | 8 com/zeromicro/go-zero/core/timex | 9 com/zeromicro/go-zero/core/utils | 10 com/zeromicro/go-zero/rest/internal | 11 com/zeromicro/go-zero/core/collection | 12 com/zeromicro/go-zero/core/discov/internal | 13 com/zeromicro/go-zero/core/executors | 14 com/zeromicro/go-zero/core/logx | 15 com/zeromicro/go-zero/core/prometheus | 16 com/zeromicro/go-zero/internal/health | 17 com/zeromicro/go-zero/rest/httpc/internal | 18 com/zeromicro/go-zero/rest/httpx | 19 com/zeromicro/go-zero/core/breaker | 20 com/zeromicro/go-zero/core/discov | 21 com/zeromicro/go-zero/core/load | 22 com/zeromicro/go-zero/core/stat | 23 com/zeromicro/go-zero/core/configcenter/subscriber | 24 com/zeromicro/go-zero/core/stores/mon | 25 com/zeromicro/go-zero/core/stores/redis | 26 com/zeromicro/go-zero/core/stores/sqlx | 27 com/zeromicro/go-zero/rest/handler | 28 com/zeromicro/go-zero/core/stores/cache | 29 com/zeromicro/go-zero/rest | 30 com/zeromicro/go-zero/zrpc/internal/auth | 31 com/zeromicro/go-zero/core/stores/kv | 32 com/zeromicro/go-zero/core/stores/monc | 33 com/zeromicro/go-zero/core/stores/sqlc | 34 com/zeromicro/go-zero/mcp | 35 com/zeromicro/go-zero/zrpc/internal/serverinterceptors | 36 com/zeromicro/go-zero/core/service | 37 com/zeromicro/go-zero/zrpc/internal | 38 com/zeromicro/go-zero/core/queue | 39 com/zeromicro/go-zero/zrpc | 40 com/zeromicro/go-zero/gateway |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 com/zeromicro/go-zero/core/codec | ||||||||||||||||||||||||||||||||||||||||
| 2 com/zeromicro/go-zero/core/hash | ||||||||||||||||||||||||||||||||||||||||
| 3 com/zeromicro/go-zero/core/mapping | ||||||||||||||||||||||||||||||||||||||||
| 4 com/zeromicro/go-zero/core/mathx | ||||||||||||||||||||||||||||||||||||||||
| 5 com/zeromicro/go-zero/core/metric | ||||||||||||||||||||||||||||||||||||||||
| 6 com/zeromicro/go-zero/core/syncx | ||||||||||||||||||||||||||||||||||||||||
| 7 com/zeromicro/go-zero/core/threading | ||||||||||||||||||||||||||||||||||||||||
| 8 com/zeromicro/go-zero/core/timex | ||||||||||||||||||||||||||||||||||||||||
| 9 com/zeromicro/go-zero/core/utils | ||||||||||||||||||||||||||||||||||||||||
| 10 com/zeromicro/go-zero/rest/internal | ||||||||||||||||||||||||||||||||||||||||
| 11 com/zeromicro/go-zero/core/collection | 1 | 1 | 2 | |||||||||||||||||||||||||||||||||||||
| 12 com/zeromicro/go-zero/core/discov/internal | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 13 com/zeromicro/go-zero/core/executors | 2 | |||||||||||||||||||||||||||||||||||||||
| 14 com/zeromicro/go-zero/core/logx | 2 | |||||||||||||||||||||||||||||||||||||||
| 15 com/zeromicro/go-zero/core/prometheus | 1 | |||||||||||||||||||||||||||||||||||||||
| 16 com/zeromicro/go-zero/internal/health | 1 | |||||||||||||||||||||||||||||||||||||||
| 17 com/zeromicro/go-zero/rest/httpc/internal | 2 | |||||||||||||||||||||||||||||||||||||||
| 18 com/zeromicro/go-zero/rest/httpx | 1 | |||||||||||||||||||||||||||||||||||||||
| 19 com/zeromicro/go-zero/core/breaker | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 20 com/zeromicro/go-zero/core/discov | 2 | 4 | ||||||||||||||||||||||||||||||||||||||
| 21 com/zeromicro/go-zero/core/load | 5 | 2 | ||||||||||||||||||||||||||||||||||||||
| 22 com/zeromicro/go-zero/core/stat | 1 | 3 | ||||||||||||||||||||||||||||||||||||||
| 23 com/zeromicro/go-zero/core/configcenter/subscriber | 2 | 3 | ||||||||||||||||||||||||||||||||||||||
| 24 com/zeromicro/go-zero/core/stores/mon | 3 | 2 | 5 | |||||||||||||||||||||||||||||||||||||
| 25 com/zeromicro/go-zero/core/stores/redis | 2 | 2 | 2 | |||||||||||||||||||||||||||||||||||||
| 26 com/zeromicro/go-zero/core/stores/sqlx | 2 | 3 | 2 | 4 | ||||||||||||||||||||||||||||||||||||
| 27 com/zeromicro/go-zero/rest/handler | 1 | 2 | 1 | 1 | 1 | 2 | 1 | |||||||||||||||||||||||||||||||||
| 28 com/zeromicro/go-zero/core/stores/cache | 1 | 1 | 2 | 1 | 1 | 2 | ||||||||||||||||||||||||||||||||||
| 29 com/zeromicro/go-zero/rest | 2 | 5 | 1 | 1 | 4 | 1 | 1 | 1 | ||||||||||||||||||||||||||||||||
| 30 com/zeromicro/go-zero/zrpc/internal/auth | 1 | 2 | ||||||||||||||||||||||||||||||||||||||
| 31 com/zeromicro/go-zero/core/stores/kv | 1 | 3 | 1 | |||||||||||||||||||||||||||||||||||||
| 32 com/zeromicro/go-zero/core/stores/monc | 1 | 1 | 5 | |||||||||||||||||||||||||||||||||||||
| 33 com/zeromicro/go-zero/core/stores/sqlc | 1 | 1 | 3 | 5 | ||||||||||||||||||||||||||||||||||||
| 34 com/zeromicro/go-zero/mcp | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 35 com/zeromicro/go-zero/zrpc/internal/serverinterceptors | 2 | 1 | 1 | 2 | 1 | 1 | ||||||||||||||||||||||||||||||||||
| 36 com/zeromicro/go-zero/core/service | 1 | 1 | 3 | 3 | ||||||||||||||||||||||||||||||||||||
| 37 com/zeromicro/go-zero/zrpc/internal | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 38 com/zeromicro/go-zero/core/queue | 1 | 1 | 1 | 1 | ||||||||||||||||||||||||||||||||||||
| 39 com/zeromicro/go-zero/zrpc | 1 | 2 | 1 | 1 | 1 | 1 | 1 | 11 | 1 | |||||||||||||||||||||||||||||||
| 40 com/zeromicro/go-zero/gateway | 3 | 1 | 1 | 2 | 1 | 1 |
11→4 com/zeromicro/go-zero/core/collection uses com/zeromicro/go-zero/core/mathx✕
- Connections
- 1 pair of types, where a type in com/zeromicro/go-zero/core/collection uses a type in com/zeromicro/go-zero/core/mathx.
- The types involved
github.com/zeromicro/go-zero/core/collection.Cache→github.com/zeromicro/go-zero/core/mathx.Unstable
- Direction
- com/zeromicro/go-zero/core/collection uses com/zeromicro/go-zero/core/mathx, so a change to com/zeromicro/go-zero/core/mathx can break com/zeromicro/go-zero/core/collection, while a change to com/zeromicro/go-zero/core/collection can't break com/zeromicro/go-zero/core/mathx.
- Position
- Below the diagonal: com/zeromicro/go-zero/core/collection uses a module listed above it, which is the healthy direction.
11→6 com/zeromicro/go-zero/core/collection uses com/zeromicro/go-zero/core/syncx✕
- Connections
- 1 pair of types, where a type in com/zeromicro/go-zero/core/collection uses a type in com/zeromicro/go-zero/core/syncx.
- The types involved
github.com/zeromicro/go-zero/core/collection.Cache→github.com/zeromicro/go-zero/core/syncx.SingleFlight
- Direction
- com/zeromicro/go-zero/core/collection uses com/zeromicro/go-zero/core/syncx, so a change to com/zeromicro/go-zero/core/syncx can break com/zeromicro/go-zero/core/collection, while a change to com/zeromicro/go-zero/core/collection can't break com/zeromicro/go-zero/core/syncx.
- Position
- Below the diagonal: com/zeromicro/go-zero/core/collection uses a module listed above it, which is the healthy direction.
11→8 com/zeromicro/go-zero/core/collection uses com/zeromicro/go-zero/core/timex✕
- Connections
- 2 pairs of types, where a type in com/zeromicro/go-zero/core/collection uses a type in com/zeromicro/go-zero/core/timex.
- The types involved
github.com/zeromicro/go-zero/core/collection.TimingWheel→github.com/zeromicro/go-zero/core/timex.Tickergithub.com/zeromicro/go-zero/core/collection.collection→github.com/zeromicro/go-zero/core/timex.Ticker
- Direction
- com/zeromicro/go-zero/core/collection uses com/zeromicro/go-zero/core/timex, so a change to com/zeromicro/go-zero/core/timex can break com/zeromicro/go-zero/core/collection, while a change to com/zeromicro/go-zero/core/collection can't break com/zeromicro/go-zero/core/timex.
- Position
- Below the diagonal: com/zeromicro/go-zero/core/collection uses a module listed above it, which is the healthy direction.
12→4 com/zeromicro/go-zero/core/discov/internal uses com/zeromicro/go-zero/core/mathx✕
- Connections
- 1 pair of types, where a type in com/zeromicro/go-zero/core/discov/internal uses a type in com/zeromicro/go-zero/core/mathx.
- The types involved
github.com/zeromicro/go-zero/core/discov/internal.internal→github.com/zeromicro/go-zero/core/mathx.Unstable
- Direction
- com/zeromicro/go-zero/core/discov/internal uses com/zeromicro/go-zero/core/mathx, so a change to com/zeromicro/go-zero/core/mathx can break com/zeromicro/go-zero/core/discov/internal, while a change to com/zeromicro/go-zero/core/discov/internal can't break com/zeromicro/go-zero/core/mathx.
- Position
- Below the diagonal: com/zeromicro/go-zero/core/discov/internal uses a module listed above it, which is the healthy direction.
12→6 com/zeromicro/go-zero/core/discov/internal uses com/zeromicro/go-zero/core/syncx✕
- Connections
- 1 pair of types, where a type in com/zeromicro/go-zero/core/discov/internal uses a type in com/zeromicro/go-zero/core/syncx.
- The types involved
github.com/zeromicro/go-zero/core/discov/internal.internal→github.com/zeromicro/go-zero/core/syncx.ResourceManager
- Direction
- com/zeromicro/go-zero/core/discov/internal uses com/zeromicro/go-zero/core/syncx, so a change to com/zeromicro/go-zero/core/syncx can break com/zeromicro/go-zero/core/discov/internal, while a change to com/zeromicro/go-zero/core/discov/internal can't break com/zeromicro/go-zero/core/syncx.
- Position
- Below the diagonal: com/zeromicro/go-zero/core/discov/internal uses a module listed above it, which is the healthy direction.
12→7 com/zeromicro/go-zero/core/discov/internal uses com/zeromicro/go-zero/core/threading✕
- Connections
- 1 pair of types, where a type in com/zeromicro/go-zero/core/discov/internal uses a type in com/zeromicro/go-zero/core/threading.
- The types involved
github.com/zeromicro/go-zero/core/discov/internal.cluster→github.com/zeromicro/go-zero/core/threading.RoutineGroup
- Direction
- com/zeromicro/go-zero/core/discov/internal uses com/zeromicro/go-zero/core/threading, so a change to com/zeromicro/go-zero/core/threading can break com/zeromicro/go-zero/core/discov/internal, while a change to com/zeromicro/go-zero/core/discov/internal can't break com/zeromicro/go-zero/core/threading.
- Position
- Below the diagonal: com/zeromicro/go-zero/core/discov/internal uses a module listed above it, which is the healthy direction.
13→6 com/zeromicro/go-zero/core/executors uses com/zeromicro/go-zero/core/syncx✕
- Connections
- 2 pairs of types, where a type in com/zeromicro/go-zero/core/executors uses a type in com/zeromicro/go-zero/core/syncx.
- The types involved
github.com/zeromicro/go-zero/core/executors.LessExecutor→github.com/zeromicro/go-zero/core/syncx.AtomicDurationgithub.com/zeromicro/go-zero/core/executors.PeriodicalExecutor→github.com/zeromicro/go-zero/core/syncx.Barrier
- Direction
- com/zeromicro/go-zero/core/executors uses com/zeromicro/go-zero/core/syncx, so a change to com/zeromicro/go-zero/core/syncx can break com/zeromicro/go-zero/core/executors, while a change to com/zeromicro/go-zero/core/executors can't break com/zeromicro/go-zero/core/syncx.
- Position
- Below the diagonal: com/zeromicro/go-zero/core/executors uses a module listed above it, which is the healthy direction.
14→6 com/zeromicro/go-zero/core/logx uses com/zeromicro/go-zero/core/syncx✕
- Connections
- 2 pairs of types, where a type in com/zeromicro/go-zero/core/logx uses a type in com/zeromicro/go-zero/core/syncx.
- The types involved
github.com/zeromicro/go-zero/core/logx.limitedExecutor→github.com/zeromicro/go-zero/core/syncx.AtomicDurationgithub.com/zeromicro/go-zero/core/logx.logx→github.com/zeromicro/go-zero/core/syncx.AtomicBool
- Direction
- com/zeromicro/go-zero/core/logx uses com/zeromicro/go-zero/core/syncx, so a change to com/zeromicro/go-zero/core/syncx can break com/zeromicro/go-zero/core/logx, while a change to com/zeromicro/go-zero/core/logx can't break com/zeromicro/go-zero/core/syncx.
- Position
- Below the diagonal: com/zeromicro/go-zero/core/logx uses a module listed above it, which is the healthy direction.
15→6 com/zeromicro/go-zero/core/prometheus uses com/zeromicro/go-zero/core/syncx✕
- Connections
- 1 pair of types, where a type in com/zeromicro/go-zero/core/prometheus uses a type in com/zeromicro/go-zero/core/syncx.
- The types involved
github.com/zeromicro/go-zero/core/prometheus.prometheus→github.com/zeromicro/go-zero/core/syncx.AtomicBool
- Direction
- com/zeromicro/go-zero/core/prometheus uses com/zeromicro/go-zero/core/syncx, so a change to com/zeromicro/go-zero/core/syncx can break com/zeromicro/go-zero/core/prometheus, while a change to com/zeromicro/go-zero/core/prometheus can't break com/zeromicro/go-zero/core/syncx.
- Position
- Below the diagonal: com/zeromicro/go-zero/core/prometheus uses a module listed above it, which is the healthy direction.
16→6 com/zeromicro/go-zero/internal/health uses com/zeromicro/go-zero/core/syncx✕
- Connections
- 1 pair of types, where a type in com/zeromicro/go-zero/internal/health uses a type in com/zeromicro/go-zero/core/syncx.
- The types involved
github.com/zeromicro/go-zero/internal/health.healthManager→github.com/zeromicro/go-zero/core/syncx.AtomicBool
- Direction
- com/zeromicro/go-zero/internal/health uses com/zeromicro/go-zero/core/syncx, so a change to com/zeromicro/go-zero/core/syncx can break com/zeromicro/go-zero/internal/health, while a change to com/zeromicro/go-zero/internal/health can't break com/zeromicro/go-zero/core/syncx.
- Position
- Below the diagonal: com/zeromicro/go-zero/internal/health uses a module listed above it, which is the healthy direction.
17→5 com/zeromicro/go-zero/rest/httpc/internal uses com/zeromicro/go-zero/core/metric✕
- Connections
- 2 pairs of types, where a type in com/zeromicro/go-zero/rest/httpc/internal uses a type in com/zeromicro/go-zero/core/metric.
- The types involved
github.com/zeromicro/go-zero/rest/httpc/internal.internal→github.com/zeromicro/go-zero/core/metric.CounterVecgithub.com/zeromicro/go-zero/rest/httpc/internal.internal→github.com/zeromicro/go-zero/core/metric.HistogramVec
- Direction
- com/zeromicro/go-zero/rest/httpc/internal uses com/zeromicro/go-zero/core/metric, so a change to com/zeromicro/go-zero/core/metric can break com/zeromicro/go-zero/rest/httpc/internal, while a change to com/zeromicro/go-zero/rest/httpc/internal can't break com/zeromicro/go-zero/core/metric.
- Position
- Below the diagonal: com/zeromicro/go-zero/rest/httpc/internal uses a module listed above it, which is the healthy direction.
18→3 com/zeromicro/go-zero/rest/httpx uses com/zeromicro/go-zero/core/mapping✕
- Connections
- 1 pair of types, where a type in com/zeromicro/go-zero/rest/httpx uses a type in com/zeromicro/go-zero/core/mapping.
- The types involved
github.com/zeromicro/go-zero/rest/httpx.httpx→github.com/zeromicro/go-zero/core/mapping.Unmarshaler
- Direction
- com/zeromicro/go-zero/rest/httpx uses com/zeromicro/go-zero/core/mapping, so a change to com/zeromicro/go-zero/core/mapping can break com/zeromicro/go-zero/rest/httpx, while a change to com/zeromicro/go-zero/rest/httpx can't break com/zeromicro/go-zero/core/mapping.
- Position
- Below the diagonal: com/zeromicro/go-zero/rest/httpx uses a module listed above it, which is the healthy direction.
19→4 com/zeromicro/go-zero/core/breaker uses com/zeromicro/go-zero/core/mathx✕
- Connections
- 1 pair of types, where a type in com/zeromicro/go-zero/core/breaker uses a type in com/zeromicro/go-zero/core/mathx.
- The types involved
github.com/zeromicro/go-zero/core/breaker.googleBreaker→github.com/zeromicro/go-zero/core/mathx.Proba
- Direction
- com/zeromicro/go-zero/core/breaker uses com/zeromicro/go-zero/core/mathx, so a change to com/zeromicro/go-zero/core/mathx can break com/zeromicro/go-zero/core/breaker, while a change to com/zeromicro/go-zero/core/breaker can't break com/zeromicro/go-zero/core/mathx.
- Position
- Below the diagonal: com/zeromicro/go-zero/core/breaker uses a module listed above it, which is the healthy direction.
19→6 com/zeromicro/go-zero/core/breaker uses com/zeromicro/go-zero/core/syncx✕
- Connections
- 1 pair of types, where a type in com/zeromicro/go-zero/core/breaker uses a type in com/zeromicro/go-zero/core/syncx.
- The types involved
github.com/zeromicro/go-zero/core/breaker.googleBreaker→github.com/zeromicro/go-zero/core/syncx.AtomicDuration
- Direction
- com/zeromicro/go-zero/core/breaker uses com/zeromicro/go-zero/core/syncx, so a change to com/zeromicro/go-zero/core/syncx can break com/zeromicro/go-zero/core/breaker, while a change to com/zeromicro/go-zero/core/breaker can't break com/zeromicro/go-zero/core/syncx.
- Position
- Below the diagonal: com/zeromicro/go-zero/core/breaker uses a module listed above it, which is the healthy direction.
19→11 com/zeromicro/go-zero/core/breaker uses com/zeromicro/go-zero/core/collection✕
- Connections
- 1 pair of types, where a type in com/zeromicro/go-zero/core/breaker uses a type in com/zeromicro/go-zero/core/collection.
- The types involved
github.com/zeromicro/go-zero/core/breaker.googleBreaker→github.com/zeromicro/go-zero/core/collection.RollingWindow
- Direction
- com/zeromicro/go-zero/core/breaker uses com/zeromicro/go-zero/core/collection, so a change to com/zeromicro/go-zero/core/collection can break com/zeromicro/go-zero/core/breaker, while a change to com/zeromicro/go-zero/core/breaker can't break com/zeromicro/go-zero/core/collection.
- Position
- Below the diagonal: com/zeromicro/go-zero/core/breaker uses a module listed above it, which is the healthy direction.
20→6 com/zeromicro/go-zero/core/discov uses com/zeromicro/go-zero/core/syncx✕
- Connections
- 2 pairs of types, where a type in com/zeromicro/go-zero/core/discov uses a type in com/zeromicro/go-zero/core/syncx.
- The types involved
github.com/zeromicro/go-zero/core/discov.Publisher→github.com/zeromicro/go-zero/core/syncx.DoneChangithub.com/zeromicro/go-zero/core/discov.container→github.com/zeromicro/go-zero/core/syncx.AtomicBool
- Direction
- com/zeromicro/go-zero/core/discov uses com/zeromicro/go-zero/core/syncx, so a change to com/zeromicro/go-zero/core/syncx can break com/zeromicro/go-zero/core/discov, while a change to com/zeromicro/go-zero/core/discov can't break com/zeromicro/go-zero/core/syncx.
- Position
- Below the diagonal: com/zeromicro/go-zero/core/discov uses a module listed above it, which is the healthy direction.
20→12 com/zeromicro/go-zero/core/discov uses com/zeromicro/go-zero/core/discov/internal✕
- Connections
- 4 pairs of types, where a type in com/zeromicro/go-zero/core/discov uses a type in com/zeromicro/go-zero/core/discov/internal.
- The types involved
github.com/zeromicro/go-zero/core/discov.Container→github.com/zeromicro/go-zero/core/discov/internal.KVgithub.com/zeromicro/go-zero/core/discov.Publisher→github.com/zeromicro/go-zero/core/discov/internal.EtcdClientgithub.com/zeromicro/go-zero/core/discov.container→github.com/zeromicro/go-zero/core/discov/internal.KVgithub.com/zeromicro/go-zero/core/discov.container→github.com/zeromicro/go-zero/core/discov/internal.UpdateListener
- Direction
- com/zeromicro/go-zero/core/discov uses com/zeromicro/go-zero/core/discov/internal, so a change to com/zeromicro/go-zero/core/discov/internal can break com/zeromicro/go-zero/core/discov, while a change to com/zeromicro/go-zero/core/discov can't break com/zeromicro/go-zero/core/discov/internal.
- Position
- Below the diagonal: com/zeromicro/go-zero/core/discov uses a module listed above it, which is the healthy direction.
21→6 com/zeromicro/go-zero/core/load uses com/zeromicro/go-zero/core/syncx✕
- Connections
- 5 pairs of types, where a type in com/zeromicro/go-zero/core/load uses a type in com/zeromicro/go-zero/core/syncx.
- The types involved
github.com/zeromicro/go-zero/core/load.ShedderGroup→github.com/zeromicro/go-zero/core/syncx.ResourceManagergithub.com/zeromicro/go-zero/core/load.adaptiveShedder→github.com/zeromicro/go-zero/core/syncx.AtomicBoolgithub.com/zeromicro/go-zero/core/load.adaptiveShedder→github.com/zeromicro/go-zero/core/syncx.AtomicDurationgithub.com/zeromicro/go-zero/core/load.adaptiveShedder→github.com/zeromicro/go-zero/core/syncx.SpinLockgithub.com/zeromicro/go-zero/core/load.load→github.com/zeromicro/go-zero/core/syncx.AtomicBool
- Direction
- com/zeromicro/go-zero/core/load uses com/zeromicro/go-zero/core/syncx, so a change to com/zeromicro/go-zero/core/syncx can break com/zeromicro/go-zero/core/load, while a change to com/zeromicro/go-zero/core/load can't break com/zeromicro/go-zero/core/syncx.
- Position
- Below the diagonal: com/zeromicro/go-zero/core/load uses a module listed above it, which is the healthy direction.
21→11 com/zeromicro/go-zero/core/load uses com/zeromicro/go-zero/core/collection✕
- Connections
- 2 pairs of types, where a type in com/zeromicro/go-zero/core/load uses a type in com/zeromicro/go-zero/core/collection.
- The types involved
github.com/zeromicro/go-zero/core/load.adaptiveShedder→github.com/zeromicro/go-zero/core/collection.Bucketgithub.com/zeromicro/go-zero/core/load.adaptiveShedder→github.com/zeromicro/go-zero/core/collection.RollingWindow
- Direction
- com/zeromicro/go-zero/core/load uses com/zeromicro/go-zero/core/collection, so a change to com/zeromicro/go-zero/core/collection can break com/zeromicro/go-zero/core/load, while a change to com/zeromicro/go-zero/core/load can't break com/zeromicro/go-zero/core/collection.
- Position
- Below the diagonal: com/zeromicro/go-zero/core/load uses a module listed above it, which is the healthy direction.
22→6 com/zeromicro/go-zero/core/stat uses com/zeromicro/go-zero/core/syncx✕
- Connections
- 1 pair of types, where a type in com/zeromicro/go-zero/core/stat uses a type in com/zeromicro/go-zero/core/syncx.
- The types involved
github.com/zeromicro/go-zero/core/stat.stat→github.com/zeromicro/go-zero/core/syncx.AtomicBool
- Direction
- com/zeromicro/go-zero/core/stat uses com/zeromicro/go-zero/core/syncx, so a change to com/zeromicro/go-zero/core/syncx can break com/zeromicro/go-zero/core/stat, while a change to com/zeromicro/go-zero/core/stat can't break com/zeromicro/go-zero/core/syncx.
- Position
- Below the diagonal: com/zeromicro/go-zero/core/stat uses a module listed above it, which is the healthy direction.
22→13 com/zeromicro/go-zero/core/stat uses com/zeromicro/go-zero/core/executors✕
- Connections
- 3 pairs of types, where a type in com/zeromicro/go-zero/core/stat uses a type in com/zeromicro/go-zero/core/executors.
- The types involved
github.com/zeromicro/go-zero/core/stat.Metrics→github.com/zeromicro/go-zero/core/executors.PeriodicalExecutorgithub.com/zeromicro/go-zero/core/stat.metricsContainer→github.com/zeromicro/go-zero/core/executors.TaskContainergithub.com/zeromicro/go-zero/core/stat.stat→github.com/zeromicro/go-zero/core/executors.LessExecutor
- Direction
- com/zeromicro/go-zero/core/stat uses com/zeromicro/go-zero/core/executors, so a change to com/zeromicro/go-zero/core/executors can break com/zeromicro/go-zero/core/stat, while a change to com/zeromicro/go-zero/core/stat can't break com/zeromicro/go-zero/core/executors.
- Position
- Below the diagonal: com/zeromicro/go-zero/core/stat uses a module listed above it, which is the healthy direction.
23→12 com/zeromicro/go-zero/core/configcenter/subscriber uses com/zeromicro/go-zero/core/discov/internal✕
- Connections
- 2 pairs of types, where a type in com/zeromicro/go-zero/core/configcenter/subscriber uses a type in com/zeromicro/go-zero/core/discov/internal.
- The types involved
github.com/zeromicro/go-zero/core/configcenter/subscriber.container→github.com/zeromicro/go-zero/core/discov/internal.KVgithub.com/zeromicro/go-zero/core/configcenter/subscriber.container→github.com/zeromicro/go-zero/core/discov/internal.UpdateListener
- Direction
- com/zeromicro/go-zero/core/configcenter/subscriber uses com/zeromicro/go-zero/core/discov/internal, so a change to com/zeromicro/go-zero/core/discov/internal can break com/zeromicro/go-zero/core/configcenter/subscriber, while a change to com/zeromicro/go-zero/core/configcenter/subscriber can't break com/zeromicro/go-zero/core/discov/internal.
- Position
- Below the diagonal: com/zeromicro/go-zero/core/configcenter/subscriber uses a module listed above it, which is the healthy direction.
23→20 com/zeromicro/go-zero/core/configcenter/subscriber uses com/zeromicro/go-zero/core/discov✕
- Connections
- 3 pairs of types, where a type in com/zeromicro/go-zero/core/configcenter/subscriber uses a type in com/zeromicro/go-zero/core/discov.
- The types involved
github.com/zeromicro/go-zero/core/configcenter/subscriber.container→github.com/zeromicro/go-zero/core/discov.Containergithub.com/zeromicro/go-zero/core/configcenter/subscriber.subscriber→github.com/zeromicro/go-zero/core/discov.EtcdConfgithub.com/zeromicro/go-zero/core/configcenter/subscriber.subscriber→github.com/zeromicro/go-zero/core/discov.SubOption
- Direction
- com/zeromicro/go-zero/core/configcenter/subscriber uses com/zeromicro/go-zero/core/discov, so a change to com/zeromicro/go-zero/core/discov can break com/zeromicro/go-zero/core/configcenter/subscriber, while a change to com/zeromicro/go-zero/core/configcenter/subscriber can't break com/zeromicro/go-zero/core/discov.
- Position
- Below the diagonal: com/zeromicro/go-zero/core/configcenter/subscriber uses a module listed above it, which is the healthy direction.
24→6 com/zeromicro/go-zero/core/stores/mon uses com/zeromicro/go-zero/core/syncx✕
- Connections
- 3 pairs of types, where a type in com/zeromicro/go-zero/core/stores/mon uses a type in com/zeromicro/go-zero/core/syncx.
- The types involved
github.com/zeromicro/go-zero/core/stores/mon.mon→github.com/zeromicro/go-zero/core/syncx.AtomicBoolgithub.com/zeromicro/go-zero/core/stores/mon.mon→github.com/zeromicro/go-zero/core/syncx.AtomicDurationgithub.com/zeromicro/go-zero/core/stores/mon.mon→github.com/zeromicro/go-zero/core/syncx.ResourceManager
- Direction
- com/zeromicro/go-zero/core/stores/mon uses com/zeromicro/go-zero/core/syncx, so a change to com/zeromicro/go-zero/core/syncx can break com/zeromicro/go-zero/core/stores/mon, while a change to com/zeromicro/go-zero/core/stores/mon can't break com/zeromicro/go-zero/core/syncx.
- Position
- Below the diagonal: com/zeromicro/go-zero/core/stores/mon uses a module listed above it, which is the healthy direction.
24→13 com/zeromicro/go-zero/core/stores/mon uses com/zeromicro/go-zero/core/executors✕
- Connections
- 2 pairs of types, where a type in com/zeromicro/go-zero/core/stores/mon uses a type in com/zeromicro/go-zero/core/executors.
- The types involved
github.com/zeromicro/go-zero/core/stores/mon.BulkInserter→github.com/zeromicro/go-zero/core/executors.PeriodicalExecutorgithub.com/zeromicro/go-zero/core/stores/mon.dbInserter→github.com/zeromicro/go-zero/core/executors.TaskContainer
- Direction
- com/zeromicro/go-zero/core/stores/mon uses com/zeromicro/go-zero/core/executors, so a change to com/zeromicro/go-zero/core/executors can break com/zeromicro/go-zero/core/stores/mon, while a change to com/zeromicro/go-zero/core/stores/mon can't break com/zeromicro/go-zero/core/executors.
- Position
- Below the diagonal: com/zeromicro/go-zero/core/stores/mon uses a module listed above it, which is the healthy direction.
24→19 com/zeromicro/go-zero/core/stores/mon uses com/zeromicro/go-zero/core/breaker✕
- Connections
- 5 pairs of types, where a type in com/zeromicro/go-zero/core/stores/mon uses a type in com/zeromicro/go-zero/core/breaker.
- The types involved
github.com/zeromicro/go-zero/core/stores/mon.Model→github.com/zeromicro/go-zero/core/breaker.Breakergithub.com/zeromicro/go-zero/core/stores/mon.Session→github.com/zeromicro/go-zero/core/breaker.Breakergithub.com/zeromicro/go-zero/core/stores/mon.decoratedCollection→github.com/zeromicro/go-zero/core/breaker.Breakergithub.com/zeromicro/go-zero/core/stores/mon.keepablePromise→github.com/zeromicro/go-zero/core/breaker.Promisegithub.com/zeromicro/go-zero/core/stores/mon.mon→github.com/zeromicro/go-zero/core/breaker.Breaker
- Direction
- com/zeromicro/go-zero/core/stores/mon uses com/zeromicro/go-zero/core/breaker, so a change to com/zeromicro/go-zero/core/breaker can break com/zeromicro/go-zero/core/stores/mon, while a change to com/zeromicro/go-zero/core/stores/mon can't break com/zeromicro/go-zero/core/breaker.
- Position
- Below the diagonal: com/zeromicro/go-zero/core/stores/mon uses a module listed above it, which is the healthy direction.
25→5 com/zeromicro/go-zero/core/stores/redis uses com/zeromicro/go-zero/core/metric✕
- Connections
- 2 pairs of types, where a type in com/zeromicro/go-zero/core/stores/redis uses a type in com/zeromicro/go-zero/core/metric.
- The types involved
github.com/zeromicro/go-zero/core/stores/redis.redis→github.com/zeromicro/go-zero/core/metric.CounterVecgithub.com/zeromicro/go-zero/core/stores/redis.redis→github.com/zeromicro/go-zero/core/metric.HistogramVec
- Direction
- com/zeromicro/go-zero/core/stores/redis uses com/zeromicro/go-zero/core/metric, so a change to com/zeromicro/go-zero/core/metric can break com/zeromicro/go-zero/core/stores/redis, while a change to com/zeromicro/go-zero/core/stores/redis can't break com/zeromicro/go-zero/core/metric.
- Position
- Below the diagonal: com/zeromicro/go-zero/core/stores/redis uses a module listed above it, which is the healthy direction.
25→6 com/zeromicro/go-zero/core/stores/redis uses com/zeromicro/go-zero/core/syncx✕
- Connections
- 2 pairs of types, where a type in com/zeromicro/go-zero/core/stores/redis uses a type in com/zeromicro/go-zero/core/syncx.
- The types involved
github.com/zeromicro/go-zero/core/stores/redis.redis→github.com/zeromicro/go-zero/core/syncx.AtomicDurationgithub.com/zeromicro/go-zero/core/stores/redis.redis→github.com/zeromicro/go-zero/core/syncx.ResourceManager
- Direction
- com/zeromicro/go-zero/core/stores/redis uses com/zeromicro/go-zero/core/syncx, so a change to com/zeromicro/go-zero/core/syncx can break com/zeromicro/go-zero/core/stores/redis, while a change to com/zeromicro/go-zero/core/stores/redis can't break com/zeromicro/go-zero/core/syncx.
- Position
- Below the diagonal: com/zeromicro/go-zero/core/stores/redis uses a module listed above it, which is the healthy direction.
25→19 com/zeromicro/go-zero/core/stores/redis uses com/zeromicro/go-zero/core/breaker✕
- Connections
- 2 pairs of types, where a type in com/zeromicro/go-zero/core/stores/redis uses a type in com/zeromicro/go-zero/core/breaker.
- The types involved
github.com/zeromicro/go-zero/core/stores/redis.Redis→github.com/zeromicro/go-zero/core/breaker.Breakergithub.com/zeromicro/go-zero/core/stores/redis.breakerHook→github.com/zeromicro/go-zero/core/breaker.Breaker
- Direction
- com/zeromicro/go-zero/core/stores/redis uses com/zeromicro/go-zero/core/breaker, so a change to com/zeromicro/go-zero/core/breaker can break com/zeromicro/go-zero/core/stores/redis, while a change to com/zeromicro/go-zero/core/stores/redis can't break com/zeromicro/go-zero/core/breaker.
- Position
- Below the diagonal: com/zeromicro/go-zero/core/stores/redis uses a module listed above it, which is the healthy direction.
26→5 com/zeromicro/go-zero/core/stores/sqlx uses com/zeromicro/go-zero/core/metric✕
- Connections
- 2 pairs of types, where a type in com/zeromicro/go-zero/core/stores/sqlx uses a type in com/zeromicro/go-zero/core/metric.
- The types involved
github.com/zeromicro/go-zero/core/stores/sqlx.sqlx→github.com/zeromicro/go-zero/core/metric.CounterVecgithub.com/zeromicro/go-zero/core/stores/sqlx.sqlx→github.com/zeromicro/go-zero/core/metric.HistogramVec
- Direction
- com/zeromicro/go-zero/core/stores/sqlx uses com/zeromicro/go-zero/core/metric, so a change to com/zeromicro/go-zero/core/metric can break com/zeromicro/go-zero/core/stores/sqlx, while a change to com/zeromicro/go-zero/core/stores/sqlx can't break com/zeromicro/go-zero/core/metric.
- Position
- Below the diagonal: com/zeromicro/go-zero/core/stores/sqlx uses a module listed above it, which is the healthy direction.
26→6 com/zeromicro/go-zero/core/stores/sqlx uses com/zeromicro/go-zero/core/syncx✕
- Connections
- 3 pairs of types, where a type in com/zeromicro/go-zero/core/stores/sqlx uses a type in com/zeromicro/go-zero/core/syncx.
- The types involved
github.com/zeromicro/go-zero/core/stores/sqlx.sqlx→github.com/zeromicro/go-zero/core/syncx.AtomicBoolgithub.com/zeromicro/go-zero/core/stores/sqlx.sqlx→github.com/zeromicro/go-zero/core/syncx.AtomicDurationgithub.com/zeromicro/go-zero/core/stores/sqlx.sqlx→github.com/zeromicro/go-zero/core/syncx.ResourceManager
- Direction
- com/zeromicro/go-zero/core/stores/sqlx uses com/zeromicro/go-zero/core/syncx, so a change to com/zeromicro/go-zero/core/syncx can break com/zeromicro/go-zero/core/stores/sqlx, while a change to com/zeromicro/go-zero/core/stores/sqlx can't break com/zeromicro/go-zero/core/syncx.
- Position
- Below the diagonal: com/zeromicro/go-zero/core/stores/sqlx uses a module listed above it, which is the healthy direction.
26→13 com/zeromicro/go-zero/core/stores/sqlx uses com/zeromicro/go-zero/core/executors✕
- Connections
- 2 pairs of types, where a type in com/zeromicro/go-zero/core/stores/sqlx uses a type in com/zeromicro/go-zero/core/executors.
- The types involved
github.com/zeromicro/go-zero/core/stores/sqlx.BulkInserter→github.com/zeromicro/go-zero/core/executors.PeriodicalExecutorgithub.com/zeromicro/go-zero/core/stores/sqlx.dbInserter→github.com/zeromicro/go-zero/core/executors.TaskContainer
- Direction
- com/zeromicro/go-zero/core/stores/sqlx uses com/zeromicro/go-zero/core/executors, so a change to com/zeromicro/go-zero/core/executors can break com/zeromicro/go-zero/core/stores/sqlx, while a change to com/zeromicro/go-zero/core/stores/sqlx can't break com/zeromicro/go-zero/core/executors.
- Position
- Below the diagonal: com/zeromicro/go-zero/core/stores/sqlx uses a module listed above it, which is the healthy direction.
26→19 com/zeromicro/go-zero/core/stores/sqlx uses com/zeromicro/go-zero/core/breaker✕
- Connections
- 4 pairs of types, where a type in com/zeromicro/go-zero/core/stores/sqlx uses a type in com/zeromicro/go-zero/core/breaker.
- The types involved
github.com/zeromicro/go-zero/core/stores/sqlx.commonSqlConn→github.com/zeromicro/go-zero/core/breaker.Acceptablegithub.com/zeromicro/go-zero/core/stores/sqlx.commonSqlConn→github.com/zeromicro/go-zero/core/breaker.Breakergithub.com/zeromicro/go-zero/core/stores/sqlx.statement→github.com/zeromicro/go-zero/core/breaker.Acceptablegithub.com/zeromicro/go-zero/core/stores/sqlx.statement→github.com/zeromicro/go-zero/core/breaker.Breaker
- Direction
- com/zeromicro/go-zero/core/stores/sqlx uses com/zeromicro/go-zero/core/breaker, so a change to com/zeromicro/go-zero/core/breaker can break com/zeromicro/go-zero/core/stores/sqlx, while a change to com/zeromicro/go-zero/core/stores/sqlx can't break com/zeromicro/go-zero/core/breaker.
- Position
- Below the diagonal: com/zeromicro/go-zero/core/stores/sqlx uses a module listed above it, which is the healthy direction.
27→1 com/zeromicro/go-zero/rest/handler uses com/zeromicro/go-zero/core/codec✕
- Connections
- 1 pair of types, where a type in com/zeromicro/go-zero/rest/handler uses a type in com/zeromicro/go-zero/core/codec.
- The types involved
github.com/zeromicro/go-zero/rest/handler.handler→github.com/zeromicro/go-zero/core/codec.RsaDecrypter
- Direction
- com/zeromicro/go-zero/rest/handler uses com/zeromicro/go-zero/core/codec, so a change to com/zeromicro/go-zero/core/codec can break com/zeromicro/go-zero/rest/handler, while a change to com/zeromicro/go-zero/rest/handler can't break com/zeromicro/go-zero/core/codec.
- Position
- Below the diagonal: com/zeromicro/go-zero/rest/handler uses a module listed above it, which is the healthy direction.
27→5 com/zeromicro/go-zero/rest/handler uses com/zeromicro/go-zero/core/metric✕
- Connections
- 2 pairs of types, where a type in com/zeromicro/go-zero/rest/handler uses a type in com/zeromicro/go-zero/core/metric.
- The types involved
github.com/zeromicro/go-zero/rest/handler.handler→github.com/zeromicro/go-zero/core/metric.CounterVecgithub.com/zeromicro/go-zero/rest/handler.handler→github.com/zeromicro/go-zero/core/metric.HistogramVec
- Direction
- com/zeromicro/go-zero/rest/handler uses com/zeromicro/go-zero/core/metric, so a change to com/zeromicro/go-zero/core/metric can break com/zeromicro/go-zero/rest/handler, while a change to com/zeromicro/go-zero/rest/handler can't break com/zeromicro/go-zero/core/metric.
- Position
- Below the diagonal: com/zeromicro/go-zero/rest/handler uses a module listed above it, which is the healthy direction.
27→6 com/zeromicro/go-zero/rest/handler uses com/zeromicro/go-zero/core/syncx✕
- Connections
- 1 pair of types, where a type in com/zeromicro/go-zero/rest/handler uses a type in com/zeromicro/go-zero/core/syncx.
- The types involved
github.com/zeromicro/go-zero/rest/handler.handler→github.com/zeromicro/go-zero/core/syncx.AtomicDuration
- Direction
- com/zeromicro/go-zero/rest/handler uses com/zeromicro/go-zero/core/syncx, so a change to com/zeromicro/go-zero/core/syncx can break com/zeromicro/go-zero/rest/handler, while a change to com/zeromicro/go-zero/rest/handler can't break com/zeromicro/go-zero/core/syncx.
- Position
- Below the diagonal: com/zeromicro/go-zero/rest/handler uses a module listed above it, which is the healthy direction.
27→9 com/zeromicro/go-zero/rest/handler uses com/zeromicro/go-zero/core/utils✕
- Connections
- 1 pair of types, where a type in com/zeromicro/go-zero/rest/handler uses a type in com/zeromicro/go-zero/core/utils.
- The types involved
github.com/zeromicro/go-zero/rest/handler.handler→github.com/zeromicro/go-zero/core/utils.ElapsedTimer
- Direction
- com/zeromicro/go-zero/rest/handler uses com/zeromicro/go-zero/core/utils, so a change to com/zeromicro/go-zero/core/utils can break com/zeromicro/go-zero/rest/handler, while a change to com/zeromicro/go-zero/rest/handler can't break com/zeromicro/go-zero/core/utils.
- Position
- Below the diagonal: com/zeromicro/go-zero/rest/handler uses a module listed above it, which is the healthy direction.
27→10 com/zeromicro/go-zero/rest/handler uses com/zeromicro/go-zero/rest/internal✕
- Connections
- 1 pair of types, where a type in com/zeromicro/go-zero/rest/handler uses a type in com/zeromicro/go-zero/rest/internal.
- The types involved
github.com/zeromicro/go-zero/rest/handler.handler→github.com/zeromicro/go-zero/rest/internal.LogCollector
- Direction
- com/zeromicro/go-zero/rest/handler uses com/zeromicro/go-zero/rest/internal, so a change to com/zeromicro/go-zero/rest/internal can break com/zeromicro/go-zero/rest/handler, while a change to com/zeromicro/go-zero/rest/handler can't break com/zeromicro/go-zero/rest/internal.
- Position
- Below the diagonal: com/zeromicro/go-zero/rest/handler uses a module listed above it, which is the healthy direction.
27→21 com/zeromicro/go-zero/rest/handler uses com/zeromicro/go-zero/core/load✕
- Connections
- 2 pairs of types, where a type in com/zeromicro/go-zero/rest/handler uses a type in com/zeromicro/go-zero/core/load.
- The types involved
github.com/zeromicro/go-zero/rest/handler.handler→github.com/zeromicro/go-zero/core/load.Sheddergithub.com/zeromicro/go-zero/rest/handler.handler→github.com/zeromicro/go-zero/core/load.SheddingStat
- Direction
- com/zeromicro/go-zero/rest/handler uses com/zeromicro/go-zero/core/load, so a change to com/zeromicro/go-zero/core/load can break com/zeromicro/go-zero/rest/handler, while a change to com/zeromicro/go-zero/rest/handler can't break com/zeromicro/go-zero/core/load.
- Position
- Below the diagonal: com/zeromicro/go-zero/rest/handler uses a module listed above it, which is the healthy direction.
27→22 com/zeromicro/go-zero/rest/handler uses com/zeromicro/go-zero/core/stat✕
- Connections
- 1 pair of types, where a type in com/zeromicro/go-zero/rest/handler uses a type in com/zeromicro/go-zero/core/stat.
- The types involved
github.com/zeromicro/go-zero/rest/handler.handler→github.com/zeromicro/go-zero/core/stat.Metrics
- Direction
- com/zeromicro/go-zero/rest/handler uses com/zeromicro/go-zero/core/stat, so a change to com/zeromicro/go-zero/core/stat can break com/zeromicro/go-zero/rest/handler, while a change to com/zeromicro/go-zero/rest/handler can't break com/zeromicro/go-zero/core/stat.
- Position
- Below the diagonal: com/zeromicro/go-zero/rest/handler uses a module listed above it, which is the healthy direction.
28→2 com/zeromicro/go-zero/core/stores/cache uses com/zeromicro/go-zero/core/hash✕
- Connections
- 1 pair of types, where a type in com/zeromicro/go-zero/core/stores/cache uses a type in com/zeromicro/go-zero/core/hash.
- The types involved
github.com/zeromicro/go-zero/core/stores/cache.cacheCluster→github.com/zeromicro/go-zero/core/hash.ConsistentHash
- Direction
- com/zeromicro/go-zero/core/stores/cache uses com/zeromicro/go-zero/core/hash, so a change to com/zeromicro/go-zero/core/hash can break com/zeromicro/go-zero/core/stores/cache, while a change to com/zeromicro/go-zero/core/stores/cache can't break com/zeromicro/go-zero/core/hash.
- Position
- Below the diagonal: com/zeromicro/go-zero/core/stores/cache uses a module listed above it, which is the healthy direction.
28→4 com/zeromicro/go-zero/core/stores/cache uses com/zeromicro/go-zero/core/mathx✕
- Connections
- 1 pair of types, where a type in com/zeromicro/go-zero/core/stores/cache uses a type in com/zeromicro/go-zero/core/mathx.
- The types involved
github.com/zeromicro/go-zero/core/stores/cache.cacheNode→github.com/zeromicro/go-zero/core/mathx.Unstable
- Direction
- com/zeromicro/go-zero/core/stores/cache uses com/zeromicro/go-zero/core/mathx, so a change to com/zeromicro/go-zero/core/mathx can break com/zeromicro/go-zero/core/stores/cache, while a change to com/zeromicro/go-zero/core/stores/cache can't break com/zeromicro/go-zero/core/mathx.
- Position
- Below the diagonal: com/zeromicro/go-zero/core/stores/cache uses a module listed above it, which is the healthy direction.
28→6 com/zeromicro/go-zero/core/stores/cache uses com/zeromicro/go-zero/core/syncx✕
- Connections
- 2 pairs of types, where a type in com/zeromicro/go-zero/core/stores/cache uses a type in com/zeromicro/go-zero/core/syncx.
- The types involved
github.com/zeromicro/go-zero/core/stores/cache.cache→github.com/zeromicro/go-zero/core/syncx.SingleFlightgithub.com/zeromicro/go-zero/core/stores/cache.cacheNode→github.com/zeromicro/go-zero/core/syncx.SingleFlight
- Direction
- com/zeromicro/go-zero/core/stores/cache uses com/zeromicro/go-zero/core/syncx, so a change to com/zeromicro/go-zero/core/syncx can break com/zeromicro/go-zero/core/stores/cache, while a change to com/zeromicro/go-zero/core/stores/cache can't break com/zeromicro/go-zero/core/syncx.
- Position
- Below the diagonal: com/zeromicro/go-zero/core/stores/cache uses a module listed above it, which is the healthy direction.
28→7 com/zeromicro/go-zero/core/stores/cache uses com/zeromicro/go-zero/core/threading✕
- Connections
- 1 pair of types, where a type in com/zeromicro/go-zero/core/stores/cache uses a type in com/zeromicro/go-zero/core/threading.
- The types involved
github.com/zeromicro/go-zero/core/stores/cache.cache→github.com/zeromicro/go-zero/core/threading.TaskRunner
- Direction
- com/zeromicro/go-zero/core/stores/cache uses com/zeromicro/go-zero/core/threading, so a change to com/zeromicro/go-zero/core/threading can break com/zeromicro/go-zero/core/stores/cache, while a change to com/zeromicro/go-zero/core/stores/cache can't break com/zeromicro/go-zero/core/threading.
- Position
- Below the diagonal: com/zeromicro/go-zero/core/stores/cache uses a module listed above it, which is the healthy direction.
28→8 com/zeromicro/go-zero/core/stores/cache uses com/zeromicro/go-zero/core/timex✕
- Connections
- 1 pair of types, where a type in com/zeromicro/go-zero/core/stores/cache uses a type in com/zeromicro/go-zero/core/timex.
- The types involved
github.com/zeromicro/go-zero/core/stores/cache.Stat→github.com/zeromicro/go-zero/core/timex.Ticker
- Direction
- com/zeromicro/go-zero/core/stores/cache uses com/zeromicro/go-zero/core/timex, so a change to com/zeromicro/go-zero/core/timex can break com/zeromicro/go-zero/core/stores/cache, while a change to com/zeromicro/go-zero/core/stores/cache can't break com/zeromicro/go-zero/core/timex.
- Position
- Below the diagonal: com/zeromicro/go-zero/core/stores/cache uses a module listed above it, which is the healthy direction.
28→25 com/zeromicro/go-zero/core/stores/cache uses com/zeromicro/go-zero/core/stores/redis✕
- Connections
- 2 pairs of types, where a type in com/zeromicro/go-zero/core/stores/cache uses a type in com/zeromicro/go-zero/core/stores/redis.
- The types involved
github.com/zeromicro/go-zero/core/stores/cache.cache→github.com/zeromicro/go-zero/core/stores/redis.Redisgithub.com/zeromicro/go-zero/core/stores/cache.cacheNode→github.com/zeromicro/go-zero/core/stores/redis.Redis
- Direction
- com/zeromicro/go-zero/core/stores/cache uses com/zeromicro/go-zero/core/stores/redis, so a change to com/zeromicro/go-zero/core/stores/redis can break com/zeromicro/go-zero/core/stores/cache, while a change to com/zeromicro/go-zero/core/stores/cache can't break com/zeromicro/go-zero/core/stores/redis.
- Position
- Below the diagonal: com/zeromicro/go-zero/core/stores/cache uses a module listed above it, which is the healthy direction.
29→10 com/zeromicro/go-zero/rest uses com/zeromicro/go-zero/rest/internal✕
- Connections
- 2 pairs of types, where a type in com/zeromicro/go-zero/rest uses a type in com/zeromicro/go-zero/rest/internal.
- The types involved
github.com/zeromicro/go-zero/rest.Server→github.com/zeromicro/go-zero/rest/internal.StartOptiongithub.com/zeromicro/go-zero/rest.engine→github.com/zeromicro/go-zero/rest/internal.StartOption
- Direction
- com/zeromicro/go-zero/rest uses com/zeromicro/go-zero/rest/internal, so a change to com/zeromicro/go-zero/rest/internal can break com/zeromicro/go-zero/rest, while a change to com/zeromicro/go-zero/rest can't break com/zeromicro/go-zero/rest/internal.
- Position
- Below the diagonal: com/zeromicro/go-zero/rest uses a module listed above it, which is the healthy direction.
29→18 com/zeromicro/go-zero/rest uses com/zeromicro/go-zero/rest/httpx✕
- Connections
- 5 pairs of types, where a type in com/zeromicro/go-zero/rest uses a type in com/zeromicro/go-zero/rest/httpx.
- The types involved
github.com/zeromicro/go-zero/rest.Server→github.com/zeromicro/go-zero/rest/httpx.Routergithub.com/zeromicro/go-zero/rest.corsRouter→github.com/zeromicro/go-zero/rest/httpx.Routergithub.com/zeromicro/go-zero/rest.engine→github.com/zeromicro/go-zero/rest/httpx.Routergithub.com/zeromicro/go-zero/rest.fileServingRouter→github.com/zeromicro/go-zero/rest/httpx.Routergithub.com/zeromicro/go-zero/rest.rest→github.com/zeromicro/go-zero/rest/httpx.Router
- Direction
- com/zeromicro/go-zero/rest uses com/zeromicro/go-zero/rest/httpx, so a change to com/zeromicro/go-zero/rest/httpx can break com/zeromicro/go-zero/rest, while a change to com/zeromicro/go-zero/rest can't break com/zeromicro/go-zero/rest/httpx.
- Position
- Below the diagonal: com/zeromicro/go-zero/rest uses a module listed above it, which is the healthy direction.
29→21 com/zeromicro/go-zero/rest uses com/zeromicro/go-zero/core/load✕
- Connections
- 1 pair of types, where a type in com/zeromicro/go-zero/rest uses a type in com/zeromicro/go-zero/core/load.
- The types involved
github.com/zeromicro/go-zero/rest.engine→github.com/zeromicro/go-zero/core/load.Shedder
- Direction
- com/zeromicro/go-zero/rest uses com/zeromicro/go-zero/core/load, so a change to com/zeromicro/go-zero/core/load can break com/zeromicro/go-zero/rest, while a change to com/zeromicro/go-zero/rest can't break com/zeromicro/go-zero/core/load.
- Position
- Below the diagonal: com/zeromicro/go-zero/rest uses a module listed above it, which is the healthy direction.
29→22 com/zeromicro/go-zero/rest uses com/zeromicro/go-zero/core/stat✕
- Connections
- 1 pair of types, where a type in com/zeromicro/go-zero/rest uses a type in com/zeromicro/go-zero/core/stat.
- The types involved
github.com/zeromicro/go-zero/rest.engine→github.com/zeromicro/go-zero/core/stat.Metrics
- Direction
- com/zeromicro/go-zero/rest uses com/zeromicro/go-zero/core/stat, so a change to com/zeromicro/go-zero/core/stat can break com/zeromicro/go-zero/rest, while a change to com/zeromicro/go-zero/rest can't break com/zeromicro/go-zero/core/stat.
- Position
- Below the diagonal: com/zeromicro/go-zero/rest uses a module listed above it, which is the healthy direction.
29→27 com/zeromicro/go-zero/rest uses com/zeromicro/go-zero/rest/handler✕
- Connections
- 4 pairs of types, where a type in com/zeromicro/go-zero/rest uses a type in com/zeromicro/go-zero/rest/handler.
- The types involved
github.com/zeromicro/go-zero/rest.engine→github.com/zeromicro/go-zero/rest/handler.UnauthorizedCallbackgithub.com/zeromicro/go-zero/rest.engine→github.com/zeromicro/go-zero/rest/handler.UnsignedCallbackgithub.com/zeromicro/go-zero/rest.rest→github.com/zeromicro/go-zero/rest/handler.UnauthorizedCallbackgithub.com/zeromicro/go-zero/rest.rest→github.com/zeromicro/go-zero/rest/handler.UnsignedCallback
- Direction
- com/zeromicro/go-zero/rest uses com/zeromicro/go-zero/rest/handler, so a change to com/zeromicro/go-zero/rest/handler can break com/zeromicro/go-zero/rest, while a change to com/zeromicro/go-zero/rest can't break com/zeromicro/go-zero/rest/handler.
- Position
- Below the diagonal: com/zeromicro/go-zero/rest uses a module listed above it, which is the healthy direction.
29→34 com/zeromicro/go-zero/rest uses com/zeromicro/go-zero/mcp part of a loop✕
- Connections
- 1 pair of types, where a type in com/zeromicro/go-zero/rest uses a type in com/zeromicro/go-zero/mcp.
- The types involved
github.com/zeromicro/go-zero/rest.Server→github.com/zeromicro/go-zero/mcp.McpServer
- Direction
- com/zeromicro/go-zero/rest uses com/zeromicro/go-zero/mcp, so a change to com/zeromicro/go-zero/mcp can break com/zeromicro/go-zero/rest, while a change to com/zeromicro/go-zero/rest can't break com/zeromicro/go-zero/mcp.
- Position
- Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
29→36 com/zeromicro/go-zero/rest uses com/zeromicro/go-zero/core/service part of a loop✕
- Connections
- 1 pair of types, where a type in com/zeromicro/go-zero/rest uses a type in com/zeromicro/go-zero/core/service.
- The types involved
github.com/zeromicro/go-zero/rest.Server→github.com/zeromicro/go-zero/core/service.Service
- Direction
- com/zeromicro/go-zero/rest uses com/zeromicro/go-zero/core/service, so a change to com/zeromicro/go-zero/core/service can break com/zeromicro/go-zero/rest, while a change to com/zeromicro/go-zero/rest can't break com/zeromicro/go-zero/core/service.
- Position
- Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
29→38 com/zeromicro/go-zero/rest uses com/zeromicro/go-zero/core/queue part of a loop✕
- Connections
- 1 pair of types, where a type in com/zeromicro/go-zero/rest uses a type in com/zeromicro/go-zero/core/queue.
- The types involved
github.com/zeromicro/go-zero/rest.Server→github.com/zeromicro/go-zero/core/queue.MessageQueue
- Direction
- com/zeromicro/go-zero/rest uses com/zeromicro/go-zero/core/queue, so a change to com/zeromicro/go-zero/core/queue can break com/zeromicro/go-zero/rest, while a change to com/zeromicro/go-zero/rest can't break com/zeromicro/go-zero/core/queue.
- Position
- Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
30→11 com/zeromicro/go-zero/zrpc/internal/auth uses com/zeromicro/go-zero/core/collection✕
- Connections
- 1 pair of types, where a type in com/zeromicro/go-zero/zrpc/internal/auth uses a type in com/zeromicro/go-zero/core/collection.
- The types involved
github.com/zeromicro/go-zero/zrpc/internal/auth.Authenticator→github.com/zeromicro/go-zero/core/collection.Cache
- Direction
- com/zeromicro/go-zero/zrpc/internal/auth uses com/zeromicro/go-zero/core/collection, so a change to com/zeromicro/go-zero/core/collection can break com/zeromicro/go-zero/zrpc/internal/auth, while a change to com/zeromicro/go-zero/zrpc/internal/auth can't break com/zeromicro/go-zero/core/collection.
- Position
- Below the diagonal: com/zeromicro/go-zero/zrpc/internal/auth uses a module listed above it, which is the healthy direction.
30→25 com/zeromicro/go-zero/zrpc/internal/auth uses com/zeromicro/go-zero/core/stores/redis✕
- Connections
- 2 pairs of types, where a type in com/zeromicro/go-zero/zrpc/internal/auth uses a type in com/zeromicro/go-zero/core/stores/redis.
- The types involved
github.com/zeromicro/go-zero/zrpc/internal/auth.Authenticator→github.com/zeromicro/go-zero/core/stores/redis.Redisgithub.com/zeromicro/go-zero/zrpc/internal/auth.auth→github.com/zeromicro/go-zero/core/stores/redis.Redis
- Direction
- com/zeromicro/go-zero/zrpc/internal/auth uses com/zeromicro/go-zero/core/stores/redis, so a change to com/zeromicro/go-zero/core/stores/redis can break com/zeromicro/go-zero/zrpc/internal/auth, while a change to com/zeromicro/go-zero/zrpc/internal/auth can't break com/zeromicro/go-zero/core/stores/redis.
- Position
- Below the diagonal: com/zeromicro/go-zero/zrpc/internal/auth uses a module listed above it, which is the healthy direction.
31→2 com/zeromicro/go-zero/core/stores/kv uses com/zeromicro/go-zero/core/hash✕
- Connections
- 1 pair of types, where a type in com/zeromicro/go-zero/core/stores/kv uses a type in com/zeromicro/go-zero/core/hash.
- The types involved
github.com/zeromicro/go-zero/core/stores/kv.clusterStore→github.com/zeromicro/go-zero/core/hash.ConsistentHash
- Direction
- com/zeromicro/go-zero/core/stores/kv uses com/zeromicro/go-zero/core/hash, so a change to com/zeromicro/go-zero/core/hash can break com/zeromicro/go-zero/core/stores/kv, while a change to com/zeromicro/go-zero/core/stores/kv can't break com/zeromicro/go-zero/core/hash.
- Position
- Below the diagonal: com/zeromicro/go-zero/core/stores/kv uses a module listed above it, which is the healthy direction.
31→25 com/zeromicro/go-zero/core/stores/kv uses com/zeromicro/go-zero/core/stores/redis✕
- Connections
- 3 pairs of types, where a type in com/zeromicro/go-zero/core/stores/kv uses a type in com/zeromicro/go-zero/core/stores/redis.
- The types involved
github.com/zeromicro/go-zero/core/stores/kv.Store→github.com/zeromicro/go-zero/core/stores/redis.Pairgithub.com/zeromicro/go-zero/core/stores/kv.clusterStore→github.com/zeromicro/go-zero/core/stores/redis.Pairgithub.com/zeromicro/go-zero/core/stores/kv.clusterStore→github.com/zeromicro/go-zero/core/stores/redis.Redis
- Direction
- com/zeromicro/go-zero/core/stores/kv uses com/zeromicro/go-zero/core/stores/redis, so a change to com/zeromicro/go-zero/core/stores/redis can break com/zeromicro/go-zero/core/stores/kv, while a change to com/zeromicro/go-zero/core/stores/kv can't break com/zeromicro/go-zero/core/stores/redis.
- Position
- Below the diagonal: com/zeromicro/go-zero/core/stores/kv uses a module listed above it, which is the healthy direction.
31→28 com/zeromicro/go-zero/core/stores/kv uses com/zeromicro/go-zero/core/stores/cache✕
- Connections
- 1 pair of types, where a type in com/zeromicro/go-zero/core/stores/kv uses a type in com/zeromicro/go-zero/core/stores/cache.
- The types involved
github.com/zeromicro/go-zero/core/stores/kv.kv→github.com/zeromicro/go-zero/core/stores/cache.ClusterConf
- Direction
- com/zeromicro/go-zero/core/stores/kv uses com/zeromicro/go-zero/core/stores/cache, so a change to com/zeromicro/go-zero/core/stores/cache can break com/zeromicro/go-zero/core/stores/kv, while a change to com/zeromicro/go-zero/core/stores/kv can't break com/zeromicro/go-zero/core/stores/cache.
- Position
- Below the diagonal: com/zeromicro/go-zero/core/stores/kv uses a module listed above it, which is the healthy direction.
32→6 com/zeromicro/go-zero/core/stores/monc uses com/zeromicro/go-zero/core/syncx✕
- Connections
- 1 pair of types, where a type in com/zeromicro/go-zero/core/stores/monc uses a type in com/zeromicro/go-zero/core/syncx.
- The types involved
github.com/zeromicro/go-zero/core/stores/monc.monc→github.com/zeromicro/go-zero/core/syncx.SingleFlight
- Direction
- com/zeromicro/go-zero/core/stores/monc uses com/zeromicro/go-zero/core/syncx, so a change to com/zeromicro/go-zero/core/syncx can break com/zeromicro/go-zero/core/stores/monc, while a change to com/zeromicro/go-zero/core/stores/monc can't break com/zeromicro/go-zero/core/syncx.
- Position
- Below the diagonal: com/zeromicro/go-zero/core/stores/monc uses a module listed above it, which is the healthy direction.
32→25 com/zeromicro/go-zero/core/stores/monc uses com/zeromicro/go-zero/core/stores/redis✕
- Connections
- 1 pair of types, where a type in com/zeromicro/go-zero/core/stores/monc uses a type in com/zeromicro/go-zero/core/stores/redis.
- The types involved
github.com/zeromicro/go-zero/core/stores/monc.monc→github.com/zeromicro/go-zero/core/stores/redis.Redis
- Direction
- com/zeromicro/go-zero/core/stores/monc uses com/zeromicro/go-zero/core/stores/redis, so a change to com/zeromicro/go-zero/core/stores/redis can break com/zeromicro/go-zero/core/stores/monc, while a change to com/zeromicro/go-zero/core/stores/monc can't break com/zeromicro/go-zero/core/stores/redis.
- Position
- Below the diagonal: com/zeromicro/go-zero/core/stores/monc uses a module listed above it, which is the healthy direction.
32→28 com/zeromicro/go-zero/core/stores/monc uses com/zeromicro/go-zero/core/stores/cache✕
- Connections
- 5 pairs of types, where a type in com/zeromicro/go-zero/core/stores/monc uses a type in com/zeromicro/go-zero/core/stores/cache.
- The types involved
github.com/zeromicro/go-zero/core/stores/monc.Model→github.com/zeromicro/go-zero/core/stores/cache.Cachegithub.com/zeromicro/go-zero/core/stores/monc.monc→github.com/zeromicro/go-zero/core/stores/cache.Cachegithub.com/zeromicro/go-zero/core/stores/monc.monc→github.com/zeromicro/go-zero/core/stores/cache.ClusterConfgithub.com/zeromicro/go-zero/core/stores/monc.monc→github.com/zeromicro/go-zero/core/stores/cache.Optiongithub.com/zeromicro/go-zero/core/stores/monc.monc→github.com/zeromicro/go-zero/core/stores/cache.Stat
- Direction
- com/zeromicro/go-zero/core/stores/monc uses com/zeromicro/go-zero/core/stores/cache, so a change to com/zeromicro/go-zero/core/stores/cache can break com/zeromicro/go-zero/core/stores/monc, while a change to com/zeromicro/go-zero/core/stores/monc can't break com/zeromicro/go-zero/core/stores/cache.
- Position
- Below the diagonal: com/zeromicro/go-zero/core/stores/monc uses a module listed above it, which is the healthy direction.
33→6 com/zeromicro/go-zero/core/stores/sqlc uses com/zeromicro/go-zero/core/syncx✕
- Connections
- 1 pair of types, where a type in com/zeromicro/go-zero/core/stores/sqlc uses a type in com/zeromicro/go-zero/core/syncx.
- The types involved
github.com/zeromicro/go-zero/core/stores/sqlc.sqlc→github.com/zeromicro/go-zero/core/syncx.SingleFlight
- Direction
- com/zeromicro/go-zero/core/stores/sqlc uses com/zeromicro/go-zero/core/syncx, so a change to com/zeromicro/go-zero/core/syncx can break com/zeromicro/go-zero/core/stores/sqlc, while a change to com/zeromicro/go-zero/core/stores/sqlc can't break com/zeromicro/go-zero/core/syncx.
- Position
- Below the diagonal: com/zeromicro/go-zero/core/stores/sqlc uses a module listed above it, which is the healthy direction.
33→25 com/zeromicro/go-zero/core/stores/sqlc uses com/zeromicro/go-zero/core/stores/redis✕
- Connections
- 1 pair of types, where a type in com/zeromicro/go-zero/core/stores/sqlc uses a type in com/zeromicro/go-zero/core/stores/redis.
- The types involved
github.com/zeromicro/go-zero/core/stores/sqlc.sqlc→github.com/zeromicro/go-zero/core/stores/redis.Redis
- Direction
- com/zeromicro/go-zero/core/stores/sqlc uses com/zeromicro/go-zero/core/stores/redis, so a change to com/zeromicro/go-zero/core/stores/redis can break com/zeromicro/go-zero/core/stores/sqlc, while a change to com/zeromicro/go-zero/core/stores/sqlc can't break com/zeromicro/go-zero/core/stores/redis.
- Position
- Below the diagonal: com/zeromicro/go-zero/core/stores/sqlc uses a module listed above it, which is the healthy direction.
33→26 com/zeromicro/go-zero/core/stores/sqlc uses com/zeromicro/go-zero/core/stores/sqlx✕
- Connections
- 3 pairs of types, where a type in com/zeromicro/go-zero/core/stores/sqlc uses a type in com/zeromicro/go-zero/core/stores/sqlx.
- The types involved
github.com/zeromicro/go-zero/core/stores/sqlc.CachedConn→github.com/zeromicro/go-zero/core/stores/sqlx.Sessiongithub.com/zeromicro/go-zero/core/stores/sqlc.CachedConn→github.com/zeromicro/go-zero/core/stores/sqlx.SqlConngithub.com/zeromicro/go-zero/core/stores/sqlc.sqlc→github.com/zeromicro/go-zero/core/stores/sqlx.SqlConn
- Direction
- com/zeromicro/go-zero/core/stores/sqlc uses com/zeromicro/go-zero/core/stores/sqlx, so a change to com/zeromicro/go-zero/core/stores/sqlx can break com/zeromicro/go-zero/core/stores/sqlc, while a change to com/zeromicro/go-zero/core/stores/sqlc can't break com/zeromicro/go-zero/core/stores/sqlx.
- Position
- Below the diagonal: com/zeromicro/go-zero/core/stores/sqlc uses a module listed above it, which is the healthy direction.
33→28 com/zeromicro/go-zero/core/stores/sqlc uses com/zeromicro/go-zero/core/stores/cache✕
- Connections
- 5 pairs of types, where a type in com/zeromicro/go-zero/core/stores/sqlc uses a type in com/zeromicro/go-zero/core/stores/cache.
- The types involved
github.com/zeromicro/go-zero/core/stores/sqlc.CachedConn→github.com/zeromicro/go-zero/core/stores/cache.Cachegithub.com/zeromicro/go-zero/core/stores/sqlc.sqlc→github.com/zeromicro/go-zero/core/stores/cache.Cachegithub.com/zeromicro/go-zero/core/stores/sqlc.sqlc→github.com/zeromicro/go-zero/core/stores/cache.ClusterConfgithub.com/zeromicro/go-zero/core/stores/sqlc.sqlc→github.com/zeromicro/go-zero/core/stores/cache.Optiongithub.com/zeromicro/go-zero/core/stores/sqlc.sqlc→github.com/zeromicro/go-zero/core/stores/cache.Stat
- Direction
- com/zeromicro/go-zero/core/stores/sqlc uses com/zeromicro/go-zero/core/stores/cache, so a change to com/zeromicro/go-zero/core/stores/cache can break com/zeromicro/go-zero/core/stores/sqlc, while a change to com/zeromicro/go-zero/core/stores/sqlc can't break com/zeromicro/go-zero/core/stores/cache.
- Position
- Below the diagonal: com/zeromicro/go-zero/core/stores/sqlc uses a module listed above it, which is the healthy direction.
34→29 com/zeromicro/go-zero/mcp uses com/zeromicro/go-zero/rest✕
- Connections
- 1 pair of types, where a type in com/zeromicro/go-zero/mcp uses a type in com/zeromicro/go-zero/rest.
- The types involved
github.com/zeromicro/go-zero/mcp.mcpServerImpl→github.com/zeromicro/go-zero/rest.Server
- Direction
- com/zeromicro/go-zero/mcp uses com/zeromicro/go-zero/rest, so a change to com/zeromicro/go-zero/rest can break com/zeromicro/go-zero/mcp, while a change to com/zeromicro/go-zero/mcp can't break com/zeromicro/go-zero/rest.
- Position
- Below the diagonal: com/zeromicro/go-zero/mcp uses a module listed above it, which is the healthy direction.
34→36 com/zeromicro/go-zero/mcp uses com/zeromicro/go-zero/core/service part of a loop✕
- Connections
- 1 pair of types, where a type in com/zeromicro/go-zero/mcp uses a type in com/zeromicro/go-zero/core/service.
- The types involved
github.com/zeromicro/go-zero/mcp.mcpServerImpl→github.com/zeromicro/go-zero/core/service.Service
- Direction
- com/zeromicro/go-zero/mcp uses com/zeromicro/go-zero/core/service, so a change to com/zeromicro/go-zero/core/service can break com/zeromicro/go-zero/mcp, while a change to com/zeromicro/go-zero/mcp can't break com/zeromicro/go-zero/core/service.
- Position
- Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
34→38 com/zeromicro/go-zero/mcp uses com/zeromicro/go-zero/core/queue part of a loop✕
- Connections
- 1 pair of types, where a type in com/zeromicro/go-zero/mcp uses a type in com/zeromicro/go-zero/core/queue.
- The types involved
github.com/zeromicro/go-zero/mcp.mcpServerImpl→github.com/zeromicro/go-zero/core/queue.MessageQueue
- Direction
- com/zeromicro/go-zero/mcp uses com/zeromicro/go-zero/core/queue, so a change to com/zeromicro/go-zero/core/queue can break com/zeromicro/go-zero/mcp, while a change to com/zeromicro/go-zero/mcp can't break com/zeromicro/go-zero/core/queue.
- Position
- Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
35→5 com/zeromicro/go-zero/zrpc/internal/serverinterceptors uses com/zeromicro/go-zero/core/metric✕
- Connections
- 2 pairs of types, where a type in com/zeromicro/go-zero/zrpc/internal/serverinterceptors uses a type in com/zeromicro/go-zero/core/metric.
- The types involved
github.com/zeromicro/go-zero/zrpc/internal/serverinterceptors.serverinterceptors→github.com/zeromicro/go-zero/core/metric.CounterVecgithub.com/zeromicro/go-zero/zrpc/internal/serverinterceptors.serverinterceptors→github.com/zeromicro/go-zero/core/metric.HistogramVec
- Direction
- com/zeromicro/go-zero/zrpc/internal/serverinterceptors uses com/zeromicro/go-zero/core/metric, so a change to com/zeromicro/go-zero/core/metric can break com/zeromicro/go-zero/zrpc/internal/serverinterceptors, while a change to com/zeromicro/go-zero/zrpc/internal/serverinterceptors can't break com/zeromicro/go-zero/core/metric.
- Position
- Below the diagonal: com/zeromicro/go-zero/zrpc/internal/serverinterceptors uses a module listed above it, which is the healthy direction.
35→6 com/zeromicro/go-zero/zrpc/internal/serverinterceptors uses com/zeromicro/go-zero/core/syncx✕
- Connections
- 1 pair of types, where a type in com/zeromicro/go-zero/zrpc/internal/serverinterceptors uses a type in com/zeromicro/go-zero/core/syncx.
- The types involved
github.com/zeromicro/go-zero/zrpc/internal/serverinterceptors.serverinterceptors→github.com/zeromicro/go-zero/core/syncx.AtomicDuration
- Direction
- com/zeromicro/go-zero/zrpc/internal/serverinterceptors uses com/zeromicro/go-zero/core/syncx, so a change to com/zeromicro/go-zero/core/syncx can break com/zeromicro/go-zero/zrpc/internal/serverinterceptors, while a change to com/zeromicro/go-zero/zrpc/internal/serverinterceptors can't break com/zeromicro/go-zero/core/syncx.
- Position
- Below the diagonal: com/zeromicro/go-zero/zrpc/internal/serverinterceptors uses a module listed above it, which is the healthy direction.
35→11 com/zeromicro/go-zero/zrpc/internal/serverinterceptors uses com/zeromicro/go-zero/core/collection✕
- Connections
- 1 pair of types, where a type in com/zeromicro/go-zero/zrpc/internal/serverinterceptors uses a type in com/zeromicro/go-zero/core/collection.
- The types involved
github.com/zeromicro/go-zero/zrpc/internal/serverinterceptors.serverinterceptors→github.com/zeromicro/go-zero/core/collection.Set
- Direction
- com/zeromicro/go-zero/zrpc/internal/serverinterceptors uses com/zeromicro/go-zero/core/collection, so a change to com/zeromicro/go-zero/core/collection can break com/zeromicro/go-zero/zrpc/internal/serverinterceptors, while a change to com/zeromicro/go-zero/zrpc/internal/serverinterceptors can't break com/zeromicro/go-zero/core/collection.
- Position
- Below the diagonal: com/zeromicro/go-zero/zrpc/internal/serverinterceptors uses a module listed above it, which is the healthy direction.
35→21 com/zeromicro/go-zero/zrpc/internal/serverinterceptors uses com/zeromicro/go-zero/core/load✕
- Connections
- 2 pairs of types, where a type in com/zeromicro/go-zero/zrpc/internal/serverinterceptors uses a type in com/zeromicro/go-zero/core/load.
- The types involved
github.com/zeromicro/go-zero/zrpc/internal/serverinterceptors.serverinterceptors→github.com/zeromicro/go-zero/core/load.Sheddergithub.com/zeromicro/go-zero/zrpc/internal/serverinterceptors.serverinterceptors→github.com/zeromicro/go-zero/core/load.SheddingStat
- Direction
- com/zeromicro/go-zero/zrpc/internal/serverinterceptors uses com/zeromicro/go-zero/core/load, so a change to com/zeromicro/go-zero/core/load can break com/zeromicro/go-zero/zrpc/internal/serverinterceptors, while a change to com/zeromicro/go-zero/zrpc/internal/serverinterceptors can't break com/zeromicro/go-zero/core/load.
- Position
- Below the diagonal: com/zeromicro/go-zero/zrpc/internal/serverinterceptors uses a module listed above it, which is the healthy direction.
35→22 com/zeromicro/go-zero/zrpc/internal/serverinterceptors uses com/zeromicro/go-zero/core/stat✕
- Connections
- 1 pair of types, where a type in com/zeromicro/go-zero/zrpc/internal/serverinterceptors uses a type in com/zeromicro/go-zero/core/stat.
- The types involved
github.com/zeromicro/go-zero/zrpc/internal/serverinterceptors.serverinterceptors→github.com/zeromicro/go-zero/core/stat.Metrics
- Direction
- com/zeromicro/go-zero/zrpc/internal/serverinterceptors uses com/zeromicro/go-zero/core/stat, so a change to com/zeromicro/go-zero/core/stat can break com/zeromicro/go-zero/zrpc/internal/serverinterceptors, while a change to com/zeromicro/go-zero/zrpc/internal/serverinterceptors can't break com/zeromicro/go-zero/core/stat.
- Position
- Below the diagonal: com/zeromicro/go-zero/zrpc/internal/serverinterceptors uses a module listed above it, which is the healthy direction.
35→30 com/zeromicro/go-zero/zrpc/internal/serverinterceptors uses com/zeromicro/go-zero/zrpc/internal/auth✕
- Connections
- 1 pair of types, where a type in com/zeromicro/go-zero/zrpc/internal/serverinterceptors uses a type in com/zeromicro/go-zero/zrpc/internal/auth.
- The types involved
github.com/zeromicro/go-zero/zrpc/internal/serverinterceptors.serverinterceptors→github.com/zeromicro/go-zero/zrpc/internal/auth.Authenticator
- Direction
- com/zeromicro/go-zero/zrpc/internal/serverinterceptors uses com/zeromicro/go-zero/zrpc/internal/auth, so a change to com/zeromicro/go-zero/zrpc/internal/auth can break com/zeromicro/go-zero/zrpc/internal/serverinterceptors, while a change to com/zeromicro/go-zero/zrpc/internal/serverinterceptors can't break com/zeromicro/go-zero/zrpc/internal/auth.
- Position
- Below the diagonal: com/zeromicro/go-zero/zrpc/internal/serverinterceptors uses a module listed above it, which is the healthy direction.
36→14 com/zeromicro/go-zero/core/service uses com/zeromicro/go-zero/core/logx✕
- Connections
- 1 pair of types, where a type in com/zeromicro/go-zero/core/service uses a type in com/zeromicro/go-zero/core/logx.
- The types involved
github.com/zeromicro/go-zero/core/service.ServiceConf→github.com/zeromicro/go-zero/core/logx.LogConf
- Direction
- com/zeromicro/go-zero/core/service uses com/zeromicro/go-zero/core/logx, so a change to com/zeromicro/go-zero/core/logx can break com/zeromicro/go-zero/core/service, while a change to com/zeromicro/go-zero/core/service can't break com/zeromicro/go-zero/core/logx.
- Position
- Below the diagonal: com/zeromicro/go-zero/core/service uses a module listed above it, which is the healthy direction.
36→15 com/zeromicro/go-zero/core/service uses com/zeromicro/go-zero/core/prometheus✕
- Connections
- 1 pair of types, where a type in com/zeromicro/go-zero/core/service uses a type in com/zeromicro/go-zero/core/prometheus.
- The types involved
github.com/zeromicro/go-zero/core/service.ServiceConf→github.com/zeromicro/go-zero/core/prometheus.Config
- Direction
- com/zeromicro/go-zero/core/service uses com/zeromicro/go-zero/core/prometheus, so a change to com/zeromicro/go-zero/core/prometheus can break com/zeromicro/go-zero/core/service, while a change to com/zeromicro/go-zero/core/service can't break com/zeromicro/go-zero/core/prometheus.
- Position
- Below the diagonal: com/zeromicro/go-zero/core/service uses a module listed above it, which is the healthy direction.
36→34 com/zeromicro/go-zero/core/service uses com/zeromicro/go-zero/mcp✕
- Connections
- 3 pairs of types, where a type in com/zeromicro/go-zero/core/service uses a type in com/zeromicro/go-zero/mcp.
- The types involved
github.com/zeromicro/go-zero/core/service.ServiceGroup→github.com/zeromicro/go-zero/mcp.McpServergithub.com/zeromicro/go-zero/core/service.startOnlyService→github.com/zeromicro/go-zero/mcp.McpServergithub.com/zeromicro/go-zero/core/service.starterOnlyService→github.com/zeromicro/go-zero/mcp.McpServer
- Direction
- com/zeromicro/go-zero/core/service uses com/zeromicro/go-zero/mcp, so a change to com/zeromicro/go-zero/mcp can break com/zeromicro/go-zero/core/service, while a change to com/zeromicro/go-zero/core/service can't break com/zeromicro/go-zero/mcp.
- Position
- Below the diagonal: com/zeromicro/go-zero/core/service uses a module listed above it, which is the healthy direction.
36→38 com/zeromicro/go-zero/core/service uses com/zeromicro/go-zero/core/queue part of a loop✕
- Connections
- 3 pairs of types, where a type in com/zeromicro/go-zero/core/service uses a type in com/zeromicro/go-zero/core/queue.
- The types involved
github.com/zeromicro/go-zero/core/service.ServiceGroup→github.com/zeromicro/go-zero/core/queue.MessageQueuegithub.com/zeromicro/go-zero/core/service.startOnlyService→github.com/zeromicro/go-zero/core/queue.MessageQueuegithub.com/zeromicro/go-zero/core/service.starterOnlyService→github.com/zeromicro/go-zero/core/queue.MessageQueue
- Direction
- com/zeromicro/go-zero/core/service uses com/zeromicro/go-zero/core/queue, so a change to com/zeromicro/go-zero/core/queue can break com/zeromicro/go-zero/core/service, while a change to com/zeromicro/go-zero/core/service can't break com/zeromicro/go-zero/core/queue.
- Position
- Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
37→16 com/zeromicro/go-zero/zrpc/internal uses com/zeromicro/go-zero/internal/health✕
- Connections
- 1 pair of types, where a type in com/zeromicro/go-zero/zrpc/internal uses a type in com/zeromicro/go-zero/internal/health.
- The types involved
github.com/zeromicro/go-zero/zrpc/internal.rpcServer→github.com/zeromicro/go-zero/internal/health.Probe
- Direction
- com/zeromicro/go-zero/zrpc/internal uses com/zeromicro/go-zero/internal/health, so a change to com/zeromicro/go-zero/internal/health can break com/zeromicro/go-zero/zrpc/internal, while a change to com/zeromicro/go-zero/zrpc/internal can't break com/zeromicro/go-zero/internal/health.
- Position
- Below the diagonal: com/zeromicro/go-zero/zrpc/internal uses a module listed above it, which is the healthy direction.
37→20 com/zeromicro/go-zero/zrpc/internal uses com/zeromicro/go-zero/core/discov✕
- Connections
- 1 pair of types, where a type in com/zeromicro/go-zero/zrpc/internal uses a type in com/zeromicro/go-zero/core/discov.
- The types involved
github.com/zeromicro/go-zero/zrpc/internal.internal→github.com/zeromicro/go-zero/core/discov.EtcdConf
- Direction
- com/zeromicro/go-zero/zrpc/internal uses com/zeromicro/go-zero/core/discov, so a change to com/zeromicro/go-zero/core/discov can break com/zeromicro/go-zero/zrpc/internal, while a change to com/zeromicro/go-zero/zrpc/internal can't break com/zeromicro/go-zero/core/discov.
- Position
- Below the diagonal: com/zeromicro/go-zero/zrpc/internal uses a module listed above it, which is the healthy direction.
37→35 com/zeromicro/go-zero/zrpc/internal uses com/zeromicro/go-zero/zrpc/internal/serverinterceptors✕
- Connections
- 1 pair of types, where a type in com/zeromicro/go-zero/zrpc/internal uses a type in com/zeromicro/go-zero/zrpc/internal/serverinterceptors.
- The types involved
github.com/zeromicro/go-zero/zrpc/internal.ServerMiddlewaresConf→github.com/zeromicro/go-zero/zrpc/internal/serverinterceptors.StatConf
- Direction
- com/zeromicro/go-zero/zrpc/internal uses com/zeromicro/go-zero/zrpc/internal/serverinterceptors, so a change to com/zeromicro/go-zero/zrpc/internal/serverinterceptors can break com/zeromicro/go-zero/zrpc/internal, while a change to com/zeromicro/go-zero/zrpc/internal can't break com/zeromicro/go-zero/zrpc/internal/serverinterceptors.
- Position
- Below the diagonal: com/zeromicro/go-zero/zrpc/internal uses a module listed above it, which is the healthy direction.
38→7 com/zeromicro/go-zero/core/queue uses com/zeromicro/go-zero/core/threading✕
- Connections
- 1 pair of types, where a type in com/zeromicro/go-zero/core/queue uses a type in com/zeromicro/go-zero/core/threading.
- The types involved
github.com/zeromicro/go-zero/core/queue.Queue→github.com/zeromicro/go-zero/core/threading.RoutineGroup
- Direction
- com/zeromicro/go-zero/core/queue uses com/zeromicro/go-zero/core/threading, so a change to com/zeromicro/go-zero/core/threading can break com/zeromicro/go-zero/core/queue, while a change to com/zeromicro/go-zero/core/queue can't break com/zeromicro/go-zero/core/threading.
- Position
- Below the diagonal: com/zeromicro/go-zero/core/queue uses a module listed above it, which is the healthy direction.
38→22 com/zeromicro/go-zero/core/queue uses com/zeromicro/go-zero/core/stat✕
- Connections
- 1 pair of types, where a type in com/zeromicro/go-zero/core/queue uses a type in com/zeromicro/go-zero/core/stat.
- The types involved
github.com/zeromicro/go-zero/core/queue.Queue→github.com/zeromicro/go-zero/core/stat.Metrics
- Direction
- com/zeromicro/go-zero/core/queue uses com/zeromicro/go-zero/core/stat, so a change to com/zeromicro/go-zero/core/stat can break com/zeromicro/go-zero/core/queue, while a change to com/zeromicro/go-zero/core/queue can't break com/zeromicro/go-zero/core/stat.
- Position
- Below the diagonal: com/zeromicro/go-zero/core/queue uses a module listed above it, which is the healthy direction.
38→34 com/zeromicro/go-zero/core/queue uses com/zeromicro/go-zero/mcp✕
- Connections
- 1 pair of types, where a type in com/zeromicro/go-zero/core/queue uses a type in com/zeromicro/go-zero/mcp.
- The types involved
github.com/zeromicro/go-zero/core/queue.Queue→github.com/zeromicro/go-zero/mcp.McpServer
- Direction
- com/zeromicro/go-zero/core/queue uses com/zeromicro/go-zero/mcp, so a change to com/zeromicro/go-zero/mcp can break com/zeromicro/go-zero/core/queue, while a change to com/zeromicro/go-zero/core/queue can't break com/zeromicro/go-zero/mcp.
- Position
- Below the diagonal: com/zeromicro/go-zero/core/queue uses a module listed above it, which is the healthy direction.
38→36 com/zeromicro/go-zero/core/queue uses com/zeromicro/go-zero/core/service✕
- Connections
- 1 pair of types, where a type in com/zeromicro/go-zero/core/queue uses a type in com/zeromicro/go-zero/core/service.
- The types involved
github.com/zeromicro/go-zero/core/queue.Queue→github.com/zeromicro/go-zero/core/service.Service
- Direction
- com/zeromicro/go-zero/core/queue uses com/zeromicro/go-zero/core/service, so a change to com/zeromicro/go-zero/core/service can break com/zeromicro/go-zero/core/queue, while a change to com/zeromicro/go-zero/core/queue can't break com/zeromicro/go-zero/core/service.
- Position
- Below the diagonal: com/zeromicro/go-zero/core/queue uses a module listed above it, which is the healthy direction.
39→6 com/zeromicro/go-zero/zrpc uses com/zeromicro/go-zero/core/syncx✕
- Connections
- 1 pair of types, where a type in com/zeromicro/go-zero/zrpc uses a type in com/zeromicro/go-zero/core/syncx.
- The types involved
github.com/zeromicro/go-zero/zrpc.RpcProxy→github.com/zeromicro/go-zero/core/syncx.SingleFlight
- Direction
- com/zeromicro/go-zero/zrpc uses com/zeromicro/go-zero/core/syncx, so a change to com/zeromicro/go-zero/core/syncx can break com/zeromicro/go-zero/zrpc, while a change to com/zeromicro/go-zero/zrpc can't break com/zeromicro/go-zero/core/syncx.
- Position
- Below the diagonal: com/zeromicro/go-zero/zrpc uses a module listed above it, which is the healthy direction.
39→20 com/zeromicro/go-zero/zrpc uses com/zeromicro/go-zero/core/discov✕
- Connections
- 2 pairs of types, where a type in com/zeromicro/go-zero/zrpc uses a type in com/zeromicro/go-zero/core/discov.
- The types involved
github.com/zeromicro/go-zero/zrpc.RpcClientConf→github.com/zeromicro/go-zero/core/discov.EtcdConfgithub.com/zeromicro/go-zero/zrpc.RpcServerConf→github.com/zeromicro/go-zero/core/discov.EtcdConf
- Direction
- com/zeromicro/go-zero/zrpc uses com/zeromicro/go-zero/core/discov, so a change to com/zeromicro/go-zero/core/discov can break com/zeromicro/go-zero/zrpc, while a change to com/zeromicro/go-zero/zrpc can't break com/zeromicro/go-zero/core/discov.
- Position
- Below the diagonal: com/zeromicro/go-zero/zrpc uses a module listed above it, which is the healthy direction.
39→22 com/zeromicro/go-zero/zrpc uses com/zeromicro/go-zero/core/stat✕
- Connections
- 1 pair of types, where a type in com/zeromicro/go-zero/zrpc uses a type in com/zeromicro/go-zero/core/stat.
- The types involved
github.com/zeromicro/go-zero/zrpc.zrpc→github.com/zeromicro/go-zero/core/stat.Metrics
- Direction
- com/zeromicro/go-zero/zrpc uses com/zeromicro/go-zero/core/stat, so a change to com/zeromicro/go-zero/core/stat can break com/zeromicro/go-zero/zrpc, while a change to com/zeromicro/go-zero/zrpc can't break com/zeromicro/go-zero/core/stat.
- Position
- Below the diagonal: com/zeromicro/go-zero/zrpc uses a module listed above it, which is the healthy direction.
39→25 com/zeromicro/go-zero/zrpc uses com/zeromicro/go-zero/core/stores/redis✕
- Connections
- 1 pair of types, where a type in com/zeromicro/go-zero/zrpc uses a type in com/zeromicro/go-zero/core/stores/redis.
- The types involved
github.com/zeromicro/go-zero/zrpc.RpcServerConf→github.com/zeromicro/go-zero/core/stores/redis.RedisKeyConf
- Direction
- com/zeromicro/go-zero/zrpc uses com/zeromicro/go-zero/core/stores/redis, so a change to com/zeromicro/go-zero/core/stores/redis can break com/zeromicro/go-zero/zrpc, while a change to com/zeromicro/go-zero/zrpc can't break com/zeromicro/go-zero/core/stores/redis.
- Position
- Below the diagonal: com/zeromicro/go-zero/zrpc uses a module listed above it, which is the healthy direction.
39→34 com/zeromicro/go-zero/zrpc uses com/zeromicro/go-zero/mcp✕
- Connections
- 1 pair of types, where a type in com/zeromicro/go-zero/zrpc uses a type in com/zeromicro/go-zero/mcp.
- The types involved
github.com/zeromicro/go-zero/zrpc.RpcServer→github.com/zeromicro/go-zero/mcp.McpServer
- Direction
- com/zeromicro/go-zero/zrpc uses com/zeromicro/go-zero/mcp, so a change to com/zeromicro/go-zero/mcp can break com/zeromicro/go-zero/zrpc, while a change to com/zeromicro/go-zero/zrpc can't break com/zeromicro/go-zero/mcp.
- Position
- Below the diagonal: com/zeromicro/go-zero/zrpc uses a module listed above it, which is the healthy direction.
39→35 com/zeromicro/go-zero/zrpc uses com/zeromicro/go-zero/zrpc/internal/serverinterceptors✕
- Connections
- 1 pair of types, where a type in com/zeromicro/go-zero/zrpc uses a type in com/zeromicro/go-zero/zrpc/internal/serverinterceptors.
- The types involved
github.com/zeromicro/go-zero/zrpc.RpcServerConf→github.com/zeromicro/go-zero/zrpc/internal/serverinterceptors.MethodTimeoutConf
- Direction
- com/zeromicro/go-zero/zrpc uses com/zeromicro/go-zero/zrpc/internal/serverinterceptors, so a change to com/zeromicro/go-zero/zrpc/internal/serverinterceptors can break com/zeromicro/go-zero/zrpc, while a change to com/zeromicro/go-zero/zrpc can't break com/zeromicro/go-zero/zrpc/internal/serverinterceptors.
- Position
- Below the diagonal: com/zeromicro/go-zero/zrpc uses a module listed above it, which is the healthy direction.
39→36 com/zeromicro/go-zero/zrpc uses com/zeromicro/go-zero/core/service✕
- Connections
- 1 pair of types, where a type in com/zeromicro/go-zero/zrpc uses a type in com/zeromicro/go-zero/core/service.
- The types involved
github.com/zeromicro/go-zero/zrpc.RpcServer→github.com/zeromicro/go-zero/core/service.Service
- Direction
- com/zeromicro/go-zero/zrpc uses com/zeromicro/go-zero/core/service, so a change to com/zeromicro/go-zero/core/service can break com/zeromicro/go-zero/zrpc, while a change to com/zeromicro/go-zero/zrpc can't break com/zeromicro/go-zero/core/service.
- Position
- Below the diagonal: com/zeromicro/go-zero/zrpc uses a module listed above it, which is the healthy direction.
39→37 com/zeromicro/go-zero/zrpc uses com/zeromicro/go-zero/zrpc/internal✕
- Connections
- 11 pairs of types, where a type in com/zeromicro/go-zero/zrpc uses a type in com/zeromicro/go-zero/zrpc/internal.
- The types involved
github.com/zeromicro/go-zero/zrpc.RpcClient→github.com/zeromicro/go-zero/zrpc/internal.Clientgithub.com/zeromicro/go-zero/zrpc.RpcClientConf→github.com/zeromicro/go-zero/zrpc/internal.ClientMiddlewaresConfgithub.com/zeromicro/go-zero/zrpc.RpcProxy→github.com/zeromicro/go-zero/zrpc/internal.Clientgithub.com/zeromicro/go-zero/zrpc.RpcProxy→github.com/zeromicro/go-zero/zrpc/internal.ClientOptiongithub.com/zeromicro/go-zero/zrpc.RpcServer→github.com/zeromicro/go-zero/zrpc/internal.RegisterFngithub.com/zeromicro/go-zero/zrpc.RpcServer→github.com/zeromicro/go-zero/zrpc/internal.Servergithub.com/zeromicro/go-zero/zrpc.RpcServerConf→github.com/zeromicro/go-zero/zrpc/internal.ServerMiddlewaresConfgithub.com/zeromicro/go-zero/zrpc.zrpc→github.com/zeromicro/go-zero/zrpc/internal.Clientgithub.com/zeromicro/go-zero/zrpc.zrpc→github.com/zeromicro/go-zero/zrpc/internal.ClientOptiongithub.com/zeromicro/go-zero/zrpc.zrpc→github.com/zeromicro/go-zero/zrpc/internal.RegisterFngithub.com/zeromicro/go-zero/zrpc.zrpc→github.com/zeromicro/go-zero/zrpc/internal.Server
- Direction
- com/zeromicro/go-zero/zrpc uses com/zeromicro/go-zero/zrpc/internal, so a change to com/zeromicro/go-zero/zrpc/internal can break com/zeromicro/go-zero/zrpc, while a change to com/zeromicro/go-zero/zrpc can't break com/zeromicro/go-zero/zrpc/internal.
- Position
- Below the diagonal: com/zeromicro/go-zero/zrpc uses a module listed above it, which is the healthy direction.
39→38 com/zeromicro/go-zero/zrpc uses com/zeromicro/go-zero/core/queue✕
- Connections
- 1 pair of types, where a type in com/zeromicro/go-zero/zrpc uses a type in com/zeromicro/go-zero/core/queue.
- The types involved
github.com/zeromicro/go-zero/zrpc.RpcServer→github.com/zeromicro/go-zero/core/queue.MessageQueue
- Direction
- com/zeromicro/go-zero/zrpc uses com/zeromicro/go-zero/core/queue, so a change to com/zeromicro/go-zero/core/queue can break com/zeromicro/go-zero/zrpc, while a change to com/zeromicro/go-zero/zrpc can't break com/zeromicro/go-zero/core/queue.
- Position
- Below the diagonal: com/zeromicro/go-zero/zrpc uses a module listed above it, which is the healthy direction.
40→29 com/zeromicro/go-zero/gateway uses com/zeromicro/go-zero/rest✕
- Connections
- 3 pairs of types, where a type in com/zeromicro/go-zero/gateway uses a type in com/zeromicro/go-zero/rest.
- The types involved
github.com/zeromicro/go-zero/gateway.Server→github.com/zeromicro/go-zero/rest.Middlewaregithub.com/zeromicro/go-zero/gateway.Server→github.com/zeromicro/go-zero/rest.Routegithub.com/zeromicro/go-zero/gateway.gateway→github.com/zeromicro/go-zero/rest.Middleware
- Direction
- com/zeromicro/go-zero/gateway uses com/zeromicro/go-zero/rest, so a change to com/zeromicro/go-zero/rest can break com/zeromicro/go-zero/gateway, while a change to com/zeromicro/go-zero/gateway can't break com/zeromicro/go-zero/rest.
- Position
- Below the diagonal: com/zeromicro/go-zero/gateway uses a module listed above it, which is the healthy direction.
40→34 com/zeromicro/go-zero/gateway uses com/zeromicro/go-zero/mcp✕
- Connections
- 1 pair of types, where a type in com/zeromicro/go-zero/gateway uses a type in com/zeromicro/go-zero/mcp.
- The types involved
github.com/zeromicro/go-zero/gateway.Server→github.com/zeromicro/go-zero/mcp.McpServer
- Direction
- com/zeromicro/go-zero/gateway uses com/zeromicro/go-zero/mcp, so a change to com/zeromicro/go-zero/mcp can break com/zeromicro/go-zero/gateway, while a change to com/zeromicro/go-zero/gateway can't break com/zeromicro/go-zero/mcp.
- Position
- Below the diagonal: com/zeromicro/go-zero/gateway uses a module listed above it, which is the healthy direction.
40→36 com/zeromicro/go-zero/gateway uses com/zeromicro/go-zero/core/service✕
- Connections
- 1 pair of types, where a type in com/zeromicro/go-zero/gateway uses a type in com/zeromicro/go-zero/core/service.
- The types involved
github.com/zeromicro/go-zero/gateway.Server→github.com/zeromicro/go-zero/core/service.Service
- Direction
- com/zeromicro/go-zero/gateway uses com/zeromicro/go-zero/core/service, so a change to com/zeromicro/go-zero/core/service can break com/zeromicro/go-zero/gateway, while a change to com/zeromicro/go-zero/gateway can't break com/zeromicro/go-zero/core/service.
- Position
- Below the diagonal: com/zeromicro/go-zero/gateway uses a module listed above it, which is the healthy direction.
40→37 com/zeromicro/go-zero/gateway uses com/zeromicro/go-zero/zrpc/internal✕
- Connections
- 2 pairs of types, where a type in com/zeromicro/go-zero/gateway uses a type in com/zeromicro/go-zero/zrpc/internal.
- The types involved
github.com/zeromicro/go-zero/gateway.Server→github.com/zeromicro/go-zero/zrpc/internal.Clientgithub.com/zeromicro/go-zero/gateway.gateway→github.com/zeromicro/go-zero/zrpc/internal.Client
- Direction
- com/zeromicro/go-zero/gateway uses com/zeromicro/go-zero/zrpc/internal, so a change to com/zeromicro/go-zero/zrpc/internal can break com/zeromicro/go-zero/gateway, while a change to com/zeromicro/go-zero/gateway can't break com/zeromicro/go-zero/zrpc/internal.
- Position
- Below the diagonal: com/zeromicro/go-zero/gateway uses a module listed above it, which is the healthy direction.
40→38 com/zeromicro/go-zero/gateway uses com/zeromicro/go-zero/core/queue✕
- Connections
- 1 pair of types, where a type in com/zeromicro/go-zero/gateway uses a type in com/zeromicro/go-zero/core/queue.
- The types involved
github.com/zeromicro/go-zero/gateway.Server→github.com/zeromicro/go-zero/core/queue.MessageQueue
- Direction
- com/zeromicro/go-zero/gateway uses com/zeromicro/go-zero/core/queue, so a change to com/zeromicro/go-zero/core/queue can break com/zeromicro/go-zero/gateway, while a change to com/zeromicro/go-zero/gateway can't break com/zeromicro/go-zero/core/queue.
- Position
- Below the diagonal: com/zeromicro/go-zero/gateway uses a module listed above it, which is the healthy direction.
40→39 com/zeromicro/go-zero/gateway uses com/zeromicro/go-zero/zrpc✕
- Connections
- 1 pair of types, where a type in com/zeromicro/go-zero/gateway uses a type in com/zeromicro/go-zero/zrpc.
- The types involved
github.com/zeromicro/go-zero/gateway.Upstream→github.com/zeromicro/go-zero/zrpc.RpcClientConf
- Direction
- com/zeromicro/go-zero/gateway uses com/zeromicro/go-zero/zrpc, so a change to com/zeromicro/go-zero/zrpc can break com/zeromicro/go-zero/gateway, while a change to com/zeromicro/go-zero/gateway can't break com/zeromicro/go-zero/zrpc.
- Position
- Below the diagonal: com/zeromicro/go-zero/gateway uses a module listed above it, which is the healthy direction.
At a glance — Code Health
At a glance — Architecture
At a glance — Maturity
At a glance — Readiness
At a glance — Security
At a glance — Performance
Security & Compliance — OWASP Top-10 mapping
| OWASP category | Findings | Severity |
|---|---|---|
| A02:2025 — Security Misconfiguration | 198 | High / Critical |
| A05:2025 — Injection | 61 | High / Critical |
| A03:2025 — Software Supply Chain Failures | 18 | Medium |
| A07:2025 — Authentication Failures | 2 | High / Critical |
Roadmap
First, codify disaster recovery by implementing infrastructure-as-code for backups and geo-recovery, while clearly documenting recovery time and point objectives. Second, resolve all deprecated dependencies and eliminate flaky tests to stabilize the codebase. Third, harden outbound HTTP calls by enforcing explicit timeouts, adding retry logic with back-off, and implementing circuit breakers for failing dependencies. Finally, enable strict null checking in the TypeScript configuration and fix the resulting type assertions to prevent runtime errors.
| Do this | Helps | Effort | Dimension |
|---|---|---|---|
| Resolve the 2 Deprecated module finding(s) in Dependency Hygiene. | +4.8 pts | Low | Dependency Hygiene |
| Resolve the 1 Flaky test finding(s) in Test Reliability. | +3.8 pts | Low | Test Reliability |
| Codify backups + geo-recovery in IaC and document RTO/RPO and the restore procedure — a persistence guard alone is not disaster recovery. | +4.8 pts | Medium | DR & Backup |
| Give every `http.Client` an explicit `Timeout` (never call `http.Get`/`http.Post` or `http.DefaultClient`, which have none), or build each request with `http.NewRequestWithContext` under a `context.WithTimeout`; add retry with back-off (`hashicorp/go-retryablehttp`) and a breaker (`sony/gobreaker`) around dependencies that fail. | +3.9 pts | Medium | Outbound HTTP resilience |
| The findings name the configuration each number was taken from and, for the assertions, the files that hold them. Turn null checking on where it is off — `"strict": true` in the base tsconfig that the others extend switches `strictNullChecks` on with the rest of the family — and then resolve the assertions rather than adding to them. A `!` on a value the checker could show to be null is a promise the author cannot check from where they are standing, and each one is a `TypeError: Cannot read properties of null` waiting for the path that makes it true; where the value genuinely cannot be null, say something the checker can see instead (narrow it with a test, make the property required, drop the `?`). | +2.1 pts | Medium | Nullable reference types |
| Record your significant design decisions. Write one short document per decision, giving its date, the situation, the decision and its consequences, and keep them together with your other design documents. A docs/adr folder with each file named by number and title is the easiest place to find them. | +1.4 pts | Medium | Architecture documentation |
| Thread a context.Context or an AbortSignal through functions that make requests, so the work stops when its caller gives up. | +1.3 pts | Medium | Cancellation propagation |
| Resolve the 1 No network policy finding(s) in Network Egress Confinement. | +0.6 pts | Low | Network Egress Confinement |
File quality
| File | Score | Band | Worst signal |
|---|---|---|---|
| REDACTED | 0.0 | Slop | IaC & Container Security: High IaC: REDACTED |
| REDACTED | 1.6 | Slop | IaC & Container Security: High IaC: REDACTED |
| REDACTED | 2.5 | Slop | Static Analysis (SAST): High: REDACTED |
| REDACTED | 2.7 | Slop | Static Analysis (SAST): High: REDACTED |
| REDACTED | 2.7 | Slop | Static Analysis (SAST): High: REDACTED |
| REDACTED | 3.0 | Slop | Static Analysis (SAST): High: REDACTED |
| REDACTED | 3.7 | Slop | Static Analysis (SAST): High: REDACTED |
| REDACTED | 4.1 | Mixed | Static Analysis (SAST): High: REDACTED |
| REDACTED | 5.0 | Mixed | Static Analysis (SAST): High: REDACTED |
| core/stores/redis/redis.go | 5.6 | Mixed | Code Duplication: Duplicated block (11 lines × 2) |
| REDACTED | 5.9 | Mixed | Dependency Vulnerabilities: Medium CVE: REDACTED |
| REDACTED | 6.1 | Mixed | IaC & Container Security: Medium IaC: REDACTED |
| REDACTED | 6.3 | Mixed | Static Analysis (SAST): Medium: REDACTED |
| REDACTED | 6.3 | Mixed | Dependency Vulnerabilities: Medium CVE: REDACTED |
| REDACTED | 6.4 | Mixed | Static Analysis (SAST): Medium: REDACTED |
| tools/goctl/api/parser/g4/ast/type.go | 6.4 | Mixed | Explicit Debt: TodoComment |
| tools/goctl/api/parser/g4/ast/service.go | 6.4 | Mixed | Explicit Debt: TodoComment |
| REDACTED | 6.5 | Mixed | Static Analysis (SAST): High: REDACTED |
| REDACTED | 6.9 | Mixed | Static Analysis (SAST): Medium: REDACTED |
| REDACTED | 6.9 | Mixed | Static Analysis (SAST): Medium: REDACTED |
How the grades work
A definite problem that already costs you something and drags the score down: a missing authorisation check, a dependency with a known exploit, a build that does not reproduce. Failure here tends to cause failures elsewhere.
Likely wrong, but not failing yet. It degrades the codebase over a longer horizon and can cause failures elsewhere — not urgent this week, not something to carry for two years either.
Recorded, with no effect on how the codebase functions. Present so the survey is complete, not because it needs doing.
Something this survey could not settle from the outside, and which could be critical or serious. Either a control was required and no positive evidence of it exists in the repository — a backup job that nothing shows was ever restored from proves nothing about restores — or our own analysis could not run over that part of the tree. This is not a clean result. These are excluded from the score rather than awarded a pass, so the number on the cover neither rewards nor penalises them: if you act on this survey without resolving them, you carry that risk yourself. Each one is named under Limitations.
Methodology & how to trust this report
Watchdog is a deep, periodic assessment — run each sprint, monthly, or quarterly, taking the time to go wider and deeper than a quick check and surfacing in one coherent report what you'd otherwise piece together from a dozen separate tools. It scores deterministically: the same commit yields the same score, every run. 64 of 67 evaluated dimensions are computed purely by tools and static analysis (confidence 1.0); 3 documentation/naming judgement(s) are LLM-assisted and labelled advisory. Overall confidence is 0.9 — the weighted average across measured dimensions; it falls as more of the score leans on LLM-assisted judgement and rises when it's fully tool-backed.
What we checked — 67 dimensions across the health lenses
- Can you open the finding? Real findings cite a repo-relative file and line you can open at the cited line — never an absolute scratch path. Here, 422 of 459 do; the remainder are repo-wide signals — a dimension-level measurement, not a single line.
- Is there a tool behind the number? Every score below names the method that produced it — Roslyn, git, a scanner, or (for a handful of documentation/naming dimensions) an LLM labelled sampled · advisory — not a narrative.
- Does re-running give the same result? Run it again on the same commit and the score — and this report, byte for byte — is identical. A report whose numbers move between runs is describing the run, not the code.
Tools & methods
| Method | Backs | Version | Evaluator |
|---|---|---|---|
| Roslyn static analysis | Complexity, cohesion, coupling, dead code, API surface, layering | 5.3.0 | ✓ deterministic |
| Native secret scanner | Hardcoded secrets / credentials | 1.0.0 | ✓ deterministic |
| Watchdog duplication detector (in-process) | Code duplication | 1.0.0 | ✓ deterministic |
| Coverage (coverlet / dotnet-coverage) | Line & branch coverage | 10.0.400 | ✓ deterministic |
| NuGet / dotnet | Outdated, vulnerable & deprecated dependencies | 10.0.400 | ✓ deterministic |
| git / LibGit2Sharp | Churn hotspots, knowledge concentration, history | 2.43.0 · 0.31.0 | ✓ deterministic |
| gitleaks · semgrep · trivy · checkov | Secrets in history, SAST, CVEs, IaC & container, PII / GDPR | 1.86.0 · 0.69.3 · 3.2.533 | ✓ deterministic |
| LLM (sampled · advisory) | Documentation quality, ADR conformance, naming — sampled over a bounded sample; advisory, never a deterministic measurement | Local LLM | ◐ LLM · sampled · advisory |
Run transparency — what happened this run
- D8 Code Coverage — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Coverage NOT READ here — but this repository measures it: a coverage step in CI (`go test -race -coverprofile=coverage.txt -covermode`) shows that coverage is collected and tracked in your own CI. The built-in collector has no runner for this ecosystem (.go), so the analyzer could not read the number — a gap in the analyzer's language coverage, not an unmeasured repo. Not scored. To have the real number read, produce a coverage report in a standard format (`go test -coverprofile=coverage.out ./...`) and commit it — a hosted scan measures a clone of the repository, so a report that exists only in a working tree, a CI runner's or your own, never reaches it; the artefact is commonly gitignored, so `git add -f` that one file (or un-ignore its path) and commit it alongside the code it measures. You can widen what we reach: optional: produce a coverage report in a standard format (`go test -coverprofile=coverage.out ./...`) and commit it — a hosted scan measures a clone of the repository, so a report that exists only in a working tree, a CI runner's or your own, never reaches it; the artefact is commonly gitignored, so `git add -f` that one file (or un-ignore its path) and commit it alongside the code it measures — then the real number is read on the next scan.
- D22 Internal API Consistency — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. D22 identifies the intentionally-exposed surface from `IsPackable` and `.Contracts` project names, MSBuild conventions read off the loaded project set. This target exposed no such projects, so the probe never ran; this says nothing about whether the repository has a public API. This repository commits no C#/VB source at all, so there was never an MSBuild project set to read these conventions off. That is OUR side and it is a COLLECTOR gap, not an environment fault: it declares a published package (REDACTED), but no published-package marker D22 reads admitted any project here, so this ecosystem's public API has no collector, and the remedy is to write one — no change to the scan image can close it.
- D27 Navigability — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Navigability is taken over call sites whose callee resolved. For C# that population includes calls into referenced assemblies; for this language only calls declared inside the repository count, so the abstention threshold reads the repository's use of its standard library as a resolution failure. That is a limit of this analyzer, not a build problem in this repository.
- D34 Knowledge Freshness — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. File-level freshness contradicts repo activity: 67 commits in the last 90 days, yet 165 of 204 significant files carry no living knowledge. Those two readings cannot both be true, so the per-file recency signal is treated as unreliable here and freshness is not scored for this run.
- AXR1 Runtime accessibility — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Render strategy: boot via REDACTED (REDACTED). docker build failed (exit 1) — DEPRECATED: The legacy builder is deprecated and will be removed in a future release. Install the buildx component to build images with BuildKit: https://docs.docker.com/go/bui…; runtime evidence skipped.
- C1 Data Protection — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These personal data controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks personal data controls.
- C2 Access Controls — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These authorization controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks authorization controls.
- C3 Audit Trail — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These audit controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks audit controls.
- C4 Data Retention — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These retention controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks retention controls.
- C5 Data-Subject Rights — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These data-subject rights controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks data-subject rights controls.
- GD1 Unfinished & placeholder code — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads C# syntax, F#, JavaScript/TypeScript, Dart, Ruby and Scala source only, and this repository's Go, lua is most of its product and is not read yet, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- IC1 Incompleteness & stubs — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads C# syntax, JavaScript/TypeScript, Java, Dart, Ruby and Scala source only, and this repository's Go, lua is most of its product and is not read yet, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- S1 Web-Security Posture — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These web-security controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks web-security controls.
- X27 Collection changed while being enumerated — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads C# syntax, and Java, Rust, Erlang, F#, Python, Dart, Ruby, Scala and Kotlin source only, and no C# was loaded, no Java, Rust, Erlang, F#, Python, Dart, Ruby, Scala or Kotlin was found, and this repository's Go, Lua is not read yet, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X4 Structured logging — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads C# syntax, and JavaScript/TypeScript, Java, Kotlin, Python, PHP, Dart, Ruby, Scala and Rust source only, and no C# was loaded, and this repository's JavaScript/TypeScript, Python and PHP make no call through a named logger, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
Limitations & what we did not check
Watchdog assesses the repository exactly as committed, and only the repository. By design it does not reach outside the source tree: the live cloud account, the running CI/CD pipeline, the host's branch-protection and approval rules, the production configuration, or a restore actually exercised against a backup are all out of scope. That boundary is a feature, not a gap — a repo-relative, deterministic scan re-runs identically on any commit and every finding opens at a real file and line, where a live audit can neither be reproduced nor traced. The visible consequence is that controls which leave no in-repo evidence are reported as "not evidenced" and excluded from the score rather than awarded a number a static scan cannot justify.
Per-dimension blind spots
- D1 Cyclomatic Complexity: Cyclomatic complexity counts branches statically — it cannot tell an essential decision tree from accidental tangle, nor see complexity that lives in data or configuration (large switch-case token tables, DSL lexers/parsers, data-as-code rule tables) rather than control flow: a tokenizer's many single-character cases read as high complexity though each branch is trivial.
- D2 Cognitive Complexity: Cognitive-complexity heuristics approximate how hard code is to follow; genuine domain difficulty and well-named intent that eases reading are not captured.
- D4 Code Duplication: Duplication is token-similarity — an in-process token-stream comparison over sliding windows, with type-aware normalization — so it finds copy-paste, not semantic duplication expressed differently. Committed machine-written code (scaffolded migrations, designer/codegen output, protobuf/OpenAPI stubs, model snapshots) is EXCLUDED — its repetition is the tool's, not the team's — so the score reflects hand-written duplication only.
- D5 Coupling: Coupling is measured between projects/assemblies — runtime coupling through DI, reflection, messaging or shared databases is invisible to a static reference graph.
- D6 Cohesion (LCOM4): LCOM4 cohesion is syntactic — it infers connectivity from which methods touch which fields/methods by name, not from real runtime behaviour or intent.
- D9 Test Distribution: The test-pyramid shape is inferred from project/folder naming and references, with a single test host bucketed per-file by its path tier and content signals — a suite that names tiers unconventionally and gives no per-file signal can still be mis-bucketed.
- D11 Test Reliability: Flakiness is inferred from history/markers — Watchdog runs the suite once (for coverage), not the repeated runs under varied conditions that reveal nondeterminism, so a flaky test never recorded as failing is invisible here.
- D12 Dependency Hygiene: Dependency health reads manifests and lockfiles — a vulnerability in a vendored/copied dependency, or risk from how a dependency is actually used, is outside this view.
- D13 REDACTED Scanning: REDACTED detection is signature- and entropy-based on the current tree — a secret that does not match a known pattern, or one already rotated, will not be flagged (a clean scan is "nothing matched", not "no secrets exist").
- D14 License Compliance: License compatibility is checked against declared package metadata and a policy — mislabelled or missing license metadata, and obligations that depend on how you distribute, are not resolved here.
- D15 Churn × Complexity Hotspots: Churn hotspots come from git history — a freshly imported or squashed repository has no churn signal, and recent rewrites can mask a historically risky file.
- D16 Bus Factor: Bus-factor is a time-decayed model of commit attribution (who has recently, repeatedly worked a file), not comprehension — pairing, review and reading-without-committing spread knowledge it can't see; bot commits and shared accounts still distort it.
- D17 Explicit Debt: Acknowledged-debt signals (TODO/FIXME, suppressions, dead code) are textual — undocumented debt that nobody marked, and debt that lives in design rather than annotations, is invisible. Committed machine-written code (scaffolded migrations, designer/codegen output, generated stubs) is excluded — it is never the team's dead code to delete.
- D19 Documentation Quality: Documentation quality is judged by an LLM over a bounded sample of docs — it reads what is written, not whether the docs match the running system, and it is advisory, not a measurement. Its critique rows are drawn from a closed category vocabulary and each row means the same thing in every run, so two scans can be compared row by row; the SET that fires is still a sample, and does not repeat exactly. Measured on one frozen input, six scans at one engine SHA: 2-5 critique rows per scan, 8 distinct rows across the six, 3 of those 8 seen in only one scan. So a D19 row is evidence about the documentation, but a COUNT of D19 rows is not a quantity — never read a change in it as an improvement or a regression.
- D21 Naming Consistency: Naming quality is an LLM judgement over a bounded sample — it assesses clarity/consistency of the names it sees, not domain-correctness, and is advisory.
- D26 Project Cohesion: Project focus is sized from members/namespaces per project — a project that is broad by deliberate design reads the same as one that has sprawled.
- D28 Secrets (history): Secret-history scanning sweeps the git log for known patterns — a secret that predates the available history, or never matched a signature, is not found (clean means "nothing matched in the history we can see").
- D29 Static Analysis (SAST): SAST findings are pattern-based (semgrep) — it finds classes of bug it has rules for; logic flaws, auth/authorization gaps and issues needing runtime context are out of reach (and clean means "no rule matched").
- D30 Dependency Vulnerabilities: CVE matching depends on accurate package/version metadata and on the advisory databases — a vulnerability with no published advisory, or in code not declared as a dependency, is not seen. Coverage needs a RESOLVED graph: an unpinned requirements.txt, or a pom without a resolved build, yields partial coverage rather than a clean verdict. An ecosystem the analyzer cannot scan is reported as unmeasured, never as clean.
- D31 IaC & Container Security: IaC scanning checks Dockerfiles/Terraform/Kubernetes against best-practice rules — it cannot see the live cloud account, runtime configuration, or drift between the committed config and what is actually deployed.
- D35 Change Coupling: Change coupling is co-change in COMMITS — files split across separate commits, or coupled only through a shared config/build step, read as uncoupled, and a sweeping commit (rename/format) is excluded so it doesn't couple everything. It shows that files change together, not WHY: a high coupling can be a healthy cohesive pair as readily as a hidden leak.
- D40 Network Egress Confinement: Egress confinement is read from committed Kubernetes manifests — a policy applied out-of-band (cluster-default deny, a service mesh, or a cloud firewall/security group off-repo) is invisible, and a present NetworkPolicy is declared config, not proof the cluster admission-controller actually enforces it at runtime.
- D41 Kernel & Syscall Confinement: Syscall/MAC confinement is read from committed manifests — a profile applied by a cluster-wide PodSecurity default or a mutating webhook off-repo isn't seen, and a declared seccomp/AppArmor profile is config presence, not proof the node's kernel actually loaded and enforced it.
- D43 Malicious Dependencies: Only packages some vulnerability database has already NAMED as malicious are seen — a compromise published in the last hours, or never reported at all, is invisible here, and this dimension reading 10 is not evidence that a dependency is trustworthy. There is no typosquat or dependency-confusion analysis: a package nobody has reported is simply absent from the feeds. Coverage is the dependency scan's: an ecosystem that could not be scanned is disclosed as unmeasured, never as clean.
- D44 Platform End-of-Life: The support table is FROZEN, so it goes out of date by losing RECALL: a release that ended support after the table was written is missed until the table is refreshed, and this dimension reading 10 is not evidence that a platform is current. Only platforms the repository DECLARES in a place this pass reads are seen — a runtime named only in a REDACTED (D31's subject), in a CI workflow (D29's), or in a file this pass does not parse (REDACTED, a Gemfile ruby directive) is invisible here, which is why a repository declaring none of them abstains rather than scoring. Only frameworks with a PUBLISHED support policy are tracked: React, Flask and Express publish none, so their age cannot be judged and their absence from a report is not a statement that they are supported.
- AX10 Code composition: Role is inferred from namespace/folder convention, not semantics — a domain concept living in a folder named "Services" reads as application, and the split is lines-of-code, not business value. The business-logic-share score is a SOFT, FLOORED signal: it contributes to the Architecture lens but is floored at the Critical gate, so an infrastructure-heavy design (a gateway, an ETL, a driver) is legitimately low without being nuked to zero.
- M4 Documentation accuracy: Onboarding quality is an LLM read of the docs/setup present — it cannot run the onboarding or measure how long a real new joiner takes; the verdict is sampled and advisory.
- P4 Deployment & Rollback: Approval/branch-protection rules live in repository settings the scan cannot see — only their in-repo evidence (config files, workflows) is checked, so a control enforced purely in the host's settings reads as "not evidenced".
- P5 DR & Backup: Backup/restore and disaster-recovery readiness is judged from in-repo evidence — a config that exists is not a tested restore, so the absence of positive evidence is reported as "not evidenced", never scored as present.
- P6 Release Hygiene: Rollback/observability controls are inferred from repo artefacts (pipelines, dashboards-as-code) — controls configured in external tooling, with no in-repo trace, cannot be credited.
The LLM boundary
Dimensions
D1 · Cyclomatic Complexity
7 method(s) exceeded the cyclomatic complexity threshold of 15; the worst was Unmarshaler.processFieldNotFromString at 22. A further 3 method(s) were over the threshold but excluded as flat dispatchers (a long switch/match over independent cases: many branches, almost no nesting), the largest being mapping.validateRange at 19 — they are counted neither in the figure above nor in this dimension's score. 2 files carry no cyclomatic complexity row at all for this reason — every one of their over-threshold functions was excluded, so the exclusion is disclosed nowhere in the file itself: core/mapping/marshaler.go (mapping.validateRange at 19), core/lang/lang.go (lang.reprOfValue at 18). They are named here because the per-file figures other dimensions report are taken BEFORE this exclusion, so such a file can show a high maximum complexity elsewhere in this report and nothing here, with nothing to reconcile the two.
What to do
- Bring the 7 bodies over 15 down to 15 or less in Cyclomatic Complexity — start with Unmarshaler.processFieldNotFromString (cyclomatic 22), sqlx.format (cyclomatic 21), Unmarshaler.generateMap (cyclomatic 20). — This score is capped by its worst body, so a finding fixed alone moves it by almost nothing — the next one down takes its place. Refactoring these 7 together lifts Cyclomatic Complexity from 9.0 to about 10.0/10, projected with the scoring formula itself and assuming each lands exactly at 15.
- Enforce Cyclomatic Complexity in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D2 · Cognitive Complexity
30 method(s) exceeded the cognitive complexity threshold of 15; the worst was sqlx.format at 46.
What to do
- Bring the 4 bodies over 30 down to 30 or less in Cognitive Complexity — start with sqlx.format (cognitive 46), Unmarshaler.generateMap (cognitive 43), Publisher.keepAliveAsync (cognitive 38). — This score is capped by its worst body, so a finding fixed alone moves it by almost nothing — the next one down takes its place. Refactoring these 4 together lifts Cognitive Complexity from 6.8 to about 7.3/10, projected with the scoring formula itself and assuming each lands exactly at 30; a cleaner split scores higher.
- Enforce Cognitive Complexity in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D4 · Code Duplication
26 duplicated block group(s) detected. One further row reports members as variants of one another; it aggregates block groups already counted above and is not itself counted.
What to do
- Resolve the 4 Duplicated block (8 lines × 2) finding(s) in Code Duplication — start with redis.go (2), timeout.go, tomlunmarshaler.go. — One of this dimension's main actionable groups (4 warning-level).
- Resolve the 3 Duplicated block (12 lines × 2) finding(s) in Code Duplication — start with runtime.go, tracinginterceptor.go, eventhandler.go. — One of this dimension's main actionable groups (3 warning-level).
- Resolve the 3 Duplicated block (11 lines × 2) finding(s) in Code Duplication — start with redis.go (2), REDACTED. — One of this dimension's main actionable groups (3 warning-level).
- Enforce Code Duplication in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Verified — provenance only; does not change the score.
D5 · Coupling
2 production modules (Go), 0 dependency cycle(s), 0 unstable depended-on module(s). Read from the build's own module declarations; 0 module(s) off the main sequence.
D6 · Cohesion (LCOM4)
3 of 143 classes have LCOM4 above 3.
What to do
- Resolve the 3 Low cohesion finding(s) in Cohesion (LCOM4) — start with redis.go, model.go, breaker.go. — One of this dimension's main actionable groups (3 warning-level).
- Enforce Cohesion (LCOM4) in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Verified — provenance only; does not change the score.
D9 · Test Distribution
2330 test methods: 2330 unit, 0 integration, 0 BDD, 0 e2e. The Go suite contributes 2330 test case(s) across 375 `_test.go` file(s) declaring at least one — every `func Test…(t *testing.T)` that `go test` would collect, plus the suite methods a testify-style runner reaches; a table-driven case list counts once, so this is a floor. Its tier split is INFERRED from file names, paths and build constraints, not declared: 0 of those file(s) use Go's external test package (`package x_test`), which is a visibility boundary rather than a pyramid tier and was not read as one.
D11 · Test Reliability
1 flaky across 1 measured tier(s). Go (2 modules): measured (1 flaky).
What to do
- Resolve the 1 Flaky test finding(s) in Test Reliability. — One of this dimension's main actionable groups (1 issue-level).
D12 · Dependency Hygiene
18 outdated, 2 author-deprecated direct Go module(s), 0 pinning or checksum defect(s). 62 of 62 direct requirement(s) were graded against proxy.golang.org (0 not served there, 2 publishing no tagged release to be behind). Whether any of these modules is UNMAINTAINED is not graded — proxy.golang.org publishes no maintenance status, and release age does not stand in for one. Whether any is UNUSED is not graded either: that is a source question, not a registry one. Known CVEs in this module graph are D30's question, read from REDACTED and go.sum there.
What to do
- Resolve the 2 Deprecated module finding(s) in Dependency Hygiene. — One of this dimension's main actionable groups (2 warning-level).
- Enforce Dependency Hygiene in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Verified — provenance only; does not change the score.
D13 · REDACTED Scanning
REDACTED scan ran and found no leaked secrets.
D14 · License Compliance
0 of 197 required Go module(s) use a banned license. Licences were read per module version from the licence files pkg.go.dev detects (via api.deps.dev), over every module this repository's REDACTED requires, direct and indirect, at the version the build uses. Go records no test-only scope at module level, so modules only this repository's own tests import are included. 1 of them carry no licence file that matches a known SPDX licence; that is missing data, not a violation, and none of them is charged.
D15 · Churn × Complexity Hotspots
No churn × complexity hotspots in the window.
D16 · Bus Factor
8 source file(s) have their living knowledge concentrated in one author (≥90% of recent, decayed contribution). The largest is core/mr/mapreduce.go. Counted over 204 of the 592 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over.
D17 · Explicit Debt
30 deducted task-comment markers across 62058 LoC (0.0/KLoC) → score 9.9. Task comments only: this repository's language is read without a compiler, so D17's suppression, dead-code and commented-out-code arms did not run and this score counts fewer marker kinds than a .NET repository's would.
What to do
- Resolve the 30 TodoComment finding(s) in Explicit Debt — start with type.go (10), service.go (8), apiparser_lexer.go (2). — One of this dimension's main actionable groups (30 warning-level).
- Enforce Explicit Debt in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D19 · Documentation Quality
The repository's root README (go-zero) is clear and well-structured: it states what the project is for, shows a trendshift.io repo badge, lists codecov, goreportcard, release, Go reference, awesome-go, MIT license, Discord link, and an architecture/overview section with the full outline. The gateway, mcp, core/conf, core/logx, core/mr, tools/goctl/config, tools/goctl/rpc, and tools/goctl/api/parser READMEs each document their own directories (gateway, MCP implementation, config loader, logx, mapreduce, configuration formatter, RPC generator, API parser) rather than the repository as a whole. All are complete for their scope; no single file is missing an overview/installation/usage/contributing/license. The repository's READMEs are well-structured and complete for the tooling they describe. Each directory's README documents itself (e.g., 'Goctl Model', 'RPC Examples') without referencing the root project, as required by scope; no single document is missing an overview/installation/usage/contributing section. The architecture/design docs count at 0 but are not shown in the summary and do not appear to be clipped, so they are assumed present and not flagged. (3 of 23 sampled documents could not be assessed: 1 of 3 evaluation groups failed.)
D21 · Naming Consistency
0 naming inconsistencies across 0 sampled symbols.
D26 · Project Cohesion
1 of 2 build units (Go) flagged as possibly oversized/incoherent.
What to do
- Resolve the 1 Projects may be oversized for their cohesion finding(s) in Project Cohesion. — One of this dimension's main actionable groups (1 recommendation-level).
D28 · Secrets (history)
1 finding(s): 0 critical, 1 high, 0 medium, 0 low. Remediation for historically-committed secrets is credential rotation — they remain in history regardless of later deletion.
What to do
- Resolve the 1 REDACTED finding(s) in Secrets (history) — start with REDACTED. — One of this dimension's main actionable groups (1 issue-level).
- Resolve the 1 Rotate the exposed credentials finding(s) in Secrets (history). — One of this dimension's main actionable groups (1 recommendation-level).
D29 · Static Analysis (SAST)
61 finding(s): 0 critical, 22 high, 36 medium, 3 low. 16 unpinned-GitHub-Actions row(s) are reported here but scored by D36 (supply-chain provenance), which measures that posture as `pinned_actions` — one pinning decision is charged once, not once per lens.
What to do
- Resolve the 2 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED, REDACTED. — One of this dimension's main actionable groups (2 issue-level).
- Resolve the 2 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED, REDACTED. — One of this dimension's main actionable groups (2 issue-level).
- No action in Static Analysis (SAST) — all 16 REDACTED finding(s) are reported here at file:line but scored by D36 (supply-chain provenance), so none is charged to this dimension. — One of this dimension's main actionable groups (16 issue-level, 0 of them charged here).
D30 · Dependency Vulnerabilities
8 finding(s): 0 critical, 0 high, 8 medium, 0 low.
What to do
- Resolve the 7 Medium CVE finding(s) in Dependency Vulnerabilities — start with REDACTED (7). — One of this dimension's main actionable groups (7 warning-level).
- Resolve the 1 Medium vulnerability finding(s) in Dependency Vulnerabilities — start with REDACTED. — One of this dimension's main actionable groups (1 warning-level).
D31 · IaC & Container Security
198 finding(s): 0 critical, 6 high, 146 medium, 46 low.
What to do
- Resolve the 146 Medium IaC finding(s) in IaC & Container Security — start with REDACTED (117), REDACTED (25), REDACTED (4). — One of this dimension's main actionable groups (146 warning-level).
- Resolve the 46 Low IaC finding(s) in IaC & Container Security — start with REDACTED (41), REDACTED (5). — One of this dimension's main actionable groups (46 recommendation-level).
- Resolve the 6 High IaC finding(s) in IaC & Container Security — start with REDACTED (5), REDACTED. — One of this dimension's main actionable groups (6 issue-level).
D35 · Change Coupling
Strongest change-coupling: insert.go↔REDACTED 50%
What to do
- Resolve the 1 Change coupling finding(s) in Change Coupling — start with insert.go. — One of this dimension's main actionable groups (1 warning-level).
D36 · Supply-chain Provenance & Signing
0/4 supply-chain integrity signals present (provenance, signing, SBOM, pinned actions).
What to do
- Resolve the 3 REDACTED finding(s) in Supply-chain Provenance & Signing — start with REDACTED, REDACTED, REDACTED. — One of this dimension's main actionable groups (3 warning-level).
- Resolve the 2 REDACTED finding(s) in Supply-chain Provenance & Signing — start with REDACTED, REDACTED. — One of this dimension's main actionable groups (2 warning-level).
- Resolve the 1 REDACTED finding(s) in Supply-chain Provenance & Signing. — One of this dimension's main actionable groups (1 warning-level).
D37 · Vulnerability-disclosure Policy
A vulnerability-disclosure policy (SECURITY.md) is published with a reporting contact.
D40 · Network Egress Confinement
0/2 network-egress controls present (network policy, egress restriction).
What to do
- Resolve the 1 No network policy finding(s) in Network Egress Confinement. — One of this dimension's main actionable groups (1 recommendation-level).
D41 · Kernel & Syscall Confinement
0/6 workload(s) run every container under a seccomp profile; 0/6 declare an AppArmor/SELinux profile.
What to do
- Resolve the 6 No seccomp profile finding(s) in Kernel & Syscall Confinement — start with REDACTED (5), REDACTED. — One of this dimension's main actionable groups (6 recommendation-level).
D43 · Malicious Dependencies
No dependency in any ecosystem this repository declares is published as malicious.
D44 · Platform End-of-Life
0 end-of-life runtime(s) and 0 end-of-life framework(s), read from 2 platform declaration(s) and 0 dependency declaration(s). This dimension reads what the repository says about ITSELF — a pinned target framework, a version file, a capped requires-python, a Rust toolchain pin, a framework major a constraint cannot move off. A FLOOR is deliberately never charged: `requires-python = ">=3.8"` states what the package SUPPORTS, not what it runs on, and a well-maintained library declares exactly that while running its own CI on a current release. The end-of-life facts are FROZEN and dated, so this dimension needs no network and answers identically inside a closed scan fence; as the table ages it loses recall and never precision, because a statement about support that ended in the past cannot become false. The OS layer of a container image is D31's question and the toolchain a CI workflow installs is D29's; this row is neither.
Frontend & cross-cutting dimensions
AX10 · Code composition
What to do
- The domain core is a small share of production code, but most of the rest matched no layer vocabulary at all — so this is not yet an anemic-domain finding. The namespace/path convention could not place that code, which makes the composition above a statement about the naming, not about the design. Name the layers (or check that the repository's conventions differ from the ones this check knows) before reading a thin domain into it.
AX2 · Stateful singletons
AX3 · Project dependency cycles
AX4 · Dependency direction
M1 · Documentation (README)
What to do
- Explain in the README how to run the tests. Add a section called Testing to the README in the repository's top folder, saying how to run the test suite.
M2 · Architecture documentation
- No Architecture Decision Records found — no conventional ADR directory, no numbered `NNNN-title` documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer.
What to do
- Record your significant design decisions. Write one short document per decision, giving its date, the situation, the decision and its consequences, and keep them together with your other design documents. A docs/adr folder with each file named by number and title is the easiest place to find them.
M3 · Folder & project structure
M4 · Documentation accuracy
P1 · CI/CD gates
P10 · Library API & versioning
P2 · Observability
P3 · Security & performance tooling
What to do
- Add gitleaks/trufflehog in CI to block PRs that introduce committed secrets.
P4 · Deployment & Rollback
What to do
- Add an approval/environment gate (required reviewers / protection rules) before production promotion.
P5 · DR & Backup
- A persistence guard (data volume / purge-protection) was found, but no backup, geo-recovery or RTO/RPO controls were evidenced — a volume that survives a container recreate is not a tested restore from catastrophic loss.
What to do
- Codify backups + geo-recovery in IaC and document RTO/RPO and the restore procedure — a persistence guard alone is not disaster recovery.
P6 · Release Hygiene
- The changelog this check read carries 0 versioned entries, against a bar of 3. Counted as either the distinct `x.y.z` versions it names (a link's target is not counted) or its version-shaped section headings (`## [1.2.0]`, `## V14.x.x`, `## Updates in 8.0.x`), whichever is the larger — so a log sectioned by minor series counts its sections, not its individual patch numbers. Entries recorded somewhere this check does not read — release notes generated at tag time from a generator config it did not recognise, or a log kept outside the repository — are not counted here, and this row is about what is re-findable in the tree rather than about how often you release.
What to do
- Keep the changelog current — add a versioned entry (Keep-a-Changelog ## [x.y.z]) for each release so the history isn't a stub.
P7 · Outbound HTTP resilience
- `http.Get(` makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service's request, thread or connection until the call gives up on its own — or never, for a client with no default timeout. (×2) — REDACTED:10, tools/goctl/plugin/plugin.go:150
What to do
- Give every `http.Client` an explicit `Timeout` (never call `http.Get`/`http.Post` or `http.DefaultClient`, which have none), or build each request with `http.NewRequestWithContext` under a `context.WithTimeout`; add retry with back-off (`hashicorp/go-retryablehttp`) and a breaker (`sony/gobreaker`) around dependencies that fail.
PF1 · Benchmark discipline
PF2 · Allocation hygiene
What to do
- Raise allocation-aware density on the hot paths — currently 67 use(s) across 73,404 production line(s) (~0.9/1k). More of the idioms below on the allocation-heavy paths climbs this toward 10.
- Go: on hot paths, reuse buffers and objects through sync.Pool, preallocate slices and maps with make([]T, 0, n) / make(map[K]V, n), size builders with Grow, append with strconv.Append*, and reslice with buf[:0] instead of allocating anew.
PF3 · Async & latency hygiene
X1 · Async correctness
X12 · Unreachable branch
X13 · Undrained process stream
X14 · Bypassable address classification
X15 · Unvalidated length from an untrusted reader
X16 · Unfloored truncation loop
X17 · Uncapped recursion over a caller-supplied document
X18 · Disposal-pattern correctness
X19 · Unrestored process-global state
X2 · Cancellation propagation
- Only 1/4 functions that make a cancellable request (fetch, axios, ky, ofetch; net/http, net.Dial) accept a context.Context or an AbortSignal or pass one on, so a request keeps running after whatever wanted it has given up — a page navigated away from, a cancelled request, a shutdown, an expired deadline. Take a `signal` (Go: `ctx context.Context`) and hand it to the request; where nothing could ever cancel the call, omitting it is a deliberate choice — judge against how the function is used.
- `Download` calls `http.Get(…)` but takes no context.Context and reaches none its caller controls, so its caller cannot cancel the request once it has started. Take `ctx context.Context` as the first parameter and build the request with it: `http.NewRequestWithContext(ctx, …)`, `(&net.Dialer{}).DialContext(ctx, …)`. — REDACTED:9
- `downloadFile` calls `http.Get(…)` but takes no context.Context and reaches none its caller controls, so its caller cannot cancel the request once it has started. Take `ctx context.Context` as the first parameter and build the request with it: `http.NewRequestWithContext(ctx, …)`, `(&net.Dialer{}).DialContext(ctx, …)`. — tools/goctl/plugin/plugin.go:149
- `dial` calls `grpc.DialContext(…)` but takes no context.Context and reaches none its caller controls, so its caller cannot cancel the request once it has started. Take `ctx context.Context` as the first parameter and build the request with it: `http.NewRequestWithContext(ctx, …)`, `(&net.Dialer{}).DialContext(ctx, …)`. — zrpc/internal/client.go:122
What to do
- Thread a context.Context or an AbortSignal through functions that make requests, so the work stops when its caller gives up.
X21 · Side-effecting pattern guard
X22 · Contradicted release guard
X23 · Unguarded diagnostic materialisation
X24 · Document value interpolated into markup unescaped
X25 · Inert configuration knob
X26 · Unsynchronised callback handoff
X28 · Index access outside its own emptiness guard
X29 · Per-element action decided by a fixed element
X3 · Exception handling
- `if err := c.loadConfig(); err != nil` takes every exception and records none of it — the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter. — core/configcenter/configurator.go:138
- `if err := json.Unmarshal(b.buf.Bytes(), &m); err != nil` takes every exception and records none of it — the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter. — core/logx/logtest/logtest.go:48
- `if err != nil` takes every exception and records none of it — the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter. (×30) — core/netx/ip.go:8, core/netx/ip.go:18, core/proc/env.go:40, …
- `if _, err := io.Copy(&buf, r.Body); err != nil` takes every exception and records none of it — the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter. — gateway/internal/requestparser.go:83
- `if _, err := os.Lstat(name); err != nil` takes every exception and records none of it — the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter. — tools/goctl/util/pathx/readlink.go:17
What to do
- Swallowed exception (caught, then discarded)
X30 · Support guard that admits what it rejects
X5 · Nullable reference types
- This repository commits no tsconfig, so whatever type-checks it uses tsc's own defaults, in which `strict` and `strictNullChecks` are OFF: `string` admits `null` and `undefined`, and a value that is null is compiled through to the property access that throws. If the build passes `--strict` on a command line instead, put it in a committed tsconfig — this check reads configuration, and configuration is all it can read.
What to do
- The findings name the configuration each number was taken from and, for the assertions, the files that hold them. Turn null checking on where it is off — `"strict": true` in the base tsconfig that the others extend switches `strictNullChecks` on with the rest of the family — and then resolve the assertions rather than adding to them. A `!` on a value the checker could show to be null is a promise the author cannot check from where they are standing, and each one is a `TypeError: Cannot read properties of null` waiting for the path that makes it true; where the value genuinely cannot be null, say something the checker can see instead (narrow it with a test, make the property required, drop the `?`).
Reference — by lens
| Lens | Score | Rating | Impact |
|---|---|---|---|
| Code Health | 59% | Adequate — gated by X5 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Architecture | 80% | Adequate — gated by D26 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Maturity | 68% | Adequate — gated by M2 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Readiness | 52% | Adequate — gated by P5, P7 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Security | 60% | Adequate — gated by D29, D31, D36 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Performance | 83% | Strong | Strongest area. |
Unscored — 3 check(s) recorded observations but carry no score
- P12 CI test-gate honesty — 1 observation(s) recorded · Reported, not scored — this card publishes what the CI gate does with the test inventory rather than grading it. The findings above are its output.
- X10 Duplicated predicate — 4 observation(s) recorded · Advisory — this card reports evidence and never carries a score.
- X7 Silent fallback defaults — 2 observation(s) recorded · Advisory — this card reports evidence and never carries a score.
Not evidenced — 3 control(s) we could not find positive evidence for
- C3 Audit Trail — Not assessed: these audit controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks audit controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
- C4 Data Retention — Not assessed: these retention controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks retention controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
- C5 Data-Subject Rights — Not assessed: these data-subject rights controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks data-subject rights controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
Not included — 48 check(s) not relevant to this codebase
- AC1 Text alternatives — No web markup found — accessibility is not applicable to this repository.
- AC2 Forms & labels — No web markup found — accessibility is not applicable to this repository.
- AC3 Page structure — No web markup found — accessibility is not applicable to this repository.
- AC4 Keyboard semantics — No web markup found — accessibility is not applicable to this repository.
- AC5 ARIA correctness — No web markup found — accessibility is not applicable to this repository.
- AC6 Visual & motion safety — No web markup found — accessibility is not applicable to this repository.
- AC7 A11y enforcement — No web markup found — accessibility is not applicable to this repository.
- AX1 Captive dependencies — Not applicable: this repository's Go imports no dependency-injection container and defines no container of its own — nothing that both registers and resolves bindings, and nothing that names two lifetimes — so nothing holds one lifetime's instance while handing out another's.
- AX5 Architecture & structure — not assessed — architecture style/structure is computed from a project graph (projects, types, module namespaces) that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- AX6 Interface segregation — no exported interface declares behaviour
- AX7 Slice cohesion — not applicable — not a vertical-slice architecture
- AX8 Test isolation — no test/production split to check
- AX9 CQS / query purity — no CQRS query handlers detected — query purity is not applicable to this codebase
- AXB2 Runtime readiness — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- AXR1 Runtime accessibility — docker build failed (exit 1) — DEPRECATED: The legacy builder is deprecated and will be removed in a future release. Install the buildx component to build images with BuildKit: https://docs.docker.com/go/bui…; runtime evidence skipped This is a statement about this run, not a statement about your application: nothing here says the surface is inaccessible, only that it was never rendered.
- C1 Data Protection — Not assessed: these personal data controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks personal data controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
- C2 Access Controls — Not assessed: these authorization controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks authorization controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
- D10 Test Quality — ~68466 lines of test source are present (.go) but no test cases reached the test census for this repository — no test root we could resolve declared them, or the files we read declare no cases in a test framework we recognise — so skipped/assertion-free tests couldn't be counted. Not scored — this is a gap in the analyzer, not a finding about this repository.
- D18 Solution Shape — D18 scores the shape of a .NET solution; this repository has no .NET solution or project files, so the dimension does not apply.
- D20 ADR Quality — N/A — ADRs are expected on deployable products with a user-facing host, not consumed libraries; no ADR log is required here.
- D22 Internal API Consistency — The exposed public-API surface could not be collected — no C#/VB projects loaded.
- D23 Boundary Type-Coupling — No bounded-context organisation was detected either — neither a context-shaped layout, nor 2+ sibling source directories each declaring an aggregate root, nor 2+ projects each declaring an entity of their own. Declaring this codebase's bounded contexts (≥2) would let cross-boundary type coupling be assessed. Declare them in `.codehealth/config.yaml` at the repository root (create it if absent), mapping each context name to the module-path or namespace prefixes that belong to it — e.g. `architecture:` → `contexts:` → `Billing: ["src/billing", "Acme.Billing"]`, `Catalog: ["src/catalog", "Acme.Catalog"]`.
- D24 Comment Value — No inline comments to assess — comment value is not applicable here.
- D25 ADR Conformance — no ADRs to check
- D27 Navigability — D27 counts a call into the standard library or a dependency as unresolved for this repository's language (.go), so too few call sites counted as resolved to assess navigability. Not scored: this is a gap in the analyzer, not a verdict about this repository.
- D3 God Classes — Most of this repository's production source (.go) was not read by god-class detection, so type and module size was not assessed for the languages that are the product — whatever else this pass did read is not this repository's type and module size. Not scored — this is a gap in the analyzer, not a verdict about this repository.
- D32 Data Compliance (PII/GDPR) — No personal data was found crossing a boundary the PII/GDPR ruleset checks — nothing written to a log or console sink, placed in a URL or query string, or persisted to browser storage. That is a clean result for the LEAK surface only: this ruleset detects personal data escaping, it does not inventory the personal data a repository holds, so it is not evidence that this repository has no personal-data surface. The personal-data map (Appendix C) and the C1-C5 compliance cards are what speak to that.
- D34 Knowledge Freshness — knowledge concentrated in recent work — freshness signal contradicted by repo activity
- D39 IL Efficiency — D39 measures the IL emitted by a .NET build; this repository has no .NET solution or project files, so the dimension does not apply.
- D42 Runtime Threat Enforcement — The repository ships application workloads but no cluster-governance resources (CRDs, admission webhooks, or a committed policy engine). Runtime threat-detection (Falco/Tetragon) and admission control (Kyverno/OPA-Gatekeeper/PodSecurity) are cluster-OPERATOR controls owned by the platform, not shipped by an application repo/chart — nothing for this repo to assess.
- D7 Architectural Integrity — no checkable ADRs, and no project-reference graph for the cycle pass to read — so this dimension makes no claim about dependency cycles in either direction (where this repository's language has an import-cycle lens, cycles are reported there). Architectural integrity not assessed
- D8 Code Coverage — Coverage not included — suite not readable by the collector
- DM1 Domain Modelling — applicable but not scored (1 of 2 signals for this style — below the bar we score at): 1 value object(s)
- ED1 Event-Driven — applicable but not scored (2 of 3 signals for this style — below the bar we score at): 1 integration event(s); 1 event-sourced shape(s) (event folds / event-recording aggregates)
- ED5 Idempotency — no mutating command handlers or message consumers detected — idempotency check not applicable
- ES1 Event Sourcing — not scored — this repository shows only 1 of the 3 signals this lens looks for (1 Go aggregate(s) recording domain events (own events-slice append / raise-record))
- GD1 Unfinished & placeholder code — no source files were read — this check reads C#, F#, JavaScript/TypeScript, Dart, Ruby and Scala, and none was read for this repository's product. That is a limit of the analyzer, not a finding about your code.
- IC1 Incompleteness & stubs — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- P8 Schema migrations — no ORM, schema-migration tool or schema auto-create was found in this repository's dependency manifests or source, so there is no database schema for this check to judge
- P9 Domain vs controller coverage — no coverage report found on disk — produce a coverage report in a standard format (`go test -coverprofile=coverage.out ./...`) and commit it — a hosted scan measures a clone of the repository, so a report that exists only in a working tree, a CI runner's or your own, never reaches it; the artefact is commonly gitignored, so `git add -f` that one file (or un-ignore its path) and commit it alongside the code it measures, or wire coverage collection into CI, to enable this cross-layer check
- S1 Web-Security Posture — Not assessed: these web-security controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks web-security controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
- SC1 Supply-chain hygiene — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X20 Mistyped argument guard — This check asks whether an argument guard reports an EMPTY value as a NULL one, which needs a language that throws a null-specific argument exception — .NET's ArgumentNullException, the JVM's NullPointerException, Dart's ArgumentError.notNull. This repository contains none of those languages: the ones it is written in have a single exception for a bad argument, so there is no pair of exceptions to confuse and nothing here for it to assess. Not a gap in the analyzer and not a finding about your code.
- X27 Collection changed while being enumerated — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X32 Type resolved by simple name across every loaded assembly — This check is about how a .NET program searches the assemblies loaded into its process for a type, and this repository contains no .NET source, so there is nothing here for it to assess. Not a gap in the analyzer and not a finding about your code.
- X4 Structured logging — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X6 Hand-rolled structured-format parsing — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X9 Subsumed condition operand — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
Appendix A — Findings (grouped)
Critical — 30 finding(s)
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Flaky test: .::github.com/zeromicro/go-zero/core/stores/sqlx.TestQueryRowsScanTimeout
- REDACTED
- REDACTED
- REDACTED
Serious — 337 finding(s)
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Swallowed exception (caught, then discarded) core/configcenter/configurator.go:138
- Swallowed exception (caught, then discarded) core/logx/logtest/logtest.go:48
- Swallowed exception (caught, then discarded) core/netx/ip.go:8
- Swallowed exception (caught, then discarded) core/netx/ip.go:18
- Swallowed exception (caught, then discarded) core/proc/env.go:40
- Swallowed exception (caught, then discarded) core/stat/internal/cpu_linux.go:39
- Swallowed exception (caught, then discarded) core/stat/internal/cpu_linux.go:44
- Swallowed exception (caught, then discarded) core/stat/internal/cgroup_linux.go:313
- Swallowed exception (caught, then discarded) core/stores/redis/redis.go:1271
- Swallowed exception (caught, then discarded) core/stores/redis/redis.go:1276
- Swallowed exception (caught, then discarded) core/trace/utils.go:48
- Swallowed exception (caught, then discarded) gateway/internal/requestparser.go:83
- Swallowed exception (caught, then discarded) rest/internal/fileserver/filehandler.go:59
- Swallowed exception (caught, then discarded) REDACTED:102
- Swallowed exception (caught, then discarded) REDACTED:148
- Swallowed exception (caught, then discarded) tools/goctl/api/apigen/util.go:11
- Swallowed exception (caught, then discarded) tools/goctl/api/apigen/util.go:21
- Swallowed exception (caught, then discarded) REDACTED:252
- Swallowed exception (caught, then discarded) tools/goctl/api/swagger/options.go:44
- Swallowed exception (caught, then discarded) tools/goctl/api/swagger/options.go:52
- Swallowed exception (caught, then discarded) tools/goctl/api/swagger/annotation.go:13
- Swallowed exception (caught, then discarded) tools/goctl/model/sql/command/migrationnotes/v1.3.4.go:28
- Swallowed exception (caught, then discarded) tools/goctl/model/sql/converter/types.go:262
- Swallowed exception (caught, then discarded) tools/goctl/model/sql/gen/update.go:87
- Swallowed exception (caught, then discarded) tools/goctl/model/sql/gen/update.go:103
- TodoComment tools/goctl/api/parser/g4/ast/type.go:224
- TodoComment tools/goctl/api/parser/g4/ast/type.go:237
- TodoComment tools/goctl/api/parser/g4/ast/type.go:317
- TodoComment tools/goctl/api/parser/g4/ast/type.go:410
- TodoComment tools/goctl/api/parser/g4/ast/type.go:440
- TodoComment tools/goctl/api/parser/g4/ast/type.go:470
- TodoComment tools/goctl/api/parser/g4/ast/type.go:512
- TodoComment tools/goctl/api/parser/g4/ast/type.go:546
- TodoComment tools/goctl/api/parser/g4/ast/type.go:679
- TodoComment tools/goctl/api/parser/g4/ast/type.go:729
- TodoComment tools/goctl/api/parser/g4/ast/syntax.go:30
- TodoComment tools/goctl/api/parser/g4/ast/service.go:292
- TodoComment tools/goctl/api/parser/g4/ast/service.go:320
- TodoComment tools/goctl/api/parser/g4/ast/service.go:386
- TodoComment tools/goctl/api/parser/g4/ast/service.go:414
- TodoComment tools/goctl/api/parser/g4/ast/service.go:471
- TodoComment tools/goctl/api/parser/g4/ast/service.go:555
- TodoComment tools/goctl/api/parser/g4/ast/service.go:570
- TodoComment tools/goctl/api/parser/g4/ast/service.go:628
- TodoComment tools/goctl/api/parser/g4/ast/kv.go:55
- TodoComment tools/goctl/api/parser/g4/ast/info.go:34
- TodoComment tools/goctl/api/parser/g4/ast/import.go:74
- TodoComment tools/goctl/api/parser/g4/ast/api.go:207
- TodoComment tools/goctl/api/parser/g4/gen/api/apiparser_lexer.go:180
- TodoComment tools/goctl/api/parser/g4/gen/api/apiparser_lexer.go:206
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Duplicated block (8 lines × 2) core/fx/timeout.go:32
- Duplicated block (8 lines × 2) core/stores/redis/redis.go:2424
- Duplicated block (8 lines × 2) core/stores/redis/redis.go:2556
- Duplicated block (8 lines × 2) core/mapping/tomlunmarshaler.go:10
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Duplicated block (12 lines × 2) core/prof/runtime.go:40
- Duplicated block (12 lines × 2) zrpc/internal/clientinterceptors/tracinginterceptor.go:34
- Duplicated block (12 lines × 2) zrpc/resolver/internal/kube/eventhandler.go:31
- Duplicated block (11 lines × 2) core/stores/redis/redis.go:2461
- Duplicated block (11 lines × 2) core/stores/redis/redis.go:2495
- Duplicated block (11 lines × 2) REDACTED:155
- Duplicated block (9 lines × 2) core/stores/redis/redis.go:2430
- Duplicated block (9 lines × 2) core/configcenter/subscriber/etcd.go:107
- Duplicated block (9 lines × 2) core/fx/stream.go:531
- Duplicated block (6 lines × 2) core/stores/mon/collection.go:113
- Duplicated block (6 lines × 2) core/stores/sqlx/orm.go:154
- Duplicated block (6 lines × 2) core/stores/mon/collection.go:72
- Low cohesion: Redis (LCOM4 129) core/stores/redis/redis.go:56
- Low cohesion: Model (LCOM4 9) core/stores/mon/model.go:25
- Low cohesion: circuitBreaker (LCOM4 5) core/breaker/breaker.go:94
- Function without context.Context: Download REDACTED:9
- Function without context.Context: downloadFile tools/goctl/plugin/plugin.go:149
- Function without context.Context: dial zrpc/internal/client.go:122
- Deprecated module: github.com/golang/protobuf
- Deprecated module: go.opentelemetry.io/otel/exporters/zipkin
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Duplicated block (14 lines × 2) core/codec/rsa.go:54
- Duplicated block (14 lines × 2) core/logx/writer.go:502
- Duplicated block (7 lines × 2) core/stores/mon/trace.go:16
- Duplicated block (7 lines × 2) core/stores/redis/metrics.go:13
- Outbound HTTP without resilience REDACTED:10
- Outbound HTTP without resilience tools/goctl/plugin/plugin.go:150
- Unmarshaler.processFieldNotFromString (cyclomatic 22) core/mapping/unmarshaler.go:582
- sqlx.format (cyclomatic 21) core/stores/sqlx/utils.go:54
- Unmarshaler.generateMap (cyclomatic 20) core/mapping/unmarshaler.go:331
- Publisher.keepAliveAsync (cyclomatic 17) core/discov/publisher.go:121
- Unmarshaler.processNamedField (cyclomatic 17) core/mapping/unmarshaler.go:794
- mapping.parseNumberRange (cyclomatic 16) core/mapping/utils.go:300
- kubeBuilder.Build (cyclomatic 16) zrpc/resolver/internal/kubebuilder.go:45
- sqlx.format (cognitive 46) core/stores/sqlx/utils.go:54
- Unmarshaler.generateMap (cognitive 43) core/mapping/unmarshaler.go:331
- Publisher.keepAliveAsync (cognitive 38) core/discov/publisher.go:121
- sqlx.unmarshalRows (cognitive 31) core/stores/sqlx/orm.go:182
- internal.parseUints (cognitive 27) core/stat/internal/cgroup_linux.go:255
- filex.skipPartialLine (cognitive 24) core/filex/lookup.go:82
- Unmarshaler.processNamedField (cognitive 24) core/mapping/unmarshaler.go:794
- fx.retry (cognitive 23) core/fx/retry.go:47
- Unmarshaler.processFieldNotFromString (cognitive 23) core/mapping/unmarshaler.go:582
- builder.RawFieldNames (cognitive 23) core/stores/builder/builder.go:12
- internal.GetMethods (cognitive 23) gateway/internal/descriptorsource.go:21
- Unmarshaler.processNamedFieldWithoutValue (cognitive 22) core/mapping/unmarshaler.go:918
- cluster.handleWatchEvents (cognitive 21) core/discov/internal/registry.go:252
- profiling.startPyroscope (cognitive 21) internal/profiling/profiling.go:109
- kubeBuilder.Build (cognitive 21) zrpc/resolver/internal/kubebuilder.go:45
- mapping.parseNumberRange (cognitive 20) core/mapping/utils.go:300
- encoding.validateJSONCompatible (cognitive 20) internal/encoding/encoding.go:32
- Unmarshaler.fillSlice (cognitive 19) core/mapping/unmarshaler.go:131
- metricsContainer.Execute (cognitive 19) core/stat/metrics.go:120
- node.find (cognitive 19) core/stringx/node.go:63
- httpx.GetFormValues (cognitive 19) rest/httpx/util.go:22
- filex.lastLine (cognitive 18) core/filex/file.go:58
- mapping.implicitValueRequiredStruct (cognitive 18) core/mapping/utils.go:199
- Unmarshaler.processAnonymousStructFieldOptional (cognitive 18) core/mapping/unmarshaler.go:528
- sqlx.parseInsertStmt (cognitive 18) core/stores/sqlx/bulkinserter.go:154
- sqlx.mapStructFieldsIntoSlice (cognitive 18) core/stores/sqlx/orm.go:89
- mapping.processMember (cognitive 17) core/mapping/marshaler.go:67
- netx.InternalIp (cognitive 17) core/netx/ip.go:6
- SizeLimitRotateRule.OutdatedFiles (cognitive 16) core/logx/rotatelogger.go:168
- search.add (cognitive 16) core/search/tree.go:152
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Change coupling: insert.go ↔ REDACTED tools/goctl/model/sql/gen/insert.go:1
- REDACTED
- Near-duplicate member pair (30 shared lines) core/stores/mon/collection.go:17
- Duplicated block (18 lines × 2) core/stores/mon/collection.go:52
- Duplicated block (16 lines × 2) REDACTED:37
- Duplicated block (9–10 lines × 2) zrpc/resolver/internal/directbuilder.go:18
- Duplicated block (7 lines × 4) zrpc/internal/clientinterceptors/tracinginterceptor.go:33
- Duplicated block (5 lines × 2) core/stores/redis/metrics.go:21
- Duplicated block (7 lines × 3) rest/handler/cryptionhandler.go:106
- Coverage collected but not gated
- No DR/backup evidence
Minor — 74 finding(s)
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- No seccomp profile REDACTED:2
- No seccomp profile REDACTED:18
- No seccomp profile REDACTED:90
- No seccomp profile REDACTED:162
- No seccomp profile REDACTED:234
- No seccomp profile REDACTED:306
- Duplicated predicate tools/goctl/rpc/generator/gencall.go:273
- Duplicated predicate tools/goctl/api/dartgen/util.go:244
- Duplicated predicate REDACTED:270
- Duplicated predicate tools/goctl/rpc/generator/genlogic.go:157
- REDACTED
- REDACTED
- REDACTED
- Silent fallback default on error core/logx/logtest/logtest.go:48
- Silent fallback default on error core/netx/ip.go:8
- Off-boarding risk: anonymized user #1
- Further sole-owners (lower concentration)
- Projects may be oversized for their cohesion
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- No network policy
- No ADRs
- Changelog looks stale/thin
- Not all functions that make a request accept a context.Context or an AbortSignal
- Strict null checking is not enabled everywhere the repository type-checks
Minor — 18 finding(s)
- Outdated: github.com/go-openapi/spec
- Outdated: github.com/prometheus/client_golang
- Outdated: github.com/redis/go-redis/v9
- Outdated: go.etcd.io/etcd/api/v3
- Outdated: go.etcd.io/etcd/client/v3
- Outdated: go.opentelemetry.io/otel
- Outdated: go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc
- Outdated: go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp
- Outdated: go.opentelemetry.io/otel/exporters/stdout/stdouttrace
- Outdated: go.opentelemetry.io/otel/sdk
- Outdated: go.opentelemetry.io/otel/trace
- Outdated: golang.org/x/net
- Outdated: golang.org/x/sys
- Outdated: golang.org/x/text
- Outdated: golang.org/x/time
- Outdated: k8s.io/api
- Outdated: k8s.io/apimachinery
- Outdated: k8s.io/client-go
Appendix B — Reproduction & audit trail
| Dimension | Tool | Version | Command | Findings | Raw output |
|---|---|---|---|---|---|
| D28 · Secrets (history) | gitleaks | — | gitleaks detect --no-banner --config /opt/gitleaks-rules/watchdog-gitleaks.toml --report-format json --report-path /tmp/watchdog-gitleaks-33b2657d95a04c2898cca9da5dc22d33/history.json --exit-code 0 --source . | 1 | artifacts/raw/gitleaks-history.json |
| D28 · Secrets (history) | gitleaks | — | gitleaks detect --no-git --no-banner --config /opt/gitleaks-rules/watchdog-gitleaks.toml --report-format json --report-path /tmp/watchdog-gitleaks-33b2657d95a04c2898cca9da5dc22d33/tree.json --exit-code 0 --source . | 0 | artifacts/raw/gitleaks-tree.json |
| D29 · Static Analysis (SAST) | semgrep | — | semgrep --config /opt/semgrep-rules/security-audit.yml --config /opt/semgrep-rules/owasp-top-ten.yml --config /opt/semgrep-rules/watchdog-sast.yml --json --quiet --timeout 10 --timeout-threshold 3 --metrics off . | 61 | artifacts/raw/semgrep.json |
| D30 · Dependency Vulnerabilities | osv-scanner | — | osv-scanner --format json --recursive --experimental-disable-plugins transitivedependency/requirements --experimental-disable-plugins dotnet/csproj --experimental-disable-plugins dotnet/nugetcpm . /tmp/codehealth-osv-sbom-68a8014fc0fc491788598f5ff7a2740c | 8 | artifacts/raw/osv-scanner.json |
| D31 · IaC & Container Security | trivy | — | trivy config --format json --quiet . | 198 | artifacts/raw/trivy-config.json |
| D32 · Data Compliance (PII/GDPR) | semgrep | — | semgrep: not applicable — No personal data was found crossing a boundary the PII/GDPR ruleset checks — nothing written to a log or console sink, placed in a URL or query string, or persisted to browser storage. That is a clean result for the LEAK surface only: this ruleset detects personal data escaping, it does not inventory the personal data a repository holds, so it is not evidence that this repository has no personal-data surface. The personal-data map (Appendix C) and the C1-C5 compliance cards are what speak to that. | 0 | — |
| D42 · Runtime Threat Enforcement | runtime-hardening | — | runtime-hardening: not applicable — The repository ships application workloads but no cluster-governance resources (CRDs, admission webhooks, or a committed policy engine). Runtime threat-detection (Falco/Tetragon) and admission control (Kyverno/OPA-Gatekeeper/PodSecurity) are cluster-OPERATOR controls owned by the platform, not shipped by an application repo/chart — nothing for this repo to assess. | 0 | — |
| D43 · Malicious Dependencies | osv-scanner | — | osv-scanner --format json --recursive --experimental-disable-plugins transitivedependency/requirements --experimental-disable-plugins dotnet/csproj --experimental-disable-plugins dotnet/nugetcpm . /tmp/codehealth-osv-sbom-68a8014fc0fc491788598f5ff7a2740c | 0 | artifacts/raw/osv-scanner.json |