---
title: Cppcheck Open-Source 2.11 released
description: Cppcheck Open-Source 2.11 released with new checks and enhancements for ValueFlow analysis and GUI changes. Explore the latest features and improvements in this update.
---

[![a (1252)-2](https://www.cppcheck.com/hubfs/a%20(1252)-2.jpeg)](https://www.cppcheck.com)

- [Pricing](https://www.cppcheck.com/plans-pricing)
- [News](https://www.cppcheck.com/product-news)
- [Code Quality](https://www.cppcheck.com/code-quality)
- [Safety Compliance](https://www.cppcheck.com/product-news/safety)
- [Security Compliance](https://www.cppcheck.com/product-news/security)
- [About](https://www.cppcheck.com/about)
  
    - [About us](https://www.cppcheck.com/about)
    - [Our partners](https://www.cppcheck.com/our-fantastic-partners)

[Star us on GitHub](https://github.com/danmar/cppcheck)

Software update

# Cppcheck Open-Source 2.11 released

Cppcheck Open-Source 2.11 released with new checks and enhancements for ValueFlow analysis and GUI changes. Explore the latest features and improvements in this update.

[Daniel Marjamäki](https://www.cppcheck.com/product-news/author/daniel-marjamäki)

 Jun 23, 2023

<http://www.linkedin.com/shareArticle?mini=true&url=https://www.cppcheck.com/product-news/cppcheck-open-source-2.11-released&utm_medium=social&utm_source=linkedin>

[Software update](https://www.cppcheck.com/product-news/tag/software-update) [Cppcheck open-source](https://www.cppcheck.com/product-news/tag/cppcheck-open-source)

We are happy to announce the release of Cppcheck Open-Source 2.11!

The update introduces new checks, notably for calling `pop_back` on an empty container, and enhances existing checks, especially within the ValueFlow analysis and use of STL algorithms. GUI changes deprecate the 'Unspecified' platform type, and the interface adds a `--check-level` option for depth control in analysis. "missingInclude" warnings have been refined, and const checks are now more specific to variable types. Command-line enhancements ensure argument validity, and project scanning optimizes markup file analysis.

Release notes:

- New checks: 
    - pop\_back on empty container is UB
- Improved checking: 
    - Improve useStlAlgorithm check to handle many more conditions in the loop for any\_of, all\_of and none\_of algorithms
    - ValueFlow can evaluate the return value of functions even when conditionals are used
    - ValueFlow will now forward the container sizes being returned from a function
    - ValueFlow can infer possible values from possible symbolic values
    - Improve valueflow after pushing to container
- GUI: 
    - The platform type 'Unspecified' within .cppcheck projects has been deprecated and will be removed in Cppcheck 2.14. Please use 'unspecified' instead.
    - Do not replace relative paths with absolute paths in suppressions in the project file dialog
- Interface: 
    - The new option --check-level=\<level\> has been added that controls how much checking is made by Cppcheck. The default checking level is "normal". If you feel that you can wait longer on results you can use --check-level=exhaustive.\</level\>
    - It is no longer necessary to run "--check-config" to get detailed "missingInclude" and "missingIncludeSystem" messages. They will always be issued in the regular analysis if "missingInclude" is enabled.
    - "missingInclude" and "missingIncludeSystem" are reported with "-j" is \> 1 and processes are used in the backend (default in non-Windows binaries)
    - "missingInclude" and "missingIncludeSystem" will now cause the "--error-exitcode" to be applied
    - "--enable=information" will no longer implicitly enable "missingInclude" starting with 2.16. Please enable it explicitly if you require it.
    - The constParameterand constVariable checks have been split into 3 different IDs based on if the variable is a pointer, a reference, or local. The different IDs will allow users to suppress different const warning based on variable type. 
          - constParameter
          - constParameterReference
          - constParameterPointer
          - constVariable
          - constVariableReference
          - constVariablePointer
- More command-line parameters will now check if the given integer argument is actually valid. Several other internal string-to-integer conversions will now be error checked.
- scanning projects (with -j1) will now defer the analysis of markup files until the whole code was processed

## Similar posts

Software update

### [Cppcheck Open-Source 2.12 released](https://www.cppcheck.com/product-news/cppcheck-open-source-2.12-released)

Cppcheck Open-Source 2.12 introduces new checks and enhancements, GUI improvements, and deprecations. Learn about the latest features and updates in...

 Daniel Marjamäki  Sep 20, 2023

<https://www.cppcheck.com/product-news/cppcheck-premium-24.6.0-released-0-0>

Software update

### [Cppcheck Premium 24.6.0 released](https://www.cppcheck.com/product-news/cppcheck-premium-24.6.0-released-0-0)

The Cppcheck Premium 24.6.0 update introduces important enhancements, including improved MISRA C and C++ checking, fixes for false positives, and...

 Daniel Marjamäki  Jun 22, 2024

Software update

### [Cppcheck Premium 22.5.0 released](https://www.cppcheck.com/product-news/cppcheck-premium-22.5.0-released)

Cppcheck Premium 22.5.0 introduces new CERT checks for concurrency issues, environmental stability, function usage, and file I/O integrity. Learn...

 Daniel Marjamäki  May 31, 2022

![Cppcheck Premium](https://www.cppcheck.com/hubfs/Cppcheck%20Premium.png)

Cppcheck Solutions AB

S:t Göransgatan 95

112 45 Stockholm, Sweden 

 

For sales inquires, please use the form above.

 

For legal, IR or supplier inquires, please contact us through:

[par.jelger@cppcheck.com](mailto:par.jelger@cppcheck.com)

<https://www.linkedin.com/company/77044657><https://github.com/danmar/cppcheck>

### More information

- [About us](https://www.cppcheck.com/about)
- [An introduction to static code analysis](https://www.cppcheck.com/what-is-static-code-analysis)
- [EULA](https://www.cppcheck.com/eula)
- [Privacy policy](https://www.cppcheck.com/privacy-policy)

### Help & Contact

- [Known Issues](https://files.cppchecksolutions.com/known-issues-jira.html)
- [Install & Register – Trial](https://www.cppcheck.com/cppcheck-premium-installation-trial)
- [Install & Register – Individual License](https://www.cppcheck.com/cppcheck-premium-installation-individual)
- [Install & Register – Enterprise License](https://www.cppcheck.com/cppcheck-premium-installation-enterprise)

Copyright © 2026 Cppcheck Solutions AB. 

VAT SE559293880601

 Cookie Settings