See the Invisible Structure of Your Code.
Go beyond simple metrics. Visualize code communities, identify bus factors, and master your architecture with AST Metrics.
$ ast-metrics analyze .
✓ Detecting architecture...
✓ Extracting code metrics...
✓ Calculating Bus Factor...
✓ Generating recommendations...
Insights found:
• 3 Communities detected
• CRITICAL: Bus Factor = 1
• WARNING: 5 Classes with high complexity
Architecture Detection
Discover how your code naturally groups together using the Louvain algorithm. See the real structure of your application.
Bus Factor Analysis
Identify key contributors and potential risks. Know exactly who holds the critical knowledge in your codebase.
Coupling & Architecture
Visualize dependencies and architectural hotspots. Ensure your code remains loosely coupled and maintainable.
Code Metrics
Identify complexity, size, and structure of your codebase. Understand the true cost of your code.
Linters & Rules
Enforce best practices automatically. Define custom rules to ensure code quality and architectural compliance.
Built for CI/CD
AST Metrics is designed to be integrated into your Continuous Integration pipelines. Block merge requests if the code quality decreases, or if architectural rules are violated.
GitHub Actions
Ready-to-use Action available on the Marketplace.
GitLab CI
Simple integration in few lines of code.
Explore All Metrics
Dive deep into every metric: Volume, Complexity, Coupling, Bus Factor, and more. Understand what they mean and how to use them.
View Metrics Guide