最近有一个想法,一个比较大的项目,随着时间推移,实际上很多时候文件管理上就不是那么清晰了。可能会有什么冗余文件出现的。之后在网上搜到了这个静态代码扫描工具的。不过搜了很多好像都没什么详细介绍。感觉这东西应该也算是常用工具的。
想在这里问一下大大们:
先谢过大大们~~
怪我咯2017-04-17 11:52:46
No one has answered this question for so long.
There are many tools, please see the list: http://en.wikipedia.org/wiki/List_of_tools_for_static_code_analysis#C....
The more commonly used ones are cpplint and Clang Static Analyzer.
Also used the old Cppcheck
These tools are usually embedded in various IDEs in the form of plug-ins. I currently prefer cpplint, which is actually a python script that helps you check whether it complies with the Google C++ Style standard specification.
As for the detailed introduction, it is recommended to start from the Wiki and check the relevant documents to get started.