Overview of code-review-graph features
mainThe code-review-graph project provides a comprehensive suite of tools for analyzing codebases through graph-based representations. Key capabilities include:
- Incremental Updates: Re-analyzes only changed files, completing updates in under 2 seconds.
- Blast-radius Analysis: Identifies functions, classes, and files potentially affected by changes.
- Semantic Search: Supports vector embeddings via
sentence-transformers, Google Gemini, MiniMax, or OpenAI-compatible endpoints (including Azure, LiteLLM, vLLM, LocalAI). - Graph Analysis & Visualization: Uses D3.js for interactive layouts, detects architectural bottlenecks (Hubs/Bridges), and identifies unexpected couplings (Surprise Scoring).
- Automated Review Support: Generates review questions based on graph analysis and provides risk-scored reviews via
detect_changesmapping. - Community Detection: Uses the Leiden algorithm to cluster related code into communities.
- Export Formats: Supports GraphML (for Gephi/yEd), Neo4j Cypher, Obsidian vaults (with wikilinks), and static SVG graphs.
- Search Capabilities: Hybrid search combining keyword (FTS5) and vector similarity.
- Local-first Storage: Uses a SQLite file within
.code-review-graph/for core graph storage, requiring no external database or cloud services.