Most linters check style.
This one checks architecture.

noupling scans your project, builds a dependency graph from actual import statements, and gives you a single health score you can track over time and gate in CI.

# Install
brew tap pererikbergman/noupling
brew install noupling

# Scan, audit, report
noupling scan .
noupling audit . --fail-below 80
noupling report . --format html

Architecture, quantified

🔍

Detect coupling violations

Sibling modules that depend on each other break architectural boundaries. noupling finds every one, scores severity by depth, and tells you exactly which import to fix.

🔄

Find circular dependencies

Dependency chains that form loops prevent independent development. The XS metric identifies the weakest link in every cycle—the cheapest edge to cut.

📈

One health score (0–100)

A single, risk-weighted number that tracks architectural drift across snapshots. Gate CI with --fail-below. Drill into interactive HTML reports to see exactly where coupling lives.

⚡

14 languages, one tool

Tree-sitter parses actual ASTs—no regex. From Kotlin to Rust to Python, the same analysis runs everywhere. Rayon parallelizes scanning across all cores.

🛠

Configurable layers & rules

Define architectural layers so downward dependencies aren't flagged. Add custom rules to forbid specific import patterns. Tune risk weights per dependency direction. Suppress known violations inline.

📦

14 report formats

Text, JSON, XML, Markdown, interactive HTML, SonarCloud, Mermaid, GraphViz DOT, zoomable Sunburst, an executive Dashboard, PR comment, sprint Briefing, trend Strategy, and the new interactive Explorer. Use --format all to generate every format in one command.

Before and after

The shift from hoping your architecture holds to knowing it does.

Coupled State Noupled State
Architecture review Manual, inconsistent, happens after the damage Automated on every PR, quantified, gated
Circular dependencies Discovered during a painful refactor Caught at commit time with exact break cost
New developer impact "I touched one file and 40 tests broke" Boundaries are explicit and enforced
Architecture health A gut feeling that degrades quarterly A number: 82.3/100, trending up since March
Incremental adoption All-or-nothing rewrite fantasies Baseline existing debt, only fail on new violations

Supported languages

C# .cs
Dart .dart
Go .go
Haskell .hs
Java .java
JavaScript .js .jsx
Kotlin .kt .kts
PHP .php
Python .py
Ruby .rb
Rust .rs
Swift .swift
TypeScript .ts .tsx
Zig .zig