Cpp代码质量度量工具大阅兵
姊妹篇:Java代码质量度量工具大阅兵: https://www.cnblogs.com/jiangxinnju/p/10010177.html
cppcheck
- cppcheck: https://sourceforge.net/projects/cppcheck/
- 各种IDE和编辑器插件: «http://cppcheck.net/»
- 检查项: https://blog.csdn.net/a435262767/article/details/90137573
CCCC
- C and C++ Code Counter(CCCC): https://sourceforge.net/projects/cccc/
PC-lint
PC-lint for C/C++: http://www.gimpel.com/html/pcl.htm- PC-lint Plus: https://pclintplus.com/pc-lint-plus/
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.
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/C++内存泄漏及检测: http://www.cnblogs.com/skynet/archive/2011/02/20/1959162.html
- 浅谈C/C++内存泄露及其检测工具: http://www.cnblogs.com/taoxu0903/archive/2007/10/27/939261.html
Comments