Files
pr-agent/docs/docs/tools/analyze.md

19 lines
651 B
Markdown
Raw Normal View History

2024-03-06 21:52:11 +02:00
## Overview
2024-04-07 09:28:22 +03:00
The `analyze` tool combines advanced static code analysis with LLM capabilities to provide a comprehensive analysis of the PR code changes.
2023-12-24 13:08:13 +02:00
2024-04-07 09:28:22 +03:00
The tool scans the PR code changes, find the code components (methods, functions, classes) that changed, and enables to interactively generate tests, docs, code suggestions and similar code search for each component.
2023-12-24 13:08:13 +02:00
It can be invoked manually by commenting on any PR:
```
/analyze
```
2024-03-06 21:52:11 +02:00
## Example usage
2024-04-18 10:04:38 +03:00
2024-04-07 09:28:22 +03:00
An example result:
2023-12-24 13:08:13 +02:00
![Analyze 1](https://codium.ai/images/pr_agent/analyze_1.png){width=750}
2024-03-06 21:52:11 +02:00
**Notes**
2024-03-31 12:15:29 +03:00
- Language that are currently supported: Python, Java, C++, JavaScript, TypeScript, C#.