天天看點

Cppcheck軟體使用

一款開源源碼檢測工具。簡單易用。

Cppcheck軟體使用

軟體可直接官網下載下傳。

Features  

Out of bounds checking  

Check the code for each class  

Checking exception safety  

Memory leaks checking  

Warn if obsolete functions are used  

Check for invalid usage of STL  

Check for uninitialized variables and unused functions  

使用過程中,分析資料結果如下:

Cppcheck軟體使用

CppCheck與VS2005內建

VS選擇External Tools,Tools->External Tools

設定工具路徑

Cppcheck軟體使用

繼續閱讀