CodeChecker – static analysis and defect management platform

CodeChecker is a static analysis and defect management platform for software projects. It brings together tools for finding potential problems in source code and a central service for inspecting, organising and reviewing their reports. Its analysis workflow focuses on C and C++, while its reporting infrastructure can accommodate findings from other programming languages.

Developers can capture the commands used to compile a project, run the analyzers against the resulting compilation database and inspect the diagnostics without setting up a server. For team use, reports can be stored in a database and examined through a browser, providing a shared record of code-quality issues across multiple analysis runs.

This is free and open source software.

Key Features

  • Executes Clang Static Analyzer and Clang-Tidy, including cross-translation-unit analysis.
  • Can run Cppcheck, GCC Static Analyzer and Infer from the same command-line workflow.
  • Records build commands in a JSON compilation database, including builds driven by Make.
  • Supports incremental analysis to avoid repeatedly checking unaffected source files and dependencies.
  • Automatically detects compiler settings when examining GCC cross-compiled projects.
  • Displays defect severity, source locations and the execution steps behind individual findings.
  • Filters results by checker, severity and source path, and highlights newly introduced or resolved issues when comparing runs.
  • Provides suppression mechanisms for known false positives and facilities for commenting on reports.
  • Stores findings in PostgreSQL or SQLite, with support for multiple projects and analysis histories.
  • Exports diagnostic reports in the terminal or as static HTML pages.
  • Imports reports from external tools, including ESLint, SpotBugs and Pylint, through report conversion utilities.
  • Integrates with GitLab and Gerrit to make analysis findings available during code review.

Website: github.com/Ericsson/codechecker
Support:
Developer: Ericsson
License: Apache License 2.0

CodeChecker in action

CodeChecker is written in Python. Learn Python with our recommended free books and free tutorials.

Related Software

C and C++ Linters
OCLintStatic code analysis tool for improving quality and reducing defects
cpplintStatic code checker for C++
CodeCheckerPlatform for running static analysers and managing code defects
UncrustifySource code beautifer
InferStatic analyser that detects bugs in Java, C and C++ code
Include What You UseSource analysis tool for C and C++ projects built on Clang
CppcheckStatic analysis tool for C/C++ code
flawfinderScans C and C++ source code for potential security weaknesses
clazyQt-focused static analyser that catches common C++ mistakes
ClangFormatCode formatting tool
Clang-TidyClang-based C++ “linter” tool
SmatchStatic analysis tool for finding defects in C code
CoccinelleSemantic patching tool for analysing and transforming C code

Read our verdict in the software roundup.


Best Free and Open Source Software LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.

We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more.

Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion.

Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted