"Fossies" - the Fresh Open Source Software Archive

CLOC ("Count Lines of Code") analysis of smartmontools-7.3.tar.gz (28 Feb 18:04, 1043932 Bytes)

About: smartmontools controls and monitors storage systems using the Self-Monitoring, Analysis and Reporting Technology System (SMART) built into most modern ATA and SCSI harddisks. In many cases, these utilities will provide advanced warning of disk degradation and failure.



Fossies downloads: /linux/privatsmartmontools-7.3.tar.gz  (tar.bz2|tar.xz|zip)
Fossies services: Member browsing
No. of package members: 164  (150 regular files in 14 directories)

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

The corresponding CLOC output data:
     150 text files.
     111 unique files.                              
      39 files ignored.

github.com/AlDanial/cloc v 1.92  T=0.18 s (633.6 files/s, 465603.7 lines/s)
----------------------------------------------------------------------------------
Language             files     blank   comment      code    scale   3rd gen. equiv
----------------------------------------------------------------------------------
C++                     37      5541      5092     37527 x   1.51 =       56665.77
C/C++ Header            47      1995      3748     12882 x   1.00 =       12882.00
C                        8      1094      1425      8802 x   0.77 =        6777.54
m4                       2       127       133      1122 x   1.00 =        1122.00
make                     1       185        54       906 x   2.50 =        2265.00
Bourne Shell             9        49       102       238 x   3.81 =         906.78
DOS Batch                1        30        30       142 x   0.63 =          89.46
Windows Message File     1         1        23       132 x   1.00 =         132.00
PowerShell               2        21        38        62 x   3.00 =         186.00
HTML                     1         0         0        26 x   1.90 =          49.40
XML                      1         0         5        22 x   1.90 =          41.80
Bourne Again Shell       1         4         0         6 x   3.81 =          22.86
----------------------------------------------------------------------------------
SUM:                   111      9047     10650     61867 x   1.31 =       81140.61
----------------------------------------------------------------------------------

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)