Thanks for sharing.
This is really interesting metrics.
One use I can see is to track LOC vs Comments to make sure that we keep up
with the practice of writing maintainable code.

On Fri, May 31, 2019 at 3:04 PM Ismaël Mejía <[email protected]> wrote:

> I was checking some metrics in our codebase and found by chance that
> we have passed the 1 million lines of code (MLOC). Of course lines of
> code may not matter much but anyway it is interesting to see the size
> of our project at this moment.
>
> This is the detailed information returned by loc [1]:
>
>
> --------------------------------------------------------------------------------
>  Language             Files        Lines        Blank      Comment
>  Code
>
> --------------------------------------------------------------------------------
>  Java                  3681       673007        78265       140753
>  453989
>  Python                 497       131082        22560        13378
> 95144
>  Go                     333       105775        13681        11073
> 81021
>  Markdown               205        31989         6526            0
> 25463
>  Plain Text              11        21979         6359            0
> 15620
>  Sass                    92         9867         1434         1900
>  6533
>  JavaScript              19         5157         1197          467
>  3493
>  YAML                    14         4601          454         1104
>  3043
>  Bourne Shell            30         3874          470         1028
>  2376
>  Protobuf                17         4258          677         1373
>  2208
>  XML                     17         2789          296          559
>  1934
>  Kotlin                  19         3501          347         1370
>  1784
>  HTML                    60         2447          148          914
>  1385
>  Batch                    3          249           57            0
>   192
>  INI                      1          206           21           16
>   169
>  C++                      2           72            4           36
>    32
>  Autoconf                 1           21            1           16
>     4
>
> --------------------------------------------------------------------------------
>  Total                 5002      1000874       132497       173987
>  694390
>
> --------------------------------------------------------------------------------
>
> [1] https://github.com/cgag/loc
>

Reply via email to