From 9af3cca240e9181dd413a6dcf4a23a24ef79d245 Mon Sep 17 00:00:00 2001 From: Howon Lee Date: Tue, 8 Apr 2025 09:10:54 -0700 Subject: [PATCH] what is this weirdness --- docs/integrations/code-graph-analysis.md | 66 ++++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 docs/integrations/code-graph-analysis.md diff --git a/docs/integrations/code-graph-analysis.md b/docs/integrations/code-graph-analysis.md new file mode 100644 index 00000000..dd0bd582 --- /dev/null +++ b/docs/integrations/code-graph-analysis.md @@ -0,0 +1,66 @@ +--- +title: Code Graph Analysis +description: Learn about CodeRabbit's intelligent graph-based code analysis. +sidebar_label: Code Graph Analysis +sidebar_position: 6 +--- + +# CodeRabbit Code Graph Analysis + +## What is Code Graph Analysis? + +Code Graph Analysis 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. + +## How Code Graph Analysis Enhances Your Reviews + +When reviewing code with CodeRabbit, Code Graph Analysis 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 Analysis is also available in the CodeRabbit Chat. CodeRabbit Chat will automatically analyze your codebase with it when the agent deems it necessary. + +## Key Features + +### Three Types of Contextual Information + +Code Graph Analysis adds three powerful layers of context to your reviews: + +1. **Definition Files**: Files containing definitions that are referenced in the current code +2. **Reference Files**: Files that reference symbols defined in the current code +3. **Related Files**: Files that appear related based on usage patterns and commit history + +### Language Support + +Code Graph Analysis works with: + +- Bash +- C +- C# +- C++ +- CSS +- Elixir +- Go +- Java +- JavaScript +- Kotlin +- Lua +- PHP +- Python +- Ruby +- Rust +- Scala +- Swift +- TSX +- TypeScript + +## Availability + +Code Graph Analysis is available on the Lite tier and above. + +--- + +Learn more about CodeRabbit's advanced features at [coderabbit.ai](https://coderabbit.ai)