Cppcheck

From Wikipedia, the free encyclopedia

Template:Short description

Page Module:Infobox/styles.css has no content.

Cppcheck
[[Programmer|Original authorTemplate:Pluralize from text]]Daniel Marjamäki
Initial releaseMay 8, 2007; 19 years ago (2007-05-08)
Template:Infobox software/simple
Written inC++
Operating systemCross-platform
Available inEnglish, Dutch, Finnish, Swedish, German, Russian, Japanese, Serbian, Spanish, French, Italian, Korean, Chinese
TypeStatic code analysis
LicenseGNU General Public License
Websitecppcheck.sourceforge.io

Script error: No such module "Check for conflicting parameters".

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.[1] 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.

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 CERN’s 4DSOFT meta analysis package,[4] for code verification in high energy particle detector readout devices,[5] system monitoring software for radio telescopes[6] as well as in error analysis of large projects, such as OpenOffice.org[7] and the Debian archive.[8]

Development

The project is actively under development[9] and is actively maintained in different distributions.[10][11] It has found valid bugs in a number of popular projects[12] such as the Linux kernel and MPlayer.[13]

Plugins

Plugins for the following IDEs or text editors exist[14]

See also

Lua error in mw.title.lua at line 404: bad argument #2 to 'title.new' (unrecognized namespace name 'Portal').

References

Page Template:Reflist/styles.css has no content.

  1. ^ Page Module:Citation/CS1/styles.css has no content."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.
  2. ^ Page Module:Citation/CS1/styles.css has no content."System Interfaces". pubs.opengroup.org. Retrieved 2020-09-24.
  3. ^ Page Module:Citation/CS1/styles.css has no content."Static Code Analysis For Embedded Systems" (PDF).
  4. ^ Page Module:Citation/CS1/styles.css has no content."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.
  5. ^ Page Module:Citation/CS1/styles.css has no content."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.
  6. ^ Page Module:Citation/CS1/styles.css has no content."The Wettzell System Monitoring Concept and First Realizations" (PDF). International VLBI Service for Geodesy & Astrometry. 2010. p. 447.
  7. ^ Page Module:Citation/CS1/styles.css has no content."Hunting for vulnerabilities in large software : the OpenOffice suite" (PDF). Archived from the original (PDF) on 2012-09-28. Retrieved 2010-09-15.
  8. ^ Page Module:Citation/CS1/styles.css has no content."Introducing the "Debian's Automated Code Analysis" (DACA) project". LWN.net.
  9. ^ Cppcheck on Github
  10. ^ Cppcheck on Debian's Package Tracking System
  11. ^ FreeBSD port
  12. ^ Page Module:Citation/CS1/styles.css has no content."List of user reported bugs found by cppcheck".
  13. ^ Page Module:Citation/CS1/styles.css has no content."Found Bugs list". SourceForge. Archived from the original on 2013-10-14.
  14. ^ Page Module:Citation/CS1/styles.css has no content."SourceForge.net: cppcheck". sourceforge.net.{{cite web}}: CS1 maint: deprecated archival service (link)
  15. ^ Page Module:Citation/CS1/styles.css has no content."cppcheck plugin for CLion". plugins.jetbrains.com.
  16. ^ Page Module:Citation/CS1/styles.css has no content."Cppcheclipse". github.com.
  17. ^ Page Module:Citation/CS1/styles.css has no content."Flycheck". github.com.
  18. ^ Page Module:Citation/CS1/styles.css has no content."gedit Cppcheck plugin". github.com.{{cite web}}: CS1 maint: deprecated archival service (link)
  19. ^ Page Module:Citation/CS1/styles.css has no content."Cppcheck Plugin". hudson-ci.org. Archived from the original on 2017-10-26. Retrieved 2010-09-15.
  20. ^ Page Module:Citation/CS1/styles.css has no content."Cppcheck Plugin". jenkins-ci.org. 20 May 2022.
  21. ^ Page Module:Citation/CS1/styles.css has no content.Cullmann, Christoph (2013-02-02). "Kate Project Plugin News – Code Analysis". Kate | Get an Edge in Editing. Retrieved 2016-12-14.
  22. ^ Page Module:Citation/CS1/styles.css has no content.Funk, Kevin (2016-12-06). "KDevelop's Cppcheck plugin merged into kdevelop.git, will be released with 5.1". Retrieved 2016-12-14.
  23. ^ Page Module:Citation/CS1/styles.css has no content."Qt Creator Plug-in Gallery". Qt Wiki.
  24. ^ Page Module:Citation/CS1/styles.css has no content."Sublimelinter plugin". github.com.
  25. ^ Page Module:Citation/CS1/styles.css has no content."Cppcheck add-in". Visual Studio Marketplace.
  26. ^ Page Module:Citation/CS1/styles.css has no content.VioletGiraffe. "Homepage cppcheck-vs-addin". GitHub. Retrieved 3 March 2014.
  27. ^ Page Module:Citation/CS1/styles.css has no content.Srix. "Simple open source static analysis tool for Visual Studio". Archived from the original on 2015-02-10. Retrieved 27 August 2012.
  28. ^ Page Module:Citation/CS1/styles.css has no content.Scovetta, Michael. "Yasca".