Cppcheck Alternatives

Cppcheck is described as 'Static analysis tool for C/C++ code. Unlike C/C++ compilers and many other analysis tools it does not detect syntax errors in the code. Cppcheck primarily detects the types of bugs that the compilers normally do not detect' and is an app in the development category. There are more than 10 alternatives to Cppcheck for a variety of platforms, including Linux, Windows, Mac, Web-based and Visual Studio Code apps. The best Cppcheck alternative is SonarQube, which is both free and Open Source. Other great apps like Cppcheck are Shellcheck, Coverity Scan, PVS-Studio and Flawfinder.

Copy a direct link to this comment to your clipboard
Cppcheck alternatives page was last updated

Alternatives list

  1. SonarQube icon
     27 likes
    Copy a direct link to this comment to your clipboard

    SonarQube is an open source quality management platform, dedicated to continuously analyze and measure source code quality, from the portfolio to the method. Static code analysis is available in the "Community Edition" (free / open source) for:

    28 SonarQube alternatives

    Cost / License

    • Freemium (Subscription)
    • Open Source

    Platforms

    • Mac
    • Windows
    • Linux
    • Online
     
    • SonarQube is the most popular Web-based, Windows, Mac & Linux alternative to Cppcheck.

    • SonarQube is the most popular Open Source & free alternative to Cppcheck.

    • SonarQube is Freemium and Open SourceCppcheck is Free and Open Source
  2. Shellcheck icon
     5 likes
    Copy a direct link to this comment to your clipboard

    A simple tool for finding bugs in shell scripts.

    17 Shellcheck alternatives

    Cost / License

    • Free
    • Open Source

    Platforms

    • Online
    • Visual Studio Code
    • Vim
    • Sublime Text
    • GNU Emacs
    • Atom
     
    |
    1
    Comments about Shellcheck as an Alternative to Cppcheck
    marek22k
    Negative
    0

    Shellcheck is for shell scripts, not for C++ files.

    Cppcheck Icon
    Shellcheck icon
    • Shellcheck is Free and Open SourceCppcheck is also Free and Open Source
  3.  4 likes
    Copy a direct link to this comment to your clipboard

    Coverity Scan Static Analysis allows to find and fix defects in your Java, C/C++ or C# open source project for free.

    Cost / License

    • Freemium (Pay once)
    • Proprietary

    Platforms

    • Mac
    • Windows
    • Linux
    • Online
    • BSD
     
  4. PVS-Studio icon
     17 likes
    Copy a direct link to this comment to your clipboard

    PVS-Studio is a static analyzer that detects errors in source code of C, C++ and C# applications. The PVS-Studio tool is intended for developers of contemporary applications and it integrates into the Visual Studio 2005/2008/2010/2012/2013 environment.

    Cost / License

    • Subscription
    • Proprietary

    Platforms

    • Windows
    • Linux
    • MinGW
    • Microsoft Visual Studio
    • clang
     
    • PVS-Studio is the most popular commercial alternative to Cppcheck.

    • PVS-Studio is Paid and ProprietaryCppcheck is Free and Open Source
  5. Flawfinder icon
     3 likes
    Copy a direct link to this comment to your clipboard

    Flawfinder examines C/C++ source code and reports possible security weaknesses ("flaws'') sorted by risk level. It's very useful for quickly finding and removing at least some potential security problems before a program is widely released to the public.

    Cost / License

    • Free
    • Open Source

    Platforms

    • Windows
    • Linux
     
  6.  2 likes
    Copy a direct link to this comment to your clipboard

    Splint is a tool for statically checking C programs for security vulnerabilities and coding mistakes. With minimal effort, Splint can be used as a better lint. If additional effort is invested adding annotations to programs, Splint can perform stronger checking than can be done...

    Cost / License

    • Free
    • Open Source

    Alerts

    • Discontinued

    Platforms

    • Windows
    • Linux
     
  7. Copy a direct link to this comment to your clipboard

    PC-lint Plus is the premier static analysis tool for C and C++.

    Cost / License

    • Pay once
    • Proprietary

    Platforms

    • Mac
    • Windows
    • Linux
     
  8.  Like
    Copy a direct link to this comment to your clipboard

    EDoC++ is a C++ source analysis tool designed to identify problems associated with the use of exceptions in C++ code. Additionally EDoC++ can be used to generate detailed documentation

    Cost / License

    • Free
    • Open Source

    Platforms

    • Windows
     
  9. Copy a direct link to this comment to your clipboard

    The Clang Static Analyzer is a source code analysis tool that finds bugs in C, C++, and Objective-C programs.

    Cost / License

    • Free
    • Open Source

    Platforms

    • Mac
    • Xcode
     
  10. Yetus icon
     Like
    Copy a direct link to this comment to your clipboard

    Apache Yetus is a collection of libraries and tools that enable contribution and release processes for software projects.

    Cost / License

    • Free
    • Open Source

    Platforms

    • Mac
    • Linux
     
  11. Semgrep icon
     Like
    Copy a direct link to this comment to your clipboard

    Semgrep is a fast, open-source, static analysis tool that excels at expressing code standards — without complicated queries — and surfacing bugs early at editor, commit, and CI time. Precise rules look like the code you’re searching; no more traversing abstract syntax trees or...

    Cost / License

    • Freemium (Subscription)
    • Open Source

    Platforms

    • Mac
    • Windows
    • Linux
     
  12. Opengrep icon
     Like
    Copy a direct link to this comment to your clipboard

    We’re excited to introduce Opengrep, an open-source static code analysis engine built to ensure code security testing remains truly open and accessible to everyone. 🚀

    26 Opengrep alternatives

    Cost / License

    • Free
    • Open Source

    Platforms

    • Mac
    • Linux
     
12 of 17 Cppcheck alternatives