-
Notifications
You must be signed in to change notification settings - Fork 22
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
Add % language distribution by LOC #140
Comments
The In your example, the width is already 76. Going beyond 80 isn't that far and can happen with projects that have millions of SLOC or languages with longer names. At first thought I see the following ways to approach this:
I'm open to change this and, if necessary, even break backwards compatibility (there's a couple of other things to warrant a pygount 2.0). But from the variants above, none strikes as the "obviously best" solution. |
I see, having limit on 80 chars puts this into perspective. If I may share my opinion, taking your arguments to account, to me best sounding options are either 1) leave as is, it's useful already or 4) allow custom fields (with default setting being as is for backward compatibility).
2, 3 & 6 somehow don't feel right to me at first glance. Thanks! |
Just thinking about it...
|
Currently in summary output I see % distribution based on file count, can you also add one based on LOC?
It feels to me this new stat would give more insight into where the largest weight of the project lies.
Example:
Today when I run this:
I get:
So Python makes 47.4% of files and bash makes 5.3% of files.
I feel it'd be good to know % distribution based on LOC too, so Python would make 53% of the code and Bash only 0.3%.
Something like:
Thoughts?
The text was updated successfully, but these errors were encountered: