30.1.1.1. 代码统计

cloc .

会显示如下内容:

github.com/AlDanial/cloc v 1.82  T=14.98 s (1042.4 files/s, 161521.6 lines/s)
---------------------------------------------------------------------------------------
Language                             files          blank        comment           code
---------------------------------------------------------------------------------------
JavaScript                           11053         228518         260347        1291265
JSON                                  1581            261              0         223166
Markdown                              1520          67980              4         174006
Vuejs Component                        245           2794           1058          41053
TypeScript                             477           6673          24188          31397
LESS                                   107           1389            625          13184
Sass                                    93           1931            295          11114
C/C++ Header                            25           1647            525           8572
CSS                                    194           1497            770           7921
HTML                                    46            427             11           3892
YAML                                   193            266            124           3718
XML                                      9            233             11           2239
C++                                      3            189            116           1057
CoffeeScript                            19            396             47           1005
SVG                                      3              0              1            960
Bourne Shell                             5            170            121            852
make                                    23            185            181            577
Windows Module Definition                5             83              0            451
D                                        7              0              0             78
JSON5                                    1              0              0             55
Bourne Again Shell                       2             11              1             43
TOML                                     1              2              0             39
EJS                                      3              2              1             36
Lisp                                     1              0              0              6
DOS Batch                                1              0              0              2
---------------------------------------------------------------------------------------
SUM:                                 15617         314654         288426        1816688
---------------------------------------------------------------------------------------