"Fossies" - the Fresh Open Source Software Archive

CLOC ("Count Lines of Code") analysis of xz-5.2.5.tar.xz (17 Mar 19:46, 1148824 Bytes)

About: XZ Utils is free general-purpose data compression software with high compression ratio (successor to LZMA Utils).



Fossies downloads: /linux/miscxz-5.2.5.tar.xz  (tar.gz|tar.bz2|zip)
Fossies services: Doxygen docs | Diffs report | CLOC analysis | Member browsing
No. of package members: 529  (486 files within 43 directories)

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

The corresponding CLOC output data:
     399 text files.
     362 unique files.                              
     111 files ignored.

github.com/AlDanial/cloc v 1.86  T=0.52 s (554.7 files/s, 138001.1 lines/s)
-----------------------------------------------------------------------------------
Language              files     blank   comment      code    scale   3rd gen. equiv
-----------------------------------------------------------------------------------
C                        122      5494      6013     18412 x   0.77 =       14177.24
PO File                   13      2580      3982     10715 x   1.50 =       16072.50
C/C++ Header              91      1964      5944      6173 x   1.00 =        6173.00
m4                        22       393       302      4786 x   1.00 =        4786.00
XML                        6         0         0      2213 x   1.90 =        4204.70
make                      13       130       137       694 x   2.50 =        1735.00
Bourne Shell               8        93       139       351 x   3.81 =        1337.31
Bourne Again Shell         3        45       125       248 x   3.81 =         944.88
Assembly                   2        70       284       237 x   0.25 =          59.25
Windows Resource File      6         9        36        65 x   1.00 =          65.00
sed                        2         0         0        16 x   4.00 =          64.00
-----------------------------------------------------------------------------------
SUM:                    288     10778     16962     43910 x   1.13 =       49618.88
-----------------------------------------------------------------------------------

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)