Compare software

CodeQL vs Cppcheck: catalog facts
CodeQLCppcheck
Freemium

Free for research and open source code; other use falls under GitHub's CodeQL terms.

Free

Free and open source under the GPL-3.0 licence.

Command line Windows, macOS, Linux, Command line
  • Queries follow data flow from source to sink across a codebase
  • Finds every variant of a known bug pattern
  • Detects memory leaks, buffer overruns and allocation mismatches
  • Aims for zero false positives
  • Free use is limited to research and open source code
  • Writing custom queries means learning the QL language
  • Limited to C and C++
  • Static analysis cannot catch every runtime bug
Downloadable app Downloadable app
Closed source Open source
License: GitHub CodeQL Terms and Conditions License: GPL-3.0-or-later
Not stated if an account is needed No account needed
Not stated if it works offline Works offline

Checked September 24, 2026

Checked October 1, 2026

Catalog facts only. Anything “not stated” is unconfirmed. Check full listings for details.