"Fossies" - the Fresh Open Source Software Archive

CLOC ("Count Lines of Code") analysis of grub-2.06.tar.xz (8 Jun 19:22, 6581924 Bytes)

About: GNU GRUB 2 - a multiboot boot loader.



Fossies downloads: /linux/miscgrub-2.06.tar.xz  (tar.gz|tar.bz2|zip)
Fossies services: Member browsing
No. of package members: 2663  (2367 files within 296 directories)

Histograms of CLOC analysis data of grub-2.06.tar.xz (y-axes: linear scale)
Histograms of CLOC analysis data of grub-2.06.tar.xz (y-axes: logarithm scale)

The corresponding CLOC output data:
    2269 text files.
    2175 unique files.                              
     356 files ignored.

github.com/AlDanial/cloc v 1.90  T=1.72 s (1122.2 files/s, 476856.9 lines/s)
---------------------------------------------------------------------------------------
Language                  files     blank   comment      code    scale   3rd gen. equiv
---------------------------------------------------------------------------------------
C                           939     45299     38180    269621 x   0.77 =      207608.17
PO File                      41     58931     95407    143542 x   1.50 =      215313.00
C/C++ Header                572     10946     21646     55151 x   1.00 =       55151.00
make                         10      3026       472     25540 x   2.50 =       63850.00
m4                          150      1328      1447     19127 x   1.00 =       19127.00
Assembly                    172      3188      6819     10351 x   0.25 =        2587.75
Windows Module Definition     5       656        21      3664 x   1.00 =        3664.00
Python                        3       168       218      1374 x   4.20 =        5770.80
sed                          10        20         1       427 x   4.00 =        1708.00
lex                           1        54        34       305 x   1.00 =         305.00
yacc                          1        44        44       268 x   1.51 =         404.68
diff                         13        40       201       260 x   1.00 =         260.00
Bourne Shell                  6        44        63       201 x   3.81 =         765.81
C++                           1         8        17        80 x   1.51 =         120.80
awk                           1         6        16        80 x   3.81 =         304.80
Scheme                        1         3         0        50 x   1.51 =          75.50
---------------------------------------------------------------------------------------
SUM:                       1926    123761    164586    530041 x   1.09 =      577016.31
---------------------------------------------------------------------------------------

A hint: This "standard" CLOC analysis has included all package contents files (with the exception of files generated by code-production systems such as GNU autotools). But there exists a perhaps more "realistic" alternative CLOC analysis (among others better suited for an optional codespell check rating) that tries additionally to exclude third party code but also files containing fonts, codepage or character set definitions, dictionaries, names, SVG or non-English languages.
Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  Codespell  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)