C++代码质量度量工具大阅兵

姊妹篇:Java代码质量度量工具大阅兵: https://www.cnblogs.com/jiangxinnju/p/10010177.html

cppcheck

  • cppcheck: https://sourceforge.net/projects/cppcheck/
  • 各种IDE和编辑器插件:
  • 检查项: https://blog.csdn.net/a435262767/article/details/90137573

CCCC

  • C and C++ Code Counter(CCCC): https://sourceforge.net/projects/cccc/

PC-lint for C/C++

  • PC-lint for C/C++: http://www.gimpel.com/html/pcl.htm

cpplint

  • cpplint: https://github.com/cpplint/cpplint

Splint

Splint is a tool for statically checking C programs for security vulnerabilities and coding mistakes. With minimal effort, Splint can be used as a better lint. If additional effort is invested adding annotations to programs, Splint can perform stronger checking than can be done by any standard lint.

  • Splint: http://splint.org/

Frama-C

Frama-C is a suite of tools dedicated to the analysis of the source code of software written in C.

  • Frama-C: http://frama-c.com/what_is.html

Goanna Studio

  • Goanna Studio(Static Analysis for C/C++): http://marketplace.eclipse.org/content/goanna-studio-static-analysis-cc/help

Visual Leak Detector

  • Visual Leak Detector for Visual C++ : http://vld.codeplex.com/

MemLeak

MemLeak -- a module to debug memory leaks in C code and other problems with malloc()--free() invocations. Written in ANSI C. Distributed under GPL.

  • MemLeak: https://sourceforge.net/projects/memleak/

Valgrind

Valgrind is an instrumentation framework for building dynamic analysis tools. There are Valgrind tools that can automatically detect many memory management and threading bugs, and profile your programs in detail. You can also use Valgrind to build new tools.

  • Valgrind: http://www.valgrind.org/

你可能感兴趣的:(C++代码质量度量工具大阅兵)