Code Metrics Analysis for Unmanaged C++ Code [clos

2019-02-16 15:19发布

Does anyone know of a free tool, similar to what is built into Visual Studio 2010 for managed code, that can do analysis of unmanaged, MFC C++ code and give metrics (lines of code, dependency or coupling, etc)?

I've been searching on Google for awhile, but really haven't been able to find anything that works. Thanks a ton!

4条回答
叼着烟拽天下
2楼-- · 2019-02-16 15:28

Our SourceMeter tool can analyze your Visual C++ project and provide you all the information you asked for: metrics (lines of code, dependency, coupling, 60+ metrics altogether). The results are in standard CSV files, which you can easily open in e.g. spreadsheet editors.

查看更多
Root(大扎)
3楼-- · 2019-02-16 15:38

Source Monitor is a good free tool tool for code metrics such as LoC and complexity and also produces kiviat graphs. But it does not have any depedency or coupling metrics.

查看更多
看我几分像从前
4楼-- · 2019-02-16 15:38

I am not sure about free tool but one paid tool which is most comprehensive is IBM's Logiscope http://www-01.ibm.com/software/awdtools/logiscope/

查看更多
够拽才男人
5楼-- · 2019-02-16 15:38

Not free but QA-CPP does metrics like cyclomatic complexity and static analysis.

It's fairly complex to set up but they are pretty good on product support and regularly put out updates.

查看更多
登录 后发表回答