RepoPilot

sharkdp/bat · Architecture

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

A
Architecture grade
score 95/100
1
Import cycles
lower is better
62
Modules parsed
81 edges
99%
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/error.rs13 importers · radius 19
  • src/assets.rs5 importers · radius 7
  • src/input.rs5 importers · radius 8
  • src/config.rs4 importers · radius 5
  • src/line_range.rs4 importers · radius 6
  • src/paging.rs4 importers · radius 8
  • src/diff.rs4 importers · radius 4
  • src/output.rs3 importers · radius 4

Modules (4)

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 (1)

  • src/printer.rs to src/decorations.rs to src/printer.rs

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