Best C and C++ Static Analysis Tools in 2026

In short: CBMC is ranked #1 of 25 as of 4 October 2026, ahead of Infer and MATLAB Grader. The best-ranked option with a free plan is Infer. The lowest first paid tier on this page is Qodana at $5/mo.

For C and C++ code, static analysis tools can be compared by the types of potential issues they check. The ranked entries begin with CBMC, CodeChecker and Infer. Look at coding-rule checks, memory defect detection and concurrency analysis, along with security analysis and taint analysis, to compare coverage. MISRA support may matter for projects with that requirement. Free-plan availability and paid-from pricing offer cost context alongside these capabilities. Consider which checks are relevant to your code and what you need from an analysis tool.

25 c and c++ static analysis tools ranked on what their makers publish — plans and prices, free tiers, platforms and the facts on their own pages.

25ranked
7free plans on this page
$5/molowest paid tier
4 Oct 2026last checked

7 of the 25 here have a free tier you can use, 0 have open-source code on record, and 0 have full bars: free, open, on most of your devices and documented.

#AppSignalFree tierOpen codeDevicesFromScore
1CBMCWindows · Mac · Linux Three bars—3 of 6Free6.6
2InferWeb · Mac · Linux · Self-hosted Three bars—3 of 6Free6.6
3MATLAB GraderWeb · Windows · Mac · Linux Three bars—4 of 6Free6.6
4QodanaWeb · Windows · Mac · Linux · Self-hosted · API Three bars—4 of 6$5/mo6.6
5Semgrep CodeWeb · Windows · Mac · Linux · Self-hosted · API · Extension Three bars—4 of 6$30/mo6.6
6Clang Static AnalyzerWindows · Mac · Linux Three bars—3 of 6Free6.5
7FlawfinderWindows · Mac · Linux · Self-hosted Three bars—3 of 6Free6.5
8Parasoft SOAtestWindows · Mac · Linux · Android · iPhone · Self-hosted · API Two bars——5 of 6—5.7
9CodeCheckerWeb · Windows · Mac · Linux · Self-hosted · API · Extension Two bars——4 of 6—5.6
10Frama-CWindows · Mac · Linux Two bars——3 of 6—5.6
11PVS-StudioWindows · Mac · Linux Two bars——3 of 6—5.5
12TrustInSoft AnalyzerMac · Linux One bar——2 of 6—5.5
13UnderstandWindows · Mac · Linux · Self-hosted · API · Extension Two bars——3 of 6$8343.33/mo5.5
14SquishWeb · Windows · Mac · Linux · Android · iPhone · Self-hosted · API Two bars——6 of 6—5.4
15LDRA Tool SuiteWindows · Mac · Linux One bar——3 of 6—5.3
16Perforce QAC (formerly Helix QAC)Web · Windows · Linux One bar——3 of 6—5.3
17CPAcheckerWindows · Mac · Linux One bar——3 of 6—5.2
18KlocworkWeb · Windows · Linux One bar——3 of 6—5.2
19Ultimate AutomizerWeb · Windows · Linux One bar——3 of 6—5.2
20AstréeWindows · Linux One bar——2 of 6—5.1
21CppDependWindows · Mac · Linux Two bars——3 of 6—5.1
22Fortify Static Code AnalyzerWindows · Linux No signal——2 of 6—5.0
23PolyspaceWeb · Windows · Mac · Linux One bar——4 of 6—5.0
24SeaHornMac · Linux No signal——2 of 6—5.0
25Imagix 4DWindows · Linux No signal——2 of 6—4.7

Is your app on this list?

Numbered spots on this list can be sponsored. They are labelled, and the editorial order and scores never change for payment.

Questions about this list

Which c and c++ static analysis tool is ranked first on Freedom251?

CBMC is ranked #1 of 25 with a score of 6.6. Infer is second and MATLAB Grader third.

How many of these have a free plan?

7 of the 25 on this page publish a free plan on their own pricing pages.

Which is the cheapest paid option?

On this page, Qodana has the lowest first paid tier we found: $5/mo.

How is this list ranked?

Ranked free-and-open first: a usable free tier and open-source code, then the platforms it runs on and its documentation. Paid placements never change a rank.