Skip to content

Feature request: Show percentage for every language #325

@Etile0

Description

@Etile0

I think it would be useful if scc has an option to show percentages for each language. Perhaps a new column or maybe even something like this:

------------------------------------------------------------------------------
 Language         Files     Blank          Comment           Code       Total 
------------------------------------------------------------------------------
 Lua                2    24193 (00%)    193544 (00%)    169351 (00%)   387088 
 Rust               4      110 (00%)        31 (00%)      1061 (00%)     1202 
 C                  4       75 (00%)       155 (00%)       470 (00%)      700 
 Markdown           2       40 (00%)         0 (00%)       273 (00%)      313 
 Bourne Shell       3       18 (00%)         7 (00%)        59 (00%)       84 
 YAML               1       13 (00%)        19 (00%)        57 (00%)       89 
 Ada                2       12 (00%)         9 (00%)        32 (00%)       53 
 Toml               1        4 (00%)         2 (00%)        17 (00%)       23 
 Gherkin            1        2 (00%)         2 (00%)         8 (00%)       12 
 OCaml              1        4 (00%)         6 (00%)         3 (00%)       13 
 Ruby               1        0 (00%)         2 (00%)         2 (00%)        4 
 Handlebars         1        0 (00%)         2 (00%)         2 (00%)        4 
------------------------------------------------------------------------------
 Total             23    24471 (00%)    193779 (00%)    171335 (00%)   389585 
------------------------------------------------------------------------------

(Taken from a similar issue for loc )

I would love this tool to have this feature because the only similar tool I found that can do this is enry but that's slow and unmaintained.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions