"Fossies" - the Fresh Open Source Software Archive

CLOC ("Count Lines of Code") analysis of dnsmasq-2.82.tar.xz (19 Jul 23:59, 509904 Bytes)

About: Dnsmasq is a lightweight caching DNS forwarder and DHCP server.



Fossies downloads: /linux/misc/dnsdnsmasq-2.82.tar.xz  (tar.gz|tar.bz2|zip)
Fossies services: Member browsing
No. of package members: 178  (146 files within 32 directories)

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

The corresponding CLOC output data:
     140 text files.
     125 unique files.                              
      44 files ignored.

github.com/AlDanial/cloc v 1.86  T=0.13 s (747.6 files/s, 544613.6 lines/s)
--------------------------------------------------------------------------------
Language           files     blank   comment      code    scale   3rd gen. equiv
--------------------------------------------------------------------------------
C                      42      5978      3123     29166 x   0.77 =       22457.82
PO File                10      5554      6173     13508 x   1.50 =       20262.00
C/C++ Header            8       297       311      1965 x   1.00 =        1965.00
diff                    7        66       415       801 x   1.00 =         801.00
Perl                    2        89       405       363 x   4.00 =        1452.00
Bourne Shell           11        83       123       350 x   3.81 =        1333.50
HTML                    2        37         0       295 x   1.90 =         560.50
SVG                     1         0         0       157 x   1.00 =         157.00
Python                  2        17        18       138 x   4.20 =         579.60
make                    4        45        25       136 x   2.50 =         340.00
Bourne Again Shell      3        24        29        91 x   3.81 =         346.71
XML                     3        11         1        86 x   1.90 =         163.40
CSS                     1        10         2        45 x   1.00 =          45.00
--------------------------------------------------------------------------------
SUM:                  96     12211     10625     47101 x   1.07 =       50463.53
--------------------------------------------------------------------------------

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)