Analyze

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:

/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

Last updated

Was this helpful?