Code Metrics Analysis for Unmanaged C++ Code [closed]
Asked Answered
T

4

14

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!

Tipton answered 23/2, 2012 at 20:11 Comment(0)
A
11

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.

Affiant answered 6/7, 2012 at 8:12 Comment(1)
Thanks! Not perfect, but this was what I ended up using. It got the job done on at least a basic level while also being easy to setup and use without a lot of overhead (unlock some of the other programs). It's not the most intuitive, but as I worked with it, I found a lot more data than was immediately shown by digging around. Nice tool overall!Tipton
S
3

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.

Strip answered 3/8, 2015 at 14:42 Comment(0)
O
0

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/

Odalisque answered 24/2, 2012 at 6:48 Comment(0)
P
0

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.

Plautus answered 24/2, 2012 at 10:50 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.