Menu
Home Explore People Places Arts History Plants & Animals Science Life & Culture Technology
On this page
Cppcheck
Software

Cppcheck is a static code analysis tool for the C and C++ programming languages. It is a versatile tool that can check non-standard code. The creator and lead developer is Daniel Marjamäki.

Cppcheck is Open-core software, with its open-source core code under the GNU General Public License.

We don't have any images related to Cppcheck yet.
We don't have any YouTube videos related to Cppcheck yet.
We don't have any PDF documents related to Cppcheck yet.
We don't have any Books related to Cppcheck yet.
We don't have any archived web articles related to Cppcheck yet.

Features

Cppcheck supports a wide variety of static checks that may not be covered by the compiler itself. These checks are static analysis checks that can be performed at a source code level. The program is directed towards static analysis checks that are rigorous, rather than heuristic in nature.

Some of the checks that are supported include:

As with many analysis programs, there are many unusual cases of programming idioms that may be acceptable in particular target cases or outside of the programmer's scope for source code correction. A study conducted in March 2009 identified several areas where false positives were found by Cppcheck, but did not specify the program version examined.3 Cppcheck has been identified for use in systems such as CERNs 4DSOFT meta analysis package,4 for code verification in high energy particle detector readout devices,5 system monitoring software for radio telescopes6 as well as in error analysis of large projects, such as OpenOffice.org7 and the Debian archive.8

Development

The project is actively under development9 and is actively maintained in different distributions.1011 It has found valid bugs in a number of popular projects12 such as the Linux kernel and MPlayer.13

Plugins

Plugins for the following IDEs or text editors exist14

See also

  • Free and open-source software portal

References

  1. "A Survey of C and C++ Software Tools for Computational Science" (PDF). Science and Technologies Facility Council. Chilbolton, Daresbury, and Rutherford Appleton Laboratories. December 2009. p. 14. Archived from the original (PDF) on 12 March 2012. Retrieved 14 September 2010. https://web.archive.org/web/20120312224600/http://www.softeng.rl.ac.uk/media/uploads/publications/2010/03/c-c_tools_report.pdf

  2. "System Interfaces". pubs.opengroup.org. Retrieved 2020-09-24. https://pubs.opengroup.org/onlinepubs/9699919799/xrat/V4_xsh_chap03.html

  3. "Static Code Analysis For Embedded Systems" (PDF). http://publications.lib.chalmers.se/records/fulltext/111920.pdf

  4. "Dissemination and use of knowledge plan (Final)- EU Deliverable DNA2.11" (PDF). 2010. Archived from the original (PDF) on 2013-06-04. Retrieved 2010-09-15. https://web.archive.org/web/20130604115641/https://etics.web.cern.ch/etics/deliverables/ETICS-DNA2%2011-1065007-Dissemination_Use_Knowledge_Plan-v1%201.pdf

  5. "Entwurf und Implementierung eines adaptiven, strahlentoleranten eingebetteten Systems am Beispiel eines Read-Out-Controllers (En: Development and implementation of an adaptive, radiation tolerant embedded system for operation of a Read-Out controller)" (PDF). 2010. Archived from the original (PDF) on 2012-03-11. https://web.archive.org/web/20120311001129/http://www.kip.uni-heidelberg.de/tip/root/img/pool/literature/theses/2009_mueller-klieser_stefan.pdf

  6. "The Wettzell System Monitoring Concept and First Realizations" (PDF). International VLBI Service for Geodesy & Astrometry. 2010. p. 447. https://ivscc.gsfc.nasa.gov/publications/gm2010/ettl.pdf

  7. "Hunting for vulnerabilities in large software : the OpenOffice suite" (PDF). Archived from the original (PDF) on 2012-09-28. Retrieved 2010-09-15. https://web.archive.org/web/20120928061319/http://www.cl.cam.ac.uk/~wmk26/openoffice/openoffice9.pdf

  8. "Introducing the "Debian's Automated Code Analysis" (DACA) project". LWN.net. https://lwn.net/Articles/420252/

  9. Cppcheck on Github https://github.com/danmar/cppcheck/

  10. Cppcheck on Debian's Package Tracking System http://packages.qa.debian.org/c/cppcheck.html

  11. FreeBSD port http://svnweb.freebsd.org/ports/head/devel/cppcheck/distinfo

  12. "List of user reported bugs found by cppcheck". http://sourceforge.net/p/cppcheck/wiki/Found_bugs/?f=4&t=27

  13. "Found Bugs list". SourceForge. Archived from the original on 2013-10-14. https://web.archive.org/web/20131014013121/http://sourceforge.net/apps/mediawiki/cppcheck/index.php?title=Found_bugs

  14. "SourceForge.net: cppcheck". sourceforge.net. Archived from the original on 2012-07-18. https://archive.today/20120718020019/http://sourceforge.net/apps/mediawiki/cppcheck

  15. "cppcheck plugin for CLion". plugins.jetbrains.com. https://plugins.jetbrains.com/plugin/8143

  16. "Cppcheclipse". github.com. https://github.com/kwin/cppcheclipse/

  17. "Flycheck". github.com. https://flycheck.readthedocs.org/

  18. "gedit Cppcheck plugin". github.com. Archived from the original on 2012-12-17. https://archive.today/20121217133145/https://github.com/odamite/gedit-cppcheck

  19. "Cppcheck Plugin". hudson-ci.org. Archived from the original on 2017-10-26. Retrieved 2010-09-15. https://web.archive.org/web/20171026175153/http://wiki.hudson-ci.org/display/HUDSON/Cppcheck+Plugin

  20. "Cppcheck Plugin". jenkins-ci.org. 20 May 2022. http://wiki.jenkins-ci.org/display/JENKINS/Cppcheck+Plugin

  21. Cullmann, Christoph (2013-02-02). "Kate Project Plugin News – Code Analysis". Kate | Get an Edge in Editing. Retrieved 2016-12-14. https://kate-editor.org/2013/02/02/kate-project-plugin-news-code-analysis/

  22. Funk, Kevin (2016-12-06). "KDevelop's Cppcheck plugin merged into kdevelop.git, will be released with 5.1". Retrieved 2016-12-14. https://mail.kde.org/pipermail/kdevelop-devel/2016-December/055905.html

  23. "Qt Creator Plug-in Gallery". Qt Wiki. https://wiki.qt.io/Qt_Creator_Plug-in_Gallery#CppCheck

  24. "Sublimelinter plugin". github.com. https://github.com/SublimeLinter/SublimeLinter

  25. "Cppcheck add-in". Visual Studio Marketplace. https://marketplace.visualstudio.com/items?itemName=Alexium.Cppcheckadd-in

  26. VioletGiraffe. "Homepage cppcheck-vs-addin". GitHub. Retrieved 3 March 2014. https://github.com/VioletGiraffe/cppcheck-vs-addin

  27. Srix. "Simple open source static analysis tool for Visual Studio". Archived from the original on 2015-02-10. Retrieved 27 August 2012. https://web.archive.org/web/20150210000727/http://www.technosrix.com/simple-open-source-static-analysis-tool-for-visual-studio/

  28. Scovetta, Michael. "Yasca". https://scovetta.github.io/yasca/