cqmetrics icon indicating copy to clipboard operation
cqmetrics copied to clipboard

Feature Request: Per Function Statistics

Open richi235 opened this issue 8 years ago • 4 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.

richi235 avatar Jan 12 '17 19:01 richi235

So cqmetrics should output a separate line for each function?

dspinellis avatar Jan 12 '17 20:01 dspinellis

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

richi235 avatar Jan 14 '17 18:01 richi235

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.

dspinellis avatar Feb 24 '17 12:02 dspinellis

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

dspinellis avatar Mar 11 '17 09:03 dspinellis