Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » External resources » CppCheck - A tool for C/C++ code analysis
CppCheck - A tool for C/C++ code analysis [message #49579] Mon, 05 March 2018 20:34 Go to next message
Oblivion is currently offline  Oblivion
Messages: 1091
Registered: August 2007
Senior Contributor
Hello,

Recently I've discovered this cool static analysis tool called CppCheck. (http://cppcheck.sourceforge.net/#features)
And yesterday I've seen at the kdeplanet that it is finally added to KDevelop too (KDE's IDE)


Cppcheck is a static analysis tool for C/C++ code. It provides unique code analysis to detect bugs and focuses on detecting undefined behaviour and dangerous coding constructs. The goal is to detect only real errors in the code (i.e. have very few false positives). 


It is very easy to deploy, and AFAIK, can be integrated well with TheIdE. (Its command line is very simple, and configurations & templates are already available, and very flexible (also in XML format)).

I believe this would be a good addition to TheIDE as a plugin/external app (such as gdb).

Documentation:

http://cppcheck.sourceforge.net/manual.pdf


Any thoughts?



[Updated on: Mon, 05 March 2018 20:35]

Report message to a moderator

Re: CppCheck - A tool for C/C++ code analysis [message #49583 is a reply to message #49579] Tue, 06 March 2018 18:21 Go to previous message
Novo is currently offline  Novo
Messages: 1358
Registered: December 2006
Ultimate Contributor
There is another one: https://clang-analyzer.llvm.org/
And a bunch of others: https://en.wikipedia.org/wiki/List_of_tools_for_static_code_ analysis
My personal favorite one: https://www.viva64.com/en/pvs-studio/
They used to sell a chip version (~200 USD) in the past. These guys are the best, IMHO.


Regards,
Novo
Previous Topic: build2
Next Topic: Build a simple ActiveX control
Goto Forum:
  


Current Time: Fri Mar 29 08:03:36 CET 2024

Total time taken to generate the page: 0.01300 seconds