"Fossies" - the Fresh Open Source Software Archive

CLOC ("Count Lines of Code") analysis of sshguard-2.4.2.tar.gz (16 Mar 04:10, 835431 Bytes)

About: sshguard is a log monitor that protects networked hosts from brute force attacks against services, most notably SSH.



Fossies downloads: /linux/miscsshguard-2.4.2.tar.gz  (tar.bz2|tar.xz|zip)
Fossies services: Member browsing
No. of package members: 86  (78 files within 8 directories)

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

The corresponding CLOC output data:
      78 text files.
      63 unique files.                              
      23 files ignored.

github.com/AlDanial/cloc v 1.88  T=0.23 s (241.8 files/s, 430500.6 lines/s)
-------------------------------------------------------------------------------
Language          files     blank   comment      code    scale   3rd gen. equiv
-------------------------------------------------------------------------------
C                    14      8956      1519     82395 x   0.77 =       63444.15
Bourne Shell         13       163       255       847 x   3.81 =        3227.07
reStructuredText      6       278        17       804 x   1.50 =        1206.00
C/C++ Header         13       201      1178       423 x   1.00 =         423.00
yacc                  1        56        74       244 x   1.51 =         368.44
lex                   1        75       110       184 x   1.00 =         184.00
make                  5        20         0        77 x   2.50 =         192.50
m4                    1         7         0        33 x   1.00 =          33.00
XML                   1         0         0        16 x   1.90 =          30.40
-------------------------------------------------------------------------------
SUM:                 55      9756      3153     85023 x   0.81 =       69108.56
-------------------------------------------------------------------------------

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)