Skip to content

Instantly share code, notes, and snippets.

@ppartarr
Last active December 11, 2019 09:41
Show Gist options
  • Save ppartarr/569369fb0218da62ed1d475ea466fa9b to your computer and use it in GitHub Desktop.
Save ppartarr/569369fb0218da62ed1d475ea466fa9b to your computer and use it in GitHub Desktop.
Lines of code in Linux v5.2
$ cloc .
   63030 text files.
   62579 unique files.
   13714 files ignored.

github.com/AlDanial/cloc v 1.74  T=415.23 s (121.3 files/s, 58042.5 lines/s)
---------------------------------------------------------------------------------------
Language                             files          blank        comment           code
---------------------------------------------------------------------------------------
C                                    26416        2616365        2508497       13100717
C/C++ Header                         19102         495939         915232        3750061
Assembly                              1320          47205         105991         232030
JSON                                   202              0              0         105679
make                                  2419           8861           9540          38678
Bourne Shell                           402           6853           6180          29251
Perl                                    54           5407           3994          27337
D                                      111              0              0          25228
Python                                 114           3634           4017          19668
HTML                                     5            658              0           5431
yacc                                     9            701            375           4646
DOS Batch                               97             83              0           4176
PO File                                  5            791            918           3061
lex                                      8            326            314           2000
C++                                      7            286             77           1844
Bourne Again Shell                      51            352            318           1722
Markdown                                 2            312              0           1411
awk                                     11            170            155           1386
TeX                                      1            108              3            915
Glade                                    1             58              0            603
NAnt script                              2            152              0            561
Cucumber                                 1             28             49            163
Windows Module Definition                2             14              0            102
m4                                       1             15              1             95
CSS                                      1             27             28             72
XSLT                                     5             13             26             61
vim script                               1              3             12             27
Ruby                                     1              4              0             25
INI                                      1              1              0              6
sed                                      1              2              5              5
---------------------------------------------------------------------------------------
SUM:                                 50353        3188368        3555732       17356961
---------------------------------------------------------------------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment