title | description | sidebar_label | sidebar_position |
---|---|---|---|
Code Graph |
Learn about CodeRabbit's intelligent graph-based code analysis. |
Code Graph |
6 |
Code Graph is an intelligent code analysis feature that enhances your code reviews by automatically mapping relationships between files in your codebase. By understanding how your code connects and interacts, Code Graph provides concrete snippets of context that makes reviews more effective and insightful.
When reviewing code with CodeRabbit, Code Graph automatically:
- Maps symbol definitions and references across your entire codebase
- Analyzes commit history to identify files that frequently change together
- Builds relationship graphs showing how different parts of your code connect
- Enriches reviews with contextual information about related code
Code Graph adds three powerful layers of context to your reviews:
- Definition Files: Files containing definitions that are referenced in the current code
- Reference Files: Files that reference symbols defined in the current code
- Related Files: Files that appear related based on usage patterns and commit history
Code Graph works with:
- Bash
- C
- C#
- C++
- CSS
- Elixir
- Go
- Java
- JavaScript
- Kotlin
- Lua
- PHP
- Python
- Ruby
- Rust
- Scala
- Swift
- TSX
- TypeScript
Code Graph is available on the Lite tier and above.
Learn more about CodeRabbit's advanced features at coderabbit.ai