cloc
cloc copied to clipboard
Feature request: please consider adding line length distribution
Hi!
Thank you for the awesome work! :)
Even though it's not resonating with the name of the project ("counting lines") I do feel that this feature request might belong here: please consider adding an optional output for (even basic) line length distribution. This could look something along the lines of:
- shortest and longest non-empty code line length
- number of lines grouped by length of the lines (and maybe by category too: comment vs. code)
Thank you for taking this into consideration!
It's a nice idea, but like #234, it would take a substantial rewrite to implement this request. I just didn't have the foresight years ago to implement cloc's inner workings in a more easily pluggable way. So regretfully I won't be implementing it. At the same time, I won't close this issue either, in the (very low likely) event that I do begin a rewrite.
Thank you!