One-click Clang-Tidy check and visual HTML report generation for VS Code. Generate interactive charts, embed reports in Webview, and fully customizable via settings.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
A Visual Studio Code extension for visualizing and analyzing Clang-Tidy warnings in C++ projects, 10x faster than LLVM's official run-clang-tidy.py script.
Features
Blazing Fast Analysis: 10x faster than LLVM's official run-clang-tidy.py script
Interactive HTML Reports: Generate comprehensive HTML reports with visualizations of Clang-Tidy warnings
Warning Statistics: View warning distribution by severity, checker, and file
Filter and Search: Filter warnings by rule, severity, and file
Progress Monitoring: Real-time progress bar showing file analysis status
Optimized Parallel Processing: Leverages multiple CPU cores with intelligent batch processing
Smart File Management: Automatically uses compile_commands.json for efficient file discovery
i18n Support: Available in English and Chinese
Performance Advantage
Clang-Tidy Visualizer achieves 10x faster analysis than LLVM's official script through several key technical optimizations:
1. Runtime Environment
Built on JavaScript/TypeScript with V8 engine's Just-In-Time (JIT) compilation
Asynchronous IO model eliminates Python's Global Interpreter Lock (GIL) limitations
Lightweight process management with minimal overhead
2. Intelligent Batch Processing
Files are divided into optimal-sized batches for parallel execution
Dynamic batch sizing based on file count and CPU capabilities
Maximum 8 parallel jobs to avoid resource contention
3. Efficient File Handling
Prioritizes compile_commands.json for accurate file discovery