RepoAudit
AI-Powered Code Analysis for Bug Detection
RepoAudit Extension is a VS Code extension that provides intelligent code analysis and automated bug detection for your projects. Powered by advanced AI models, it helps you identify potential issues in C++, Java, Python, and Go codebases.
Features
✨ AI-Powered Analysis - Leverages state-of-the-art language models for deep code understanding
🔍 Null Pointer Dereference Detection - Automatically finds NPD bugs in your code (Beta)
📁 Workspace Integration - Seamlessly browse and select files from your project
🎯 Precise Bug Reports - Detailed explanations with exact file locations and line numbers
⚡ One-Click Analysis - Simple workflow: select files, choose model, click analyze
🔄 Session Management - Save and switch between multiple analysis sessions
Getting Started
Installation
- Install the RepoAudit extension from the VS Code marketplace
- Open a workspace containing your code project
- Click the RepoAudit icon in the Activity Bar (left sidebar)
Basic Usage
Select Files to Analyze
- The WORKSPACE panel shows your project's file structure
- Click on folders to expand/collapse them
- Click the
+ button next to files or folders to select them for analysis
Choose Analysis Options
- Model: Select OpenAI or Claude (click the ✦ dropdown)
- Bug Type: Currently only NPD (Null Pointer Dereference) is available
- Other bug types coming soon!
Start the Audit
- Click the send button (paper plane icon) to start analysis
- The extension will automatically analyze selected files for the chosen bug type
- Wait for the analysis to complete (may take a few minutes)
Review Results
- Bug reports appear in the chat with detailed explanations
- Click on file references to jump to the exact location in your code
- Review the bug description and affected code sections
Supported Languages (Beta)
Currently supports:
- C/C++:
.c, .cpp, .h, .hpp
- Go:
.go
Coming soon: Java, Python, and more!
Configuration
API Keys
RepoAudit requires API keys for AI model access:
- Click the settings icon (⚙️) in the RepoAudit sidebar
- Enter your API keys:
- OpenAI API Key - For GPT models
- Anthropic API Key - For Claude models
- Click "Save API Keys"
Model Selection
Choose your AI model family:
- OpenAI - Uses OpenAI's GPT models for analysis
- Claude - Uses Anthropic's Claude models for analysis
The extension automatically selects the best model within the chosen family.
Beta Version Limitations
This is a Beta release with the following limitations:
- Bug Types: Only NPD (Null Pointer Dereference) detection is available
- Languages: Only C/C++ and Go are supported
- Analysis: Automated analysis only (no custom prompts)
More features coming soon!
Privacy & Security
- Your code is analyzed securely through encrypted connections
- API keys are stored locally in VS Code settings
- No code is stored on external servers beyond the analysis session
Version: 0.0.1-alpha
Publisher: BiScope AI Team