Software Alternatives & Reviews

PVS-Studio VS Cppcheck

Compare PVS-Studio VS Cppcheck and see what are their differences

PVS-Studio logo PVS-Studio

PVS-Studio is a useful piece of software for detecting problems in source code. The software examines program codes written in C, C++, and C# for any problems that might prohibit the code from functioning properly.

Cppcheck logo Cppcheck

Cppcheck is an analysis tool for C/C++ code. It detects the types of bugs that the compilers normally fail to detect. The goal is no false positives. CppCheckDownload cppcheck for free.
  • PVS-Studio Landing page
    Landing page //
    2023-08-02
  • Cppcheck Landing page
    Landing page //
    2021-10-13

PVS-Studio videos

Generic Talks - PVS-Studio

More videos:

  • Review - CppCast Episode 238: PVS-Studio Static Analysis with Yuri Minaev

Cppcheck videos

Cppcheck

More videos:

  • Review - Daniel Marjamäki: Cppcheck, static code analysis

Category Popularity

0-100% (relative to PVS-Studio and Cppcheck)
Code Analysis
34 34%
66% 66
Code Coverage
37 37%
63% 63
Code Review
38 38%
62% 62
Development
31 31%
69% 69

User comments

Share your experience with using PVS-Studio and Cppcheck. For example, how are they different and which one is better?
Log in or Post with

Reviews

These are some of the external sources and on-site user reviews we've used to compare PVS-Studio and Cppcheck

PVS-Studio Reviews

TOP 40 Static Code Analysis Tools (Best Source Code Analysis Tools)
PVS-Studio is a tool for detecting bugs and security weaknesses in the source code of programs, written in C, C++, C#, and Java. It works in Windows, Linux, and macOS environment.

Cppcheck Reviews

Top 9 C++ Static Code Analysis Tools
Cppcheck is a popular, open-source, free, cross-platform static code analysis tool dedicated to C and C++. It is known for being easy to use and its simplicity is one of its pros. To get started with it you don’t have to do any adjustments or modifications, which is why it’s often recommended for beginners. It also has a reputation of reporting a relatively small number of...

Social recommendations and mentions

Cppcheck might be a bit more popular than PVS-Studio. We know about 10 links to it since March 2021 and only 9 links to PVS-Studio. We are tracking product recommendations and mentions on various public social media platforms and blogs. They can help you identify which product is more popular and what people think of it.

PVS-Studio mentions (9)

  • Bugs that buzzed a lot
    One of the ways to create better and more secure code is to use static analyzers such as PVS-Studio. The tool provides code analysis for the C, C++, C#, and Java programming languages. - Source: dev.to / 11 days ago
  • Examining suspicious code fragments in AWS SDK for .NET
    I checked the code with the PVS-Studio analyzer using the plugin for Visual Studio. - Source: dev.to / 10 months ago
  • Do developers care about code security?
    I'm working on PVS-Studio. It's a code analysis tool detects both coding errors and security flaws (SAST). So, I'd like to know more about what teams expect from SAST solutions. Source: 12 months ago
  • SAST in Secure SDLC: 3 reasons to integrate it in a DevSecOps pipeline
    And yet SAST is another essential step-up that can help reduce reputational and financial risks. If you are building SSDLC, SAST tools should be a mandatory part of the DevSecOps pipeline. - Source: dev.to / about 2 years ago
  • Vulnerabilities due to XML files processing: XXE in C# applications in theory and in practice
    Since the project is open-source, we'll take advantage of this. To search for vulnerabilities, in addition to our own knowledge, we use PVS-Studio — a solution that searches for errors and security weaknesses. We need a group of security-related diagnostics — OWASP. You can read about turning on the corresponding warnings here. - Source: dev.to / about 2 years ago
View more

Cppcheck mentions (10)

  • Configuring Cppcheck, Cpplint, and JSON Lint
    I dedicated Sunday morning to going over the documentation of the linters we use in the project. The goal was to understand all options and use them in the best way for our project. Seeing their manuals side by side was nice because even very similar things are solved differently. Cppcheck is the most configurable and best documented; JSON Lint lies at the other end. - Source: dev.to / about 2 months ago
  • Enforcing Memory Safety?
    Using infer, someone else exploited null-dereference checks to introduce simple affine types in C++. Cppcheck also checks for null-dereferences. Unfortunately, that approach means that borrow-counting references have a larger sizeof than non-borrow counting references, so optimizing the count away potentially changes the semantics of a program which introduces a whole new way of writing subtly wrong code. Source: 11 months ago
  • Static Code analysis
    For my own projects, I used cppcheck. You can check out that tool to get a feel. Depending on what industry your in, you might need to follow a standard like Misra. Source: about 1 year ago
  • How do you not shoot yourself in the foot ?
    Https://cppcheck.sourceforge.io/ (there are many other static analysis tools, I just haven't used them or didn't care for them). Source: about 1 year ago
  • Linting tool for prohibiting the use of specific std types
    Sounds like something that could simply be communicated with the team that writes the tests. Unless you have dozens of such classes. In that case, you could just use e.g. Cppcheck and add a rule (regular expression) that searches for usages of the forbidden classes. Source: over 1 year ago
View more

What are some alternatives?

When comparing PVS-Studio and Cppcheck, you can also consider the following products

SonarQube - SonarQube, a core component of the Sonar solution, is an open source, self-managed tool that systematically helps developers and organizations deliver Clean Code.

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

Coverity Scan - Find and fix defects in your Java, C/C++ or C# open source project for free

Parasoft C/C++test - Ensure compliance with a variety of functional safety, security, and coding standards in embedded C/C++ software.

lgtm.com - lgtm.com is a platform for code analytics.

Flawfinder - David A. Wheeler's Page for Flawfinder