dspinellis / cqmetrics

C Quality Metrics

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature Request: Per Function Statistics

richi235 opened this issue · comments

I'm currently writing a research work including code quality metrics for linux tcp and lwip tcp.
For this I want per-function metrics. I wrote a small perl script which split the functions appart
and fed them to cqmetrics seperately.

But for future uses such a cqmetrics built in functionality would be nice.

So cqmetrics should output a separate line for each function?

Yes, this is what I thought, and what my wrapper script finally outputed

Probably better to implement this as block, where functions are the top-level block for C, while classes can be the top-level block for C++ and Java.

Which specific metrics did you find useful on a per-function level?