codechecker
CodeChecker is an analyzer tooling, defect database and viewer extension for static and dynamic analyzer tools.
What is codechecker?
CodeChecker is an analyzer tooling, defect database and viewer extension for static and dynamic analyzer tools.
Overview of codechecker
What it is
CodeChecker is a static analysis infrastructure built on the LLVM/Clang Static Analyzer toolchain. It replaces scan-build in Linux or macOS development environments. The tool provides an analyzer tooling, defect database, and viewer extension for static and dynamic analyzer tools.
Key features
- Executes Clang-Tidy, Clang Static Analyzer with Cross-Translation Unit analysis, Statistical Analysis, Cppcheck, GCC Static Analyzer, and Facebook Infer Analyzer.
- Creates a JSON compilation database by wiretapping any build process (e.g.,
CodeChecker log -b “make”). - Automatically analyzes GCC cross-compiled projects by detecting GCC or Clang compiler configuration.
- Supports incremental analysis: only changed files and their dependencies need to be reanalyzed.
- Provides false positive suppression with a possibility to add review comments.
- Offers a web-based report storage and visualization for thousands of analysis reports from many analyzers (Clang Static Analyzer, Clang Tidy, Facebook Infer, Clang Sanitizers, Spotbugs, Pylint, Eslint, etc.).
- Includes a web application for viewing code defects with filtering, comparison (diff mode), and a comment/review system.
Use cases
CodeChecker is used for static analysis of C/C++ codebases, integrating with CI pipelines, and managing analysis results in a team environment. It is suitable for developers who need to detect code defects early, compare analysis runs to track introduced or fixed bugs, and share results with colleagues via a web interface or command-line tools. The tool also supports Gerrit and GitLab integration for code review workflows.
Getting started
See the repository README for installation and quick-start instructions. The typical usage flow is:CodeChecker log -b “make” -o compilation_database.jsonCodeChecker analyze compilation_database.json -o reportsCodeChecker parse reports
License and pricing
CodeChecker is licensed under Apache-2.0. It is open source and free to use.
Based on the project's public README and repository metadata.