RepoPilot

postgresml/pgcat · Architecture

A static read of how postgresml/pgcat is wired together — module coupling, layering, and circular dependencies — derived from its import graph.

C
Architecture grade
score 66/100
8
Import cycles
lower is better
37
Modules parsed
98 edges
89%
Layeredness
clean-layer ratio

Most-depended-on modules

These are the highest-fan-in files — change them and the blast radius is largest. Read them first.

  • src/config.rs13 importers · radius 15
  • src/errors.rs12 importers · radius 17
  • src/pool.rs11 importers · radius 15
  • src/stats.rs7 importers · radius 15
  • src/server.rs6 importers · radius 15
  • src/messages.rs6 importers · radius 15
  • src/constants.rs5 importers · radius 17
  • src/sharding.rs4 importers · radius 16

Modules (3)

Source directories grouped from the import graph. Each links to a per-module page with its files and how it couples to the rest.

Circular dependencies (8)

  • src/config.rs to src/dns_cache.rs to src/config.rs
  • src/pool.rs to src/config.rs to src/pool.rs
  • src/pool.rs to src/config.rs to src/stats.rs to src/client.rs to src/pool.rs
  • src/admin.rs to src/pool.rs to src/config.rs to src/stats.rs to src/client.rs to src/admin.rs
  • src/config.rs to src/stats.rs to src/client.rs to src/auth_passthrough.rs to src/config.rs
  • src/pool.rs to src/config.rs to src/stats.rs to src/client.rs to src/auth_passthrough.rs to src/pool.rs

Ask AI about postgresml/pgcat

Grounded in the actual source code. Pick a starter question or write your own.

Or write your own question

Informational only. RepoPilot summarises public signals at the time of analysis; they can be incomplete or stale. Not professional, security, or legal advice.