Best C and C++ Static Analysis Tools in 2026

19 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.

19ranked
12free plans on this page
$5/molowest paid tier
3 Oct 2026last checked
#1 PVS-Studio Top pick · 8.7 Free plan · Free #2 Clang Static Analyzer Runner-up · 8.5 Free plan · Free #3 Infer Also great · 8.5 Free plan · Free
  1. Free planFree trial LinuxmacOSWindows
    Free plan
    No
    RecognisedDocumentedPlatformsFree planFree trial
  2. Free plan LinuxmacOSWindows
    Free plan
    Yes
    Security analysis
    Yes
    RecognisedDocumentedPlatformsFree planFree trial
  3. 3 8.5
    Free plan LinuxmacOSself-hostedWeb
    Free plan
    Yes
    Security analysis
    Yes
    RecognisedDocumentedPlatformsFree planFree trial
  4. Free plan extensionLinuxmacOSself-hostedWebWindows
    Free plan
    Yes
    RecognisedDocumentedPlatformsFree planFree trial
    $30/mofirst paid tier About GitHub CodeQLVisit site
  5. 5 8.2
    Free plan apiextensionLinuxmacOSself-hostedWebWindows
    Security analysis
    Yes
    RecognisedDocumentedPlatformsFree planFree trial
  6. 6 7.9
    Free plan LinuxmacOSWindows
    Free plan
    Yes
    Memory defect detection
    Yes
    RecognisedDocumentedPlatformsFree planFree trial
  7. 7 7.9
    Free planFree trial apiLinuxmacOSself-hostedWebWindows
    Free plan
    Yes
    Security analysis
    Yes
    RecognisedDocumentedPlatformsFree planFree trial
    $5/mofirst paid tier About QodanaVisit site
  8. Free plan apiextensionLinuxmacOSself-hostedWebWindows
    Free plan
    Yes
    RecognisedDocumentedPlatformsFree planFree trial
    $30/mofirst paid tier About Semgrep CodeVisit site
  9. Free plan WindowsmacOSLinux
    Free plan
    Yes
    RecognisedDocumentedPlatformsFree planFree trial
  10. 10 7.4
    Free planFree trial apiextensionLinuxmacOSself-hostedWindows
    Free plan
    Yes
    Paid from
    100 /user/mo
    Security analysis
    Yes
    RecognisedDocumentedPlatformsFree planFree trial
    $8343.33/mofirst paid tier About UnderstandVisit site
  11. 11 7.3
    Free plan WindowsmacOSLinux
    Free plan
    Yes
    RecognisedDocumentedPlatformsFree planFree trial
  12. 12 7.3
    Free trial LinuxmacOSWindows
    Free plan
    No
    RecognisedDocumentedPlatformsFree planFree trial
  13. LinuxmacOS
    Memory defect detection
    Yes
    Security analysis
    Yes
    Coding-rule checks
    Yes
    Concurrency analysis
    Yes
    RecognisedDocumentedPlatformsFree planFree trial
  14. 14 6.8
    LinuxWindows
    Free plan
    No
    Memory defect detection
    Yes
    Security analysis
    Yes
    Coding-rule checks
    Yes
    Concurrency analysis
    Yes
    RecognisedDocumentedPlatformsFree planFree trial
  15. Free plan WebWindowsLinux
    Free plan
    Yes
    RecognisedDocumentedPlatformsFree planFree trial
  16. 16 6.4
    WindowsmacOSLinux
    RecognisedDocumentedPlatformsFree planFree trial
  17. WindowsmacOSLinux
    Security analysis
    Yes
    RecognisedDocumentedPlatformsFree planFree trial
  18. 18 5.2
    WindowsLinux
    Free plan
    No
    RecognisedDocumentedPlatformsFree planFree trial
  19. 19 4.8
    LinuxmacOS
    RecognisedDocumentedPlatformsFree planFree trial

Is your tool 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 Specifiction?

PVS-Studio is ranked #1 of 19 with a score of 8.7. Clang Static Analyzer is second and Infer third.

How many of these have a free plan?

12 of the 19 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 on what each maker publishes, the fullest spec sheet first: how deeply the product is documented, the platforms it runs on, a free tier or trial to test it, and its standing. Paid placements never change a rank.

More in Developer Tools

All developer tools lists