"Fossies" - the Fresh Open Source Software Archive

CLOC ("Count Lines of Code") analysis of c-ares-1.18.1.tar.gz (27 Oct 08:07, 1560165 Bytes)

About: c-ares is a C library for asynchronous DNS requests (including name resolves).



Fossies downloads: /linux/misc/dnsc-ares-1.18.1.tar.gz  (tar.bz2|tar.xz|zip)
Fossies services: Member browsing
No. of package members: 394  (381 files within 13 directories)

Histograms of CLOC analysis data of c-ares-1.18.1.tar.gz (y-axes: linear scale)
Histograms of CLOC analysis data of c-ares-1.18.1.tar.gz (y-axes: logarithm scale)

The corresponding CLOC output data:
     308 text files.
     272 unique files.                              
     126 files ignored.

github.com/AlDanial/cloc v 1.90  T=0.20 s (904.5 files/s, 474454.6 lines/s)
-----------------------------------------------------------------------------------
Language              files     blank   comment      code    scale   3rd gen. equiv
-----------------------------------------------------------------------------------
C                        66      2010      2731     22942 x   0.77 =       17665.34
C++                      26      2869      4341     16304 x   1.51 =       24619.04
C/C++ Header             32      3931      9267     15873 x   1.00 =       15873.00
m4                       25       869      1278     10072 x   1.00 =       10072.00
CMake                    11       312       328       916 x   1.00 =         916.00
Markdown                  6       207         0       552 x   1.00 =         552.00
make                      9       103       116       251 x   2.50 =         627.50
Perl                      1        16         4        49 x   4.00 =         196.00
Windows Resource File     1         7        14        44 x   1.00 =          44.00
awk                       1         1         8        18 x   3.81 =          68.58
Bourne Shell              3         1         1         9 x   3.81 =          34.29
DOS Batch                 1         4         7         9 x   0.63 =           5.67
-----------------------------------------------------------------------------------
SUM:                    182     10330     18095     67039 x   1.05 =       70673.42
-----------------------------------------------------------------------------------

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)