"Fossies" - the Fresh Open Source Software Archive

CLOC ("Count Lines of Code") analysis of hdparm-9.65.tar.gz (7 Sep 19:20, 140425 Bytes)

About: hdparm - get/set ATA/SATA drive parameters under Linux.



Fossies downloads: / linux / misc / hdparm-9.65.tar.gz  (tar.bz2|tar.xz|zip)
Fossies services: CLOC analysis | Meta information | Member browsing
No. of package member files: 65  (60 regular files in 5 directories)

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

The corresponding CLOC output data:
      59 text files.
      34 unique files.                              
      26 files ignored.

github.com/AlDanial/cloc v 1.94  T=0.02 s (1365.4 files/s, 429301.5 lines/s)
--------------------------------------------------------------------------------
Language           files     blank   comment      code    scale   3rd gen. equiv
--------------------------------------------------------------------------------
C                     13       639       479      6673 x   0.77 =        5138.21
Bourne Shell          10       130       241      1180 x   3.81 =        4495.80
Text                   3       140         0       550 x   0.50 =         275.00
C/C++ Header           2        39        43       322 x   1.00 =         322.00
diff                   3        11        54        90 x   1.00 =          90.00
make                   2        22        20        53 x   2.50 =         132.50
Bourne Again Shell     1         0         0         4 x   3.81 =          15.24
--------------------------------------------------------------------------------
SUM:                  34       981       837      8872 x   1.18 =       10468.75
--------------------------------------------------------------------------------

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)