> ## Documentation Index
> Fetch the complete documentation index at: https://docs.qodo.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Analyze

<Badge color="outline-provider" size="sm" shape="pill" icon="github">GitHub</Badge>
<Badge color="outline-provider" size="sm" shape="pill" icon="gitlab">GitLab</Badge>

<Warning>
  **Git Integration (formerly Qodo Merge)** – AI code review agents for pull requests. This documentation describes the Qodo v1 experience. For the Qodo v2 documentation, click [here.](/code-review)
</Warning>

The `analyze` tool combines static code analysis with LLMs to identify the methods, functions, and classes changed in a PR.

The tool scans the PR code changes, identifies code components that changed, and for each component lets you interactively generate tests, documentation, code suggestions, and find similar code.

The `analyze` tool supports the programming languages: Python, Java, C++, JavaScript, TypeScript, C#.

## How to use the `analyze` tool

**Manual usage**

Comment on the PR:

```bash theme={null}
/analyze
```

### Interactive options

After using the `analyze` tool, you can immediately trigger component-level actions and apply changes with a few interactive options:

* Interactive checkboxes to generate tests, documentation, and code suggestions for specific components
* On-demand similar code search that activates when a checkbox is clicked
* Component-specific actions that trigger only for the selected elements, providing focused assistance

## Example usage

<Frame>
  <img src="https://mintcdn.com/qodo/uIkZ6kAWHm6WXqrW/images/v1/image-169.png?fit=max&auto=format&n=uIkZ6kAWHm6WXqrW&q=85&s=1f86ab4774f33e26cb229e84dc864d70" alt="" width="916" height="900" data-path="images/v1/image-169.png" />
</Frame>
