Software Open Access

dspinellis/cqmetrics: Version 1.0

Diomidis Spinellis

The program qmcalc will read a C source code file from its standard input and print on its standard output a single line containing tens of metrics regarding size, complexity, used keywords, comments and documentation, use of the C preprocessor, and observed formatting style.

The code has been written to run efficiently and reliably. The program receives the code to analyze from its standard input, so that it can process data coming e.g. directly out of a git show command, without having intermediate data touch the disk. Also, the program can process code that may not be easy (or possible) to fully parse using a compiler front-end, due e.g. to missing header files or an unknown compiler configuration.

https://github.com/dspinellis/cqmetrics/
Files (45.4 kB)
Name Size
dspinellis/cqmetrics-v1.0.zip
md5:a96a8a15893fe99dba536e16650d2d2d
45.4 kB Download
66
10
views
downloads
All versions This version
Views 6666
Downloads 1010
Data volume 454.3 kB454.3 kB
Unique views 5454
Unique downloads 55

Share

Cite as