#dependency-graph #coupling #static-analysis #code-quality #refactoring

code-split-complexity

Central, language-agnostic complexity metrics for Code Split (by file extension, rust-code-analysis)

9 releases

Uses new Rust 2024

1.0.0-alpha.4 Jun 5, 2026
1.0.0-alpha.3 Jun 2, 2026
0.1.1 May 30, 2026
0.1.0-alpha.11 May 29, 2026
0.1.0-alpha.8 May 28, 2026

#1125 in Procedural macros


Used in code-split

Apache-2.0

93KB
2K SLoC

Central, language-agnostic complexity pass. Given a structural graph whose file nodes carry their absolute path as id, this reads each file, picks a rust-code-analysis parser by extension, and writes the metrics into the node's attrs as flat keys. It is the single place that knows rust-code-analysis; plugins emit structure only.

The metric attribute dictionary it can produce is exposed via metric_specs so the orchestrator can declare it in the snapshot.

Dependencies

~100MB
~3M SLoC