Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: please consider adding line length distribution #348

Open
MaxTranced opened this issue Nov 22, 2018 · 2 comments
Open

Feature request: please consider adding line length distribution #348

MaxTranced opened this issue Nov 22, 2018 · 2 comments

Comments

@MaxTranced
Copy link

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!

@AlDanial
Copy link
Owner

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.

@MaxTranced
Copy link
Author

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants