"Fossies" - the Fresh Open Source Software Archive

CLOC ("Count Lines of Code") analysis of libevent-2.1.12-stable.tar.gz (5 Jul 2020, 1100847 Bytes)

About: libevent is an event notification library. The libevent API provides a mechanism to execute a callback function when a specific event occurs on a file descriptor or after a timeout has been reached.



Fossies downloads: /linux/misclibevent-2.1.12-stable.tar.gz  (tar.bz2|tar.xz|zip)
Fossies services: Member browsing
No. of package members: 234  (221 files within 13 directories)

Histograms of CLOC analysis data of libevent-2.1.12-stable.tar.gz (y-axes: linear scale)
Histograms of CLOC analysis data of libevent-2.1.12-stable.tar.gz (y-axes: logarithm scale)

The corresponding CLOC output data:
     221 text files.
     202 unique files.                              
      37 files ignored.

github.com/AlDanial/cloc v 1.88  T=0.20 s (926.9 files/s, 471240.1 lines/s)
-------------------------------------------------------------------------------
Language          files     blank   comment      code    scale   3rd gen. equiv
-------------------------------------------------------------------------------
C                    82      9341      6678     50796 x   0.77 =       39112.92
C/C++ Header         67      2521      8567      7100 x   1.00 =        7100.00
CMake                17       541       570      2034 x   1.00 =        2034.00
m4                    7       202        38      1759 x   1.00 =        1759.00
make                  5        79       123       478 x   2.50 =        1195.00
Markdown              1        80         0       407 x   1.00 =         407.00
Python                2       367      1261       351 x   4.20 =        1474.20
Bourne Shell          2        24        15       192 x   3.81 =         731.52
sed                   1         3         5        19 x   4.00 =          76.00
-------------------------------------------------------------------------------
SUM:                184     13158     17257     63136 x   0.85 =       53889.64
-------------------------------------------------------------------------------

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)