"Fossies" - the Fresh Open Source Software Archive

CLOC ("Count Lines of Code") analysis of nut-2.8.0.tar.gz (5 May 14:00, 3287640 Bytes)

About: NUT (Network UPS Tools) - monitoring and administering UPS (Uninterruptible Power Supply) and PDU hardware.



Fossies downloads: / linux / misc / nut-2.8.0.tar.gz  (tar.bz2|tar.xz|zip)
Fossies services: CLOC analysis | Meta information | Member browsing
No. of package member files: 1012  (956 regular files in 56 directories)

Histograms of CLOC analysis data of nut-2.8.0.tar.gz (y-axes: linear scale)
Histograms of CLOC analysis data of nut-2.8.0.tar.gz (y-axes: logarithm scale)

The corresponding CLOC output data:
     923 text files.
     433 unique files.                              
     522 files ignored.

github.com/AlDanial/cloc v 1.92  T=0.40 s (1085.3 files/s, 408705.6 lines/s)
-------------------------------------------------------------------------------
Language          files     blank   comment      code    scale   3rd gen. equiv
-------------------------------------------------------------------------------
C                   187     20337     20643     85661 x   0.77 =       65958.97
C/C++ Header        147      1984      4924      6946 x   1.00 =        6946.00
m4                   30       642       549      6129 x   1.00 =        6129.00
Bourne Shell         19       509       808      3055 x   3.81 =       11639.55
C++                   6       477       257      2685 x   1.51 =        4054.35
make                 28       466       526      2222 x   2.50 =        5555.00
Glade                 1         6         2      1065 x   2.00 =        2130.00
Qt                    4         0         0       768 x   2.00 =        1536.00
Perl                  2       232       346       714 x   4.00 =        2856.00
SVG                   1         0         1       489 x   1.00 =         489.00
Squirrel              1       113        10       227 x   2.50 =         567.50
XSLT                  3        20        31       104 x   1.90 =         197.60
XML                   1         0         2        46 x   1.90 =          87.40
diff                  1         4        12        24 x   1.00 =          24.00
HTML                  2         1         0        21 x   1.90 =          39.90
-------------------------------------------------------------------------------
SUM:                433     24791     28111    110156 x   0.98 =      108210.27
-------------------------------------------------------------------------------

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)