Advanced Code Quality Center
ACQC-Metrics
Quantify the quality of your code and develop higher quality code!
ACQC Metrics computes typical source code file and function metrics. What are metrics good for? Well, it measures the software in terms of complexity for example. Very long or complex functions can be identified in order to break them down in smaller pieces (for better maintainability). Maybe you are also just interested in knowing of big the software currently is, then ACQC metrics is also good for you.
Screenshot: analysis of liboil

Simply drop source files on the window and it'll compute metrics for you.
- LINES: the number of physical lines in your file
- LLOC: the logical lines of code (without comments, without spaces)
- LLOCi: the logical lines of comments (lines caontaining only comments)
- LLOW: the logical whitespace lines (lines without any other content than whitespace characters)
- PROCS: the number of procedures/functions inside the file
- CARGS: the total number of arguments used by the function or functions in the file
- CC: the cyclomatic complexity known also under McCabe complexity, represents the number of decisions taken by the code
- DC: the "depth" complexity. If you imbricate a lot (if's inside if's or while's inside switches for example) this will get high.
You can also use it to track down some programming anti-patterns, for example:
- Spaghetti code: High LINES and CC
- Loop-switch sequence: Big difference between DC and CC (high imbrication)
Setup and usage
ACQC Metrics is easy to use, download, unpack and run it (Make sure the prerequisities are installed like .NET 3.5).
Drag and drop the files you want it to analyze on its window. Unwanted files can be selected and deleted from the report. Ctrl+C will copy the contents of the list to the clipboard and can be pasted into another program (Excel for example).
Feedback
Metrics are computed for C and C++ files. Support for other languages will be added in the future (Java and C# are ongoing)
Remember that ACQC.Metrics is work in progress, contact me if you need a feature, I'll do my best to implement it quickly.
Give it a try and send your comments tofeedback to This e-mail address is being protected from spambots. You need JavaScript enabled to view it
Available versions:
VOTE FOR FEATURES YOU MISS (see left panel)
This helps me prioritizing development tasks.
- ACQC-Metrics-1.0.2.zip [61KB, 2009-09-27], sortable columns, function/file metrics can be hidden
- ACQC-Metrics-1.0.1.zip [60KB, 2009-08-29], now displays also function metrics
- ACQC-Metrics-1.0.0.zip [59KB, 2009-08-27]
Prerequisities:
- Windows XP, Vista, 7 or later
- Microsoft .NET Framework 3.5 http://www.microsoft.com/downloads/details.aspx?...







