Cppcheck软件使用

一款开源源码检测工具。简单易用。微笑


官网网址:http://cppcheck.sourceforge.net/

软件可直接官网下载。


[plain] view plaincopy
  1. Features  
  2.   
  3. Out of bounds checking  
  4. Check the code for each class  
  5. Checking exception safety  
  6. Memory leaks checking  
  7. Warn if obsolete functions are used  
  8. Check for invalid usage of STL  
  9. Check for uninitialized variables and unused functions  

使用过程中,分析数据结果如下:



CppCheck与VS2005集成

VS选择External Tools,Tools->External Tools

设置工具路径

原文地址:https://www.cnblogs.com/lidabo/p/3346328.html